{"id":363,"date":"2021-09-07T23:31:18","date_gmt":"2021-09-07T23:31:18","guid":{"rendered":"http:\/\/www.shacarah.com\/main\/?p=363"},"modified":"2021-09-07T23:38:35","modified_gmt":"2021-09-07T23:38:35","slug":"drawing-a-send-timeline-salesforce-marketing-cloud-api","status":"publish","type":"post","link":"https:\/\/www.shacarah.com\/main\/html5-canvas\/drawing-a-send-timeline-salesforce-marketing-cloud-api\/","title":{"rendered":"Drawing a Send Timeline \u2013 Salesforce Marketing Cloud API"},"content":{"rendered":"\n<p>The&nbsp;<a rel=\"noreferrer noopener\" href=\"https:\/\/developer.salesforce.com\/docs\/atlas.en-us.noversion.mc-apis.meta\/mc-apis\/send.htm\" target=\"_blank\">Send object<\/a>&nbsp;can be accessed through the SOAP API. The timeline is drawn with JS and Canvas.<\/p>\n\n\n\n<p>The Send API object contains more than just the sent count it contains several other aggregate metrics for jobs that aren\u2019t available through any other means. My personal favorite is NumberErrored, this would display the number of subscribers who were were errored due to raising errors with AMPScript.<\/p>\n\n\n\n<p>Any activity with a start \/ end date can be turned into a timeline, here I\u2019m using the delivered count but any metric could be used or several metrics could be used.   <\/p>\n\n\n\n<p>I conceptualized and built this to proactively solve client issues.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Send Timeline Snapshot<ul><li>Performance<\/li><li>Overlap<\/li><li>Complete Sent Count<\/li><li>In progress Sent Count<\/li><\/ul><\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"537\" src=\"http:\/\/www.shacarah.com\/main\/wp-content\/uploads\/2021\/09\/A7657B77-67D1-484F-B455-9B3D564DE9E6-scaled-e1631056147422-1024x537.jpeg\" alt=\"\" class=\"wp-image-364\" srcset=\"https:\/\/www.shacarah.com\/main\/wp-content\/uploads\/2021\/09\/A7657B77-67D1-484F-B455-9B3D564DE9E6-scaled-e1631056147422-1024x537.jpeg 1024w, https:\/\/www.shacarah.com\/main\/wp-content\/uploads\/2021\/09\/A7657B77-67D1-484F-B455-9B3D564DE9E6-scaled-e1631056147422-300x157.jpeg 300w, https:\/\/www.shacarah.com\/main\/wp-content\/uploads\/2021\/09\/A7657B77-67D1-484F-B455-9B3D564DE9E6-scaled-e1631056147422-768x403.jpeg 768w, https:\/\/www.shacarah.com\/main\/wp-content\/uploads\/2021\/09\/A7657B77-67D1-484F-B455-9B3D564DE9E6-scaled-e1631056147422-1536x805.jpeg 1536w, https:\/\/www.shacarah.com\/main\/wp-content\/uploads\/2021\/09\/A7657B77-67D1-484F-B455-9B3D564DE9E6-scaled-e1631056147422-850x446.jpeg 850w, https:\/\/www.shacarah.com\/main\/wp-content\/uploads\/2021\/09\/A7657B77-67D1-484F-B455-9B3D564DE9E6-scaled-e1631056147422.jpeg 1881w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The&nbsp;Send object&nbsp;can be accessed through the SOAP API. The timeline is drawn with JS and Canvas. The Send API object contains more than just the sent count it contains several other aggregate metrics for jobs that aren\u2019t available through any other means. My personal favorite is NumberErrored, this would display the number of subscribers who&#8230;<\/p>\n","protected":false},"author":1,"featured_media":354,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15,8,14,13,10],"tags":[],"class_list":["post-363","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-api","category-html5-canvas","category-marketing-cloud","category-salesforce","category-script-drawing"],"_links":{"self":[{"href":"https:\/\/www.shacarah.com\/main\/wp-json\/wp\/v2\/posts\/363"}],"collection":[{"href":"https:\/\/www.shacarah.com\/main\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.shacarah.com\/main\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.shacarah.com\/main\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.shacarah.com\/main\/wp-json\/wp\/v2\/comments?post=363"}],"version-history":[{"count":2,"href":"https:\/\/www.shacarah.com\/main\/wp-json\/wp\/v2\/posts\/363\/revisions"}],"predecessor-version":[{"id":367,"href":"https:\/\/www.shacarah.com\/main\/wp-json\/wp\/v2\/posts\/363\/revisions\/367"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.shacarah.com\/main\/wp-json\/wp\/v2\/media\/354"}],"wp:attachment":[{"href":"https:\/\/www.shacarah.com\/main\/wp-json\/wp\/v2\/media?parent=363"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.shacarah.com\/main\/wp-json\/wp\/v2\/categories?post=363"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.shacarah.com\/main\/wp-json\/wp\/v2\/tags?post=363"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}