Skip to content

Instantly share code, notes, and snippets.

@emoryy
Created July 22, 2017 11:12
Show Gist options
  • Save emoryy/4c5854086b0e36d01f840776c5e05132 to your computer and use it in GitHub Desktop.
Save emoryy/4c5854086b0e36d01f840776c5e05132 to your computer and use it in GitHub Desktop.
HammyAdmin3 API
Kérés:
GET /api/HammyQueryAPI/messages?limit=10&messageTypeId%5B%5D=PROGRAM.HOME.BERKSHIRE&messageTypeId%5B%5D=PROGRAM.CROSS-PLATFORM&offset=0&sort=createdAt
Válasz:
{
"data": [
{
"type": "messages",
"id": "26",
"attributes": {
"properties": [
],
"body": "Minus possimus esse qui non sunt ullam dolorum ullam.\n\n Minus saepe rerum. Nihil recusandae quidem omnis mollitia numquam maiores nostrum. Quam eum et alias non voluptatum ipsum aut soluta. Iusto aut sint asperiores. Ut necessitatibus eos nulla iusto. Maxime laudantium et id aut aut qui animi est. Eaque quod sed perferendis velit.\n\n Odit modi et. At possimus id.\n ",
"subject": "Sit voluptatem voluptatem.",
"reply-to-name": "Rogers Strosin",
"reply-to-address": "elouise.lindgren@gmail.com",
"from-name": "Mitchell Swift",
"from-address": "dangelo32@yahoo.com",
"permission-list-list": null,
"permission-show-list": null,
"sent-at": "2017-07-11T13:49:54.908Z",
"created-at": "2016-09-15T15:52:24.445Z",
"archiving-expected": false,
"recipient-name": "Keira Leuschke DDS",
"recipient-address": "addie.davis88@gmail.com",
"actual-status": "DELIVERY_SKIPPED",
"message-id": 494
},
"relationships": {
"message-type": {
"data": {
"type": "message-types",
"id": "PROGRAM.HOME.BERKSHIRE"
}
},
"attachments": {
"data": [
{
"type": "attachments",
"id": "442"
}
]
}
}
},
{
"type": "messages",
"id": "42",
"attributes": {
"bound-mail-text": "Exercitationem perferendis sequi eos delectus dolorem asperiores dolorum ut. Voluptatibus magni sit nostrum quo voluptatem. Quas non suscipit sed quibusdam. Quo et dolor officiis dolores fugiat modi perferendis repellat.\n \rHarum cupiditate aut nesciunt reprehenderit natus et iure nobis voluptatem. Delectus laboriosam doloremque dolores. Autem ipsa suscipit omnis non suscipit ipsa velit dolorem distinctio. Dolores ut est sit quod omnis exercitationem. Optio ut autem error odit et aliquam harum qui.\n \rUllam ut aut enim aliquam quia sint mollitia illum. Voluptates qui expedita eius ut. Perspiciatis sit quia excepturi.",
"bound-reason-description": "Aut aut velit fuga molestiae ut.",
"bound-reason-code": "NO_ROUTE",
"bounced-at": "2016-08-16T21:24:50.291Z",
"properties": [
],
"html-body": "\n<html>\n <head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\n <title></title>\n <style type=\"text/css\">\n /* Client-specific Styles */\n #outlook a{padding:0;} /* Force Outlook to provide a \"view in browser\" button. */\n body{width:100% !important;} .ReadMsgBody{width:100%;} .ExternalClass{width:100%;} /* Force Hotmail to display emails at full width */\n body{-webkit-text-size-adjust:none;} /* Prevent Webkit platforms from changing default text sizes. */\n /* Reset Styles */\n body{margin:0; padding:0;}\n img{border:0; height:auto; line-height:100%; outline:none; text-decoration:none;}\n table td{border-collapse:collapse;}\n #backgroundTable{height:100% !important; margin:0; padding:0; width:100% !important;}\n /* Template Styles */\n /* ////////// STANDARD STYLING: COMMON PAGE ELEMENTS ////////// */\n /**\n * @tab Page\n * @section background color\n * @tip Set the background color for your email. You may want to choose one that matches your company's branding.\n * @theme page\n */\n body, #backgroundTable{\n /*@editable*/ background-color:#FAFAFA;\n }\n /**\n * @tab Page\n * @section email border\n * @tip Set the border for your email.\n */\n #templateContainer{\n /*@editable*/ border: 1px solid #DDDDDD;\n }\n /**\n * @tab Page\n * @section heading 1\n * @tip Set the styling for all first-level headings in your emails. These should be the largest of your headings.\n * @style heading 1\n */\n h1, .h1{\n /*@editable*/ color:#202020;\n display:block;\n /*@editable*/ font-family:Arial;\n /*@editable*/ font-size:34px;\n /*@editable*/ font-weight:bold;\n /*@editable*/ line-height:100%;\n margin-top:0;\n margin-right:0;\n margin-bottom:10px;\n margin-left:0;\n /*@editable*/ text-align:left;\n }\n /**\n * @tab Page\n * @section heading 2\n * @tip Set the styling for all second-level headings in your emails.\n * @style heading 2\n */\n h2, .h2{\n /*@editable*/ color:#202020;\n display:block;\n /*@editable*/ font-family:Arial;\n /*@editable*/ font-size:30px;\n /*@editable*/ font-weight:bold;\n /*@editable*/ line-height:100%;\n margin-top:0;\n margin-right:0;\n margin-bottom:10px;\n margin-left:0;\n /*@editable*/ text-align:left;\n }\n /**\n * @tab Page\n * @section heading 3\n * @tip Set the styling for all third-level headings in your emails.\n * @style heading 3\n */\n h3, .h3{\n /*@editable*/ color:#202020;\n display:block;\n /*@editable*/ font-family:Arial;\n /*@editable*/ font-size:26px;\n /*@editable*/ font-weight:bold;\n /*@editable*/ line-height:100%;\n margin-top:0;\n margin-right:0;\n margin-bottom:10px;\n margin-left:0;\n /*@editable*/ text-align:left;\n }\n /**\n * @tab Page\n * @section heading 4\n * @tip Set the styling for all fourth-level headings in your emails. These should be the smallest of your headings.\n * @style heading 4\n */\n h4, .h4{\n /*@editable*/ color:#202020;\n display:block;\n /*@editable*/ font-family:Arial;\n /*@editable*/ font-size:22px;\n /*@editable*/ font-weight:bold;\n /*@editable*/ line-height:100%;\n margin-top:0;\n margin-right:0;\n margin-bottom:10px;\n margin-left:0;\n /*@editable*/ text-align:left;\n }\n /* ////////// STANDARD STYLING: PREHEADER ////////// */\n /**\n * @tab Header\n * @section preheader style\n * @tip Set the background color for your email's preheader area.\n * @theme page\n */\n #templatePreheader{\n /*@editable*/ background-color:#FAFAFA;\n }\n /**\n * @tab Header\n * @section preheader text\n * @tip Set the styling for your email's preheader text. Choose a size and color that is easy to read.\n */\n .preheaderContent div{\n /*@editable*/ color:#505050;\n /*@editable*/ font-family:Arial;\n /*@editable*/ font-size:10px;\n /*@editable*/ line-height:100%;\n /*@editable*/ text-align:left;\n }\n /**\n * @tab Header\n * @section preheader link\n * @tip Set the styling for your email's preheader links. Choose a color that helps them stand out from your text.\n */\n .preheaderContent div a:link, .preheaderContent div a:visited, /* Yahoo! Mail Override */ .preheaderContent div a .yshortcuts /* Yahoo! Mail Override */{\n /*@editable*/ color:#336699;\n /*@editable*/ font-weight:normal;\n /*@editable*/ text-decoration:underline;\n }\n /* ////////// STANDARD STYLING: HEADER ////////// */\n /**\n * @tab Header\n * @section header style\n * @tip Set the background color and border for your email's header area.\n * @theme header\n */\n #templateHeader{\n /*@editable*/ /*background-color:#FFFFFF*/;\n /*@editable*/ border-bottom:0;\n }\n /**\n * @tab Header\n * @section header text\n * @tip Set the styling for your email's header text. Choose a size and color that is easy to read.\n */\n .headerContent{\n /*@editable*/ color:#202020;\n /*@editable*/ font-family:Arial;\n /*@editable*/ font-size:34px;\n /*@editable*/ font-weight:bold;\n /*@editable*/ line-height:100%;\n /*@editable*/ padding:0;\n /*@editable*/ text-align:center;\n /*@editable*/ vertical-align:middle;\n }\n /**\n * @tab Header\n * @section header link\n * @tip Set the styling for your email's header links. Choose a color that helps them stand out from your text.\n */\n .headerContent a:link, .headerContent a:visited, /* Yahoo! Mail Override */ .headerContent a .yshortcuts /* Yahoo! Mail Override */{\n /*@editable*/ color:#336699;\n /*@editable*/ font-weight:normal;\n /*@editable*/ text-decoration:underline;\n }\n #headerImage{\n height:auto;\n max-width:600px;\n }\n /* ////////// STANDARD STYLING: MAIN BODY ////////// */\n /**\n * @tab Body\n * @section body style\n * @tip Set the background color for your email's body area.\n */\n #templateContainer/*, .bodyContent*/{\n /*@editable*/ background-color:#FFFFFF;\n }\n /**\n * @tab Body\n * @section body text\n * @tip Set the styling for your email's main content text. Choose a size and color that is easy to read.\n * @theme main\n */\n .bodyContent div{\n /*@editable*/ color:#505050;\n /*@editable*/ font-family:Arial;\n /*@editable*/ font-size:14px;\n /*@editable*/ /*line-height:150%;*/\n /*@editable*/ text-align:left;\n }\n /**\n * @tab Body\n * @section body link\n * @tip Set the styling for your email's main content links. Choose a color that helps them stand out from your text.\n */\n .bodyContent div a:link, .bodyContent div a:visited, /* Yahoo! Mail Override */ .bodyContent div a .yshortcuts /* Yahoo! Mail Override */{\n /*@editable*/ color:#336699;\n /*@editable*/ font-weight:normal;\n /*@editable*/ text-decoration:underline;\n }\n .bodyContent img{\n display:inline;\n height:auto;\n }\n /* ////////// STANDARD STYLING: FOOTER ////////// */\n /**\n * @tab Footer\n * @section footer style\n * @tip Set the background color and top border for your email's footer area.\n * @theme footer\n */\n #templateFooter{\n /*@editable*/ /*background-color:#FFFFFF;*/\n /*@editable*/ border-top:0;\n }\n /**\n * @tab Footer\n * @section footer text\n * @tip Set the styling for your email's footer text. Choose a size and color that is easy to read.\n * @theme footer\n */\n .footerContent div{\n /*@editable*/ color:#707070;\n /*@editable*/ font-family:Arial;\n /*@editable*/ font-size:12px;\n /*@editable*/ line-height:125%;\n /*@editable*/ text-align:left;\n }\n /**\n * @tab Footer\n * @section footer link\n * @tip Set the styling for your email's footer links. Choose a color that helps them stand out from your text.\n */\n .footerContent div a:link, .footerContent div a:visited, /* Yahoo! Mail Override */ .footerContent div a .yshortcuts /* Yahoo! Mail Override */{\n /*@editable*/ color:#336699;\n /*@editable*/ font-weight:normal;\n /*@editable*/ text-decoration:underline;\n }\n .footerContent img{\n display:inline;\n }\n /**\n * @tab Footer\n * @section social bar style\n * @tip Set the background color and border for your email's footer social bar.\n * @theme footer\n */\n #social{\n /*@editable*/ background-color:#FAFAFA;\n /*@editable*/ border:0;\n }\n /**\n * @tab Footer\n * @section social bar style\n * @tip Set the background color and border for your email's footer social bar.\n */\n #social div{\n /*@editable*/ text-align:center;\n }\n /**\n * @tab Footer\n * @section utility bar style\n * @tip Set the background color and border for your email's footer utility bar.\n * @theme footer\n */\n #utility{\n /*@editable*/ /*background-color:#FFFFFF;*/\n /*@editable*/ border:0;\n }\n /**\n * @tab Footer\n * @section utility bar style\n * @tip Set the background color and border for your email's footer utility bar.\n */\n #utility div{\n /*@editable*/ text-align:center;\n }\n #monkeyRewards img{\n max-width:190px;\n }\n </style>\n </head>\n <body leftmargin=\"0\" marginwidth=\"0\" topmargin=\"0\" marginheight=\"0\" offset=\"0\">\n <center>\n <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" height=\"100%\" width=\"100%\" id=\"backgroundTable\" style=\"background-color: #FAFAFA;\">\n <tbody>\n <tr>\n <td align=\"center\" valign=\"top\">\n <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"600\" id=\"templateContainer\" style=\"border: 1px solid #DDDDDD; background-color: #FFFFFF;\">\n <tbody>\n <tr>\n <td align=\"center\" valign=\"top\">\n <!-- // Begin Template Header \\ -->\n <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"600\" id=\"templateHeader\">\n <tbody>\n <tr>\n <td class=\"headerContent\">\n <div class=\"uploadable-part\"><img src=\"/hammyEdm/assets/2\" border=\"0\" style=\"display: block;\" width=\"600\"></div>\n </td>\n </tr>\n </tbody>\n </table>\n <!-- // End Template Header \\ -->\n </td>\n </tr>\n <tr>\n <td align=\"center\" valign=\"top\">\n <!-- // Begin Template Body \\ -->\n <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"600\" id=\"templateBody\">\n <tbody>\n <tr>\n <td valign=\"top\" class=\"bodyContent\">\n <!-- // Begin Module: Standard Postcard Content \\ -->\n <table border=\"0\" cellpadding=\"20\" cellspacing=\"0\" width=\"100%\">\n <tbody>\n <tr>\n <td valign=\"top\">\n <div class=\"editable-part\">\n <h1 class=\"h1\">Heading 1</h1>\n </div>\n <div class=\"uploadable-part\"><img src=\"/hammyEdm/assets/3\" border=\"0\" style=\"display: block;\" width=\"560\"></div>\n <div class=\"editable-part\">\n <h1 class=\"h1\">Heading 1</h1>\n <h2 class=\"h2\">Heading 2</h2>\n <h3 class=\"h3\">Heading 3</h3>\n <h4 class=\"h4\">Heading 4</h4>\n <strong>Getting started:</strong> Customize your template by clicking on the style editor tabs up above. Set your fonts, colors, and styles. After setting your styling is all done you can click here in this area, delete the text, and start adding your own awesome content!\n <br>\n <br>\n After you enter your content, highlight the text you want to style and select the options you set in the style editor in the \"styles\" drop down box. Want to <a href=\"http://www.mailchimp.com/kb/article/im-using-the-style-designer-and-i-cant-get-my-formatting-to-change\" target=\"_blank\">get rid of styling on a bit of text</a>, but having trouble doing it? Just use the \"remove formatting\" button to strip the text of any formatting and reset your style.\n <br>\n <br>\n <strong>Repeatable content blocks:</strong> Repeatable sections are noted with plus and minus signs so that you can add and subtract content blocks. You can also <a href=\"http://www.mailchimp.com/kb/article/how-do-i-work-with-repeatable-content-blocks\" target=\"_blank\">get a little fancy</a>: repeat blocks and remove all text to make image \"gallery\" sections, or do the opposite and remove images for text-only blocks!\n </div>\n </td>\n </tr>\n </tbody>\n </table>\n <!-- // End Module: Standard Postcard Content \\ -->\n </td>\n </tr>\n </tbody>\n </table>\n <!-- // End Template Body \\ -->\n </td>\n </tr>\n <tr>\n <td align=\"center\" valign=\"top\">\n <!-- // Begin Template Footer \\ -->\n <table border=\"0\" cellpadding=\"10\" cellspacing=\"0\" width=\"600\" id=\"templateFooter\">\n <tbody>\n <tr>\n <td valign=\"top\" class=\"footerContent\">\n <!-- // Begin Module: Standard Footer \\ -->\n <table border=\"0\" cellpadding=\"10\" cellspacing=\"0\" width=\"100%\">\n <tbody>\n <tr>\n <td colspan=\"2\" valign=\"middle\" id=\"utility\">\n <div>\n Ha nem szeretne tőlünk ilyen tartalmú leveleket kapni, kérjük kattintson a\n &nbsp;<a href=\"unsubscribe\">leiratkozás</a> linkre.\n </div>\n </td>\n </tr>\n </tbody>\n </table>\n <!-- // End Module: Standard Footer \\ -->\n </td>\n </tr>\n </tbody>\n </table>\n <!-- // End Template Footer \\ -->\n </td>\n </tr>\n </tbody>\n </table>\n <br>\n </td>\n </tr>\n </tbody>\n </table>\n </center>\n </body>\n</html>\n",
"body": "Ut sed iure earum.\n\n Qui dignissimos cum ad cum. Blanditiis in sit qui dolorem. Dolor distinctio numquam. Natus et voluptatem et et corrupti ab error quo aperiam. Eligendi sint quibusdam molestiae amet. Quidem nesciunt iste. Consequatur iure commodi consequuntur illum cupiditate et et labore. Qui molestias nemo ducimus dolorum. Perferendis non fugit amet totam.\n\n Id id at consequatur. Assumenda possimus incidunt sequi.\n ",
"subject": "Tempore autem nobis porro amet.",
"reply-to-name": "Joy Mitchell",
"reply-to-address": "linwood_hickle58@gmail.com",
"from-name": "Coty Pfeffer",
"from-address": "herminia_torphy@yahoo.com",
"permission-list-list": null,
"permission-show-list": null,
"sent-at": "2017-02-18T14:29:21.353Z",
"created-at": "2016-09-20T06:04:07.971Z",
"archiving-expected": false,
"recipient-name": "Zander Terry",
"recipient-address": "aida_balistreri13@gmail.com",
"actual-status": "FAILED",
"message-id": 242
},
"relationships": {
"message-type": {
"data": {
"type": "message-types",
"id": "PROGRAM.CROSS-PLATFORM"
}
},
"attachments": {
"data": [
{
"type": "attachments",
"id": "353"
},
{
"type": "attachments",
"id": "529"
},
{
"type": "attachments",
"id": "503"
}
]
}
}
},
{
"type": "messages",
"id": "27",
"attributes": {
"properties": [
],
"body": "Nisi accusantium quia aliquid consequatur et qui.\n\n Id iure est. Aut in sit quis tempore ad vitae eligendi vel unde. Ullam quasi animi velit atque ducimus eos. Qui occaecati quos dolor totam ut at. Laudantium architecto nihil dolorem. Pariatur aut non nostrum. Commodi accusantium saepe suscipit a laudantium. Sapiente ut accusamus magnam quasi et nihil sequi minima. Et deleniti vero est maxime et. Consequuntur dolorem minima in exercitationem ut provident porro.\n\n Et aliquam adipisci laudantium quos.\n ",
"subject": "Sit itaque omnis aut.",
"reply-to-name": "Luz DuBuque",
"reply-to-address": "helena_mcglynn99@yahoo.com",
"from-name": "Leila Wisozk",
"from-address": "patricia_labadie@hotmail.com",
"permission-list-list": null,
"permission-show-list": null,
"sent-at": "2017-06-11T16:31:39.609Z",
"created-at": "2016-11-13T04:08:27.144Z",
"archiving-expected": false,
"recipient-name": "Ora Pacocha",
"recipient-address": "hortense_stark@hotmail.com",
"actual-status": "LEISURE",
"message-id": 362
},
"relationships": {
"message-type": {
"data": {
"type": "message-types",
"id": "PROGRAM.HOME.BERKSHIRE"
}
},
"attachments": {
"data": [
{
"type": "attachments",
"id": "725"
}
]
}
}
},
{
"type": "messages",
"id": "30",
"attributes": {
"properties": [
],
"html-body": "\n<html>\n <head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\n <title></title>\n <style type=\"text/css\">\n /* Client-specific Styles */\n #outlook a{padding:0;} /* Force Outlook to provide a \"view in browser\" button. */\n body{width:100% !important;} .ReadMsgBody{width:100%;} .ExternalClass{width:100%;} /* Force Hotmail to display emails at full width */\n body{-webkit-text-size-adjust:none;} /* Prevent Webkit platforms from changing default text sizes. */\n /* Reset Styles */\n body{margin:0; padding:0;}\n img{border:0; height:auto; line-height:100%; outline:none; text-decoration:none;}\n table td{border-collapse:collapse;}\n #backgroundTable{height:100% !important; margin:0; padding:0; width:100% !important;}\n /* Template Styles */\n /* ////////// STANDARD STYLING: COMMON PAGE ELEMENTS ////////// */\n /**\n * @tab Page\n * @section background color\n * @tip Set the background color for your email. You may want to choose one that matches your company's branding.\n * @theme page\n */\n body, #backgroundTable{\n /*@editable*/ background-color:#FAFAFA;\n }\n /**\n * @tab Page\n * @section email border\n * @tip Set the border for your email.\n */\n #templateContainer{\n /*@editable*/ border: 1px solid #DDDDDD;\n }\n /**\n * @tab Page\n * @section heading 1\n * @tip Set the styling for all first-level headings in your emails. These should be the largest of your headings.\n * @style heading 1\n */\n h1, .h1{\n /*@editable*/ color:#202020;\n display:block;\n /*@editable*/ font-family:Arial;\n /*@editable*/ font-size:34px;\n /*@editable*/ font-weight:bold;\n /*@editable*/ line-height:100%;\n margin-top:0;\n margin-right:0;\n margin-bottom:10px;\n margin-left:0;\n /*@editable*/ text-align:left;\n }\n /**\n * @tab Page\n * @section heading 2\n * @tip Set the styling for all second-level headings in your emails.\n * @style heading 2\n */\n h2, .h2{\n /*@editable*/ color:#202020;\n display:block;\n /*@editable*/ font-family:Arial;\n /*@editable*/ font-size:30px;\n /*@editable*/ font-weight:bold;\n /*@editable*/ line-height:100%;\n margin-top:0;\n margin-right:0;\n margin-bottom:10px;\n margin-left:0;\n /*@editable*/ text-align:left;\n }\n /**\n * @tab Page\n * @section heading 3\n * @tip Set the styling for all third-level headings in your emails.\n * @style heading 3\n */\n h3, .h3{\n /*@editable*/ color:#202020;\n display:block;\n /*@editable*/ font-family:Arial;\n /*@editable*/ font-size:26px;\n /*@editable*/ font-weight:bold;\n /*@editable*/ line-height:100%;\n margin-top:0;\n margin-right:0;\n margin-bottom:10px;\n margin-left:0;\n /*@editable*/ text-align:left;\n }\n /**\n * @tab Page\n * @section heading 4\n * @tip Set the styling for all fourth-level headings in your emails. These should be the smallest of your headings.\n * @style heading 4\n */\n h4, .h4{\n /*@editable*/ color:#202020;\n display:block;\n /*@editable*/ font-family:Arial;\n /*@editable*/ font-size:22px;\n /*@editable*/ font-weight:bold;\n /*@editable*/ line-height:100%;\n margin-top:0;\n margin-right:0;\n margin-bottom:10px;\n margin-left:0;\n /*@editable*/ text-align:left;\n }\n /* ////////// STANDARD STYLING: PREHEADER ////////// */\n /**\n * @tab Header\n * @section preheader style\n * @tip Set the background color for your email's preheader area.\n * @theme page\n */\n #templatePreheader{\n /*@editable*/ background-color:#FAFAFA;\n }\n /**\n * @tab Header\n * @section preheader text\n * @tip Set the styling for your email's preheader text. Choose a size and color that is easy to read.\n */\n .preheaderContent div{\n /*@editable*/ color:#505050;\n /*@editable*/ font-family:Arial;\n /*@editable*/ font-size:10px;\n /*@editable*/ line-height:100%;\n /*@editable*/ text-align:left;\n }\n /**\n * @tab Header\n * @section preheader link\n * @tip Set the styling for your email's preheader links. Choose a color that helps them stand out from your text.\n */\n .preheaderContent div a:link, .preheaderContent div a:visited, /* Yahoo! Mail Override */ .preheaderContent div a .yshortcuts /* Yahoo! Mail Override */{\n /*@editable*/ color:#336699;\n /*@editable*/ font-weight:normal;\n /*@editable*/ text-decoration:underline;\n }\n /* ////////// STANDARD STYLING: HEADER ////////// */\n /**\n * @tab Header\n * @section header style\n * @tip Set the background color and border for your email's header area.\n * @theme header\n */\n #templateHeader{\n /*@editable*/ /*background-color:#FFFFFF*/;\n /*@editable*/ border-bottom:0;\n }\n /**\n * @tab Header\n * @section header text\n * @tip Set the styling for your email's header text. Choose a size and color that is easy to read.\n */\n .headerContent{\n /*@editable*/ color:#202020;\n /*@editable*/ font-family:Arial;\n /*@editable*/ font-size:34px;\n /*@editable*/ font-weight:bold;\n /*@editable*/ line-height:100%;\n /*@editable*/ padding:0;\n /*@editable*/ text-align:center;\n /*@editable*/ vertical-align:middle;\n }\n /**\n * @tab Header\n * @section header link\n * @tip Set the styling for your email's header links. Choose a color that helps them stand out from your text.\n */\n .headerContent a:link, .headerContent a:visited, /* Yahoo! Mail Override */ .headerContent a .yshortcuts /* Yahoo! Mail Override */{\n /*@editable*/ color:#336699;\n /*@editable*/ font-weight:normal;\n /*@editable*/ text-decoration:underline;\n }\n #headerImage{\n height:auto;\n max-width:600px;\n }\n /* ////////// STANDARD STYLING: MAIN BODY ////////// */\n /**\n * @tab Body\n * @section body style\n * @tip Set the background color for your email's body area.\n */\n #templateContainer/*, .bodyContent*/{\n /*@editable*/ background-color:#FFFFFF;\n }\n /**\n * @tab Body\n * @section body text\n * @tip Set the styling for your email's main content text. Choose a size and color that is easy to read.\n * @theme main\n */\n .bodyContent div{\n /*@editable*/ color:#505050;\n /*@editable*/ font-family:Arial;\n /*@editable*/ font-size:14px;\n /*@editable*/ /*line-height:150%;*/\n /*@editable*/ text-align:left;\n }\n /**\n * @tab Body\n * @section body link\n * @tip Set the styling for your email's main content links. Choose a color that helps them stand out from your text.\n */\n .bodyContent div a:link, .bodyContent div a:visited, /* Yahoo! Mail Override */ .bodyContent div a .yshortcuts /* Yahoo! Mail Override */{\n /*@editable*/ color:#336699;\n /*@editable*/ font-weight:normal;\n /*@editable*/ text-decoration:underline;\n }\n .bodyContent img{\n display:inline;\n height:auto;\n }\n /* ////////// STANDARD STYLING: FOOTER ////////// */\n /**\n * @tab Footer\n * @section footer style\n * @tip Set the background color and top border for your email's footer area.\n * @theme footer\n */\n #templateFooter{\n /*@editable*/ /*background-color:#FFFFFF;*/\n /*@editable*/ border-top:0;\n }\n /**\n * @tab Footer\n * @section footer text\n * @tip Set the styling for your email's footer text. Choose a size and color that is easy to read.\n * @theme footer\n */\n .footerContent div{\n /*@editable*/ color:#707070;\n /*@editable*/ font-family:Arial;\n /*@editable*/ font-size:12px;\n /*@editable*/ line-height:125%;\n /*@editable*/ text-align:left;\n }\n /**\n * @tab Footer\n * @section footer link\n * @tip Set the styling for your email's footer links. Choose a color that helps them stand out from your text.\n */\n .footerContent div a:link, .footerContent div a:visited, /* Yahoo! Mail Override */ .footerContent div a .yshortcuts /* Yahoo! Mail Override */{\n /*@editable*/ color:#336699;\n /*@editable*/ font-weight:normal;\n /*@editable*/ text-decoration:underline;\n }\n .footerContent img{\n display:inline;\n }\n /**\n * @tab Footer\n * @section social bar style\n * @tip Set the background color and border for your email's footer social bar.\n * @theme footer\n */\n #social{\n /*@editable*/ background-color:#FAFAFA;\n /*@editable*/ border:0;\n }\n /**\n * @tab Footer\n * @section social bar style\n * @tip Set the background color and border for your email's footer social bar.\n */\n #social div{\n /*@editable*/ text-align:center;\n }\n /**\n * @tab Footer\n * @section utility bar style\n * @tip Set the background color and border for your email's footer utility bar.\n * @theme footer\n */\n #utility{\n /*@editable*/ /*background-color:#FFFFFF;*/\n /*@editable*/ border:0;\n }\n /**\n * @tab Footer\n * @section utility bar style\n * @tip Set the background color and border for your email's footer utility bar.\n */\n #utility div{\n /*@editable*/ text-align:center;\n }\n #monkeyRewards img{\n max-width:190px;\n }\n </style>\n </head>\n <body leftmargin=\"0\" marginwidth=\"0\" topmargin=\"0\" marginheight=\"0\" offset=\"0\">\n <center>\n <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" height=\"100%\" width=\"100%\" id=\"backgroundTable\" style=\"background-color: #FAFAFA;\">\n <tbody>\n <tr>\n <td align=\"center\" valign=\"top\">\n <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"600\" id=\"templateContainer\" style=\"border: 1px solid #DDDDDD; background-color: #FFFFFF;\">\n <tbody>\n <tr>\n <td align=\"center\" valign=\"top\">\n <!-- // Begin Template Header \\ -->\n <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"600\" id=\"templateHeader\">\n <tbody>\n <tr>\n <td class=\"headerContent\">\n <div class=\"uploadable-part\"><img src=\"/hammyEdm/assets/2\" border=\"0\" style=\"display: block;\" width=\"600\"></div>\n </td>\n </tr>\n </tbody>\n </table>\n <!-- // End Template Header \\ -->\n </td>\n </tr>\n <tr>\n <td align=\"center\" valign=\"top\">\n <!-- // Begin Template Body \\ -->\n <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"600\" id=\"templateBody\">\n <tbody>\n <tr>\n <td valign=\"top\" class=\"bodyContent\">\n <!-- // Begin Module: Standard Postcard Content \\ -->\n <table border=\"0\" cellpadding=\"20\" cellspacing=\"0\" width=\"100%\">\n <tbody>\n <tr>\n <td valign=\"top\">\n <div class=\"editable-part\">\n <h1 class=\"h1\">Heading 1</h1>\n </div>\n <div class=\"uploadable-part\"><img src=\"/hammyEdm/assets/3\" border=\"0\" style=\"display: block;\" width=\"560\"></div>\n <div class=\"editable-part\">\n <h1 class=\"h1\">Heading 1</h1>\n <h2 class=\"h2\">Heading 2</h2>\n <h3 class=\"h3\">Heading 3</h3>\n <h4 class=\"h4\">Heading 4</h4>\n <strong>Getting started:</strong> Customize your template by clicking on the style editor tabs up above. Set your fonts, colors, and styles. After setting your styling is all done you can click here in this area, delete the text, and start adding your own awesome content!\n <br>\n <br>\n After you enter your content, highlight the text you want to style and select the options you set in the style editor in the \"styles\" drop down box. Want to <a href=\"http://www.mailchimp.com/kb/article/im-using-the-style-designer-and-i-cant-get-my-formatting-to-change\" target=\"_blank\">get rid of styling on a bit of text</a>, but having trouble doing it? Just use the \"remove formatting\" button to strip the text of any formatting and reset your style.\n <br>\n <br>\n <strong>Repeatable content blocks:</strong> Repeatable sections are noted with plus and minus signs so that you can add and subtract content blocks. You can also <a href=\"http://www.mailchimp.com/kb/article/how-do-i-work-with-repeatable-content-blocks\" target=\"_blank\">get a little fancy</a>: repeat blocks and remove all text to make image \"gallery\" sections, or do the opposite and remove images for text-only blocks!\n </div>\n </td>\n </tr>\n </tbody>\n </table>\n <!-- // End Module: Standard Postcard Content \\ -->\n </td>\n </tr>\n </tbody>\n </table>\n <!-- // End Template Body \\ -->\n </td>\n </tr>\n <tr>\n <td align=\"center\" valign=\"top\">\n <!-- // Begin Template Footer \\ -->\n <table border=\"0\" cellpadding=\"10\" cellspacing=\"0\" width=\"600\" id=\"templateFooter\">\n <tbody>\n <tr>\n <td valign=\"top\" class=\"footerContent\">\n <!-- // Begin Module: Standard Footer \\ -->\n <table border=\"0\" cellpadding=\"10\" cellspacing=\"0\" width=\"100%\">\n <tbody>\n <tr>\n <td colspan=\"2\" valign=\"middle\" id=\"utility\">\n <div>\n Ha nem szeretne tőlünk ilyen tartalmú leveleket kapni, kérjük kattintson a\n &nbsp;<a href=\"unsubscribe\">leiratkozás</a> linkre.\n </div>\n </td>\n </tr>\n </tbody>\n </table>\n <!-- // End Module: Standard Footer \\ -->\n </td>\n </tr>\n </tbody>\n </table>\n <!-- // End Template Footer \\ -->\n </td>\n </tr>\n </tbody>\n </table>\n <br>\n </td>\n </tr>\n </tbody>\n </table>\n </center>\n </body>\n</html>\n",
"body": "Rerum nemo omnis.\n\n Eaque exercitationem similique voluptatem iusto iusto ut reprehenderit. Dolorem enim omnis dignissimos odit. Qui et assumenda corrupti. Eos laborum ab consequatur. Accusantium expedita rerum quis voluptate velit doloribus provident. Animi sint quia dolorem at sapiente ut ut. Saepe ut inventore ut. Debitis voluptatem eum. Aut vel rerum impedit et repellat qui error. Veritatis enim maiores.\n\n Atque quae enim harum et iste pariatur officia sit qui. Id et et omnis dolore velit molestias voluptatem.\n ",
"subject": "Accusantium delectus ad ab illum quidem officiis et.",
"reply-to-name": "Ahmed Anderson II",
"reply-to-address": "ardella.grant@hotmail.com",
"from-name": "Sadie Kihn",
"from-address": "myrtis.ledner19@gmail.com",
"permission-list-list": null,
"permission-show-list": null,
"sent-at": "2017-05-14T07:39:06.855Z",
"created-at": "2016-11-25T05:50:43.159Z",
"archiving-expected": false,
"recipient-name": "Jovan Heaney",
"recipient-address": "shaina72@gmail.com",
"actual-status": "FAILED",
"message-id": 755
},
"relationships": {
"message-type": {
"data": {
"type": "message-types",
"id": "PROGRAM.HOME.BERKSHIRE"
}
},
"attachments": {
"data": [
{
"type": "attachments",
"id": "211"
}
]
}
}
},
{
"type": "messages",
"id": "29",
"attributes": {
"bound-mail-text": "Est mollitia at tempore possimus perspiciatis maxime omnis. Sunt consequuntur natus facere sapiente. Iusto aliquam facilis.\n \rTempora quis qui. Eligendi enim nemo ut voluptatem laboriosam harum qui dignissimos. Exercitationem impedit ut voluptas tempora deserunt aut est numquam. Perferendis dolor illum sint ratione rerum sapiente.\n \rEx enim voluptate quo rerum adipisci. Cupiditate aperiam officiis. Animi ea et et. Sequi consectetur in sit accusamus sit quo sit.",
"bound-reason-description": "Vitae quia dolores quis qui laboriosam voluptates.",
"bound-reason-code": "WRONG_ADDRESS",
"bounced-at": "2016-10-11T06:59:25.952Z",
"properties": [
],
"body": "Sunt tenetur beatae.\n\n Nihil quia enim quos rerum doloremque deserunt enim esse. Id repudiandae libero consequatur esse libero dignissimos. Qui sunt quaerat fuga qui officiis pariatur porro. Accusamus laudantium voluptas quo omnis magnam quia praesentium consequatur blanditiis. Iste odit corporis quaerat corrupti dolores non. Ipsam cum repellat minima consequuntur. Nam sunt nihil modi eos voluptatem a sed sed aut. Atque esse omnis voluptas et mollitia at. Enim dolor qui id possimus sit. Error sint aut reiciendis voluptatem sunt aut ea.\n\n Sit et iusto.\n ",
"subject": "Eaque iusto nam molestiae ducimus asperiores.",
"reply-to-name": "Jessica Wolff",
"reply-to-address": "rowan90@gmail.com",
"from-name": "Shawna Waelchi",
"from-address": "rowan.weimann@hotmail.com",
"permission-list-list": null,
"permission-show-list": null,
"sent-at": "2017-04-27T11:15:45.204Z",
"created-at": "2017-01-09T00:20:45.290Z",
"archiving-expected": false,
"recipient-name": "Josianne Heaney",
"recipient-address": "gideon.swift@hotmail.com",
"actual-status": "FAILED",
"message-id": 439
},
"relationships": {
"message-type": {
"data": {
"type": "message-types",
"id": "PROGRAM.HOME.BERKSHIRE"
}
},
"attachments": {
"data": [
{
"type": "attachments",
"id": "296"
}
]
}
}
},
{
"type": "messages",
"id": "28",
"attributes": {
"properties": [
],
"body": "Ut repellat et et vel non et odio dolor.\n\n Provident atque aliquam iusto voluptas sit eos quo totam. Eos molestias harum ducimus. Labore et blanditiis vel nisi id at deserunt a sed. Dolores est quas deleniti consectetur inventore voluptatem culpa praesentium. Adipisci voluptas expedita. Voluptates voluptatem repudiandae. Deleniti illo accusantium occaecati asperiores dolorum earum enim qui reiciendis.\n\n Porro alias magni molestias omnis amet labore voluptates. Eveniet occaecati inventore repellendus quae vitae rerum.\n ",
"subject": "Quia provident nesciunt dolor.",
"reply-to-name": "Ali Funk",
"reply-to-address": "buck.johns51@yahoo.com",
"from-name": "Javonte Howe",
"from-address": "rogelio_erdman@hotmail.com",
"permission-list-list": null,
"permission-show-list": null,
"sent-at": "2016-11-15T01:29:47.074Z",
"created-at": "2017-01-13T04:38:54.021Z",
"archiving-expected": false,
"recipient-name": "Gisselle Simonis",
"recipient-address": "martina13@gmail.com",
"actual-status": "SUSPENDED",
"message-id": 507
},
"relationships": {
"message-type": {
"data": {
"type": "message-types",
"id": "PROGRAM.HOME.BERKSHIRE"
}
},
"attachments": {
"data": [
{
"type": "attachments",
"id": "14"
}
]
}
}
},
{
"type": "messages",
"id": "44",
"attributes": {
"bound-mail-text": "Voluptatum consequatur nihil incidunt reprehenderit saepe error consequatur. Aut itaque aperiam ea suscipit consectetur. Aut possimus debitis et.\n \rSoluta delectus corporis quia est numquam nulla. Ut ullam ad. Et velit molestiae quis error pariatur eaque qui. Natus voluptas voluptas alias sunt asperiores laborum cum doloribus.\n \rEt maxime autem sequi culpa enim est sit fugiat sed. Tenetur sed quo nulla quibusdam. Atque porro vitae aliquid beatae sed. Tenetur nihil quisquam corporis numquam similique possimus sed.",
"bound-reason-description": "Ullam aut dolorem.",
"bound-reason-code": "WRONG_ADDRESS",
"bounced-at": "2017-06-26T02:17:25.326Z",
"properties": [
],
"html-body": "\n<html>\n <head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\n <title></title>\n <style type=\"text/css\">\n /* Client-specific Styles */\n #outlook a{padding:0;} /* Force Outlook to provide a \"view in browser\" button. */\n body{width:100% !important;} .ReadMsgBody{width:100%;} .ExternalClass{width:100%;} /* Force Hotmail to display emails at full width */\n body{-webkit-text-size-adjust:none;} /* Prevent Webkit platforms from changing default text sizes. */\n /* Reset Styles */\n body{margin:0; padding:0;}\n img{border:0; height:auto; line-height:100%; outline:none; text-decoration:none;}\n table td{border-collapse:collapse;}\n #backgroundTable{height:100% !important; margin:0; padding:0; width:100% !important;}\n /* Template Styles */\n /* ////////// STANDARD STYLING: COMMON PAGE ELEMENTS ////////// */\n /**\n * @tab Page\n * @section background color\n * @tip Set the background color for your email. You may want to choose one that matches your company's branding.\n * @theme page\n */\n body, #backgroundTable{\n /*@editable*/ background-color:#FAFAFA;\n }\n /**\n * @tab Page\n * @section email border\n * @tip Set the border for your email.\n */\n #templateContainer{\n /*@editable*/ border: 1px solid #DDDDDD;\n }\n /**\n * @tab Page\n * @section heading 1\n * @tip Set the styling for all first-level headings in your emails. These should be the largest of your headings.\n * @style heading 1\n */\n h1, .h1{\n /*@editable*/ color:#202020;\n display:block;\n /*@editable*/ font-family:Arial;\n /*@editable*/ font-size:34px;\n /*@editable*/ font-weight:bold;\n /*@editable*/ line-height:100%;\n margin-top:0;\n margin-right:0;\n margin-bottom:10px;\n margin-left:0;\n /*@editable*/ text-align:left;\n }\n /**\n * @tab Page\n * @section heading 2\n * @tip Set the styling for all second-level headings in your emails.\n * @style heading 2\n */\n h2, .h2{\n /*@editable*/ color:#202020;\n display:block;\n /*@editable*/ font-family:Arial;\n /*@editable*/ font-size:30px;\n /*@editable*/ font-weight:bold;\n /*@editable*/ line-height:100%;\n margin-top:0;\n margin-right:0;\n margin-bottom:10px;\n margin-left:0;\n /*@editable*/ text-align:left;\n }\n /**\n * @tab Page\n * @section heading 3\n * @tip Set the styling for all third-level headings in your emails.\n * @style heading 3\n */\n h3, .h3{\n /*@editable*/ color:#202020;\n display:block;\n /*@editable*/ font-family:Arial;\n /*@editable*/ font-size:26px;\n /*@editable*/ font-weight:bold;\n /*@editable*/ line-height:100%;\n margin-top:0;\n margin-right:0;\n margin-bottom:10px;\n margin-left:0;\n /*@editable*/ text-align:left;\n }\n /**\n * @tab Page\n * @section heading 4\n * @tip Set the styling for all fourth-level headings in your emails. These should be the smallest of your headings.\n * @style heading 4\n */\n h4, .h4{\n /*@editable*/ color:#202020;\n display:block;\n /*@editable*/ font-family:Arial;\n /*@editable*/ font-size:22px;\n /*@editable*/ font-weight:bold;\n /*@editable*/ line-height:100%;\n margin-top:0;\n margin-right:0;\n margin-bottom:10px;\n margin-left:0;\n /*@editable*/ text-align:left;\n }\n /* ////////// STANDARD STYLING: PREHEADER ////////// */\n /**\n * @tab Header\n * @section preheader style\n * @tip Set the background color for your email's preheader area.\n * @theme page\n */\n #templatePreheader{\n /*@editable*/ background-color:#FAFAFA;\n }\n /**\n * @tab Header\n * @section preheader text\n * @tip Set the styling for your email's preheader text. Choose a size and color that is easy to read.\n */\n .preheaderContent div{\n /*@editable*/ color:#505050;\n /*@editable*/ font-family:Arial;\n /*@editable*/ font-size:10px;\n /*@editable*/ line-height:100%;\n /*@editable*/ text-align:left;\n }\n /**\n * @tab Header\n * @section preheader link\n * @tip Set the styling for your email's preheader links. Choose a color that helps them stand out from your text.\n */\n .preheaderContent div a:link, .preheaderContent div a:visited, /* Yahoo! Mail Override */ .preheaderContent div a .yshortcuts /* Yahoo! Mail Override */{\n /*@editable*/ color:#336699;\n /*@editable*/ font-weight:normal;\n /*@editable*/ text-decoration:underline;\n }\n /* ////////// STANDARD STYLING: HEADER ////////// */\n /**\n * @tab Header\n * @section header style\n * @tip Set the background color and border for your email's header area.\n * @theme header\n */\n #templateHeader{\n /*@editable*/ /*background-color:#FFFFFF*/;\n /*@editable*/ border-bottom:0;\n }\n /**\n * @tab Header\n * @section header text\n * @tip Set the styling for your email's header text. Choose a size and color that is easy to read.\n */\n .headerContent{\n /*@editable*/ color:#202020;\n /*@editable*/ font-family:Arial;\n /*@editable*/ font-size:34px;\n /*@editable*/ font-weight:bold;\n /*@editable*/ line-height:100%;\n /*@editable*/ padding:0;\n /*@editable*/ text-align:center;\n /*@editable*/ vertical-align:middle;\n }\n /**\n * @tab Header\n * @section header link\n * @tip Set the styling for your email's header links. Choose a color that helps them stand out from your text.\n */\n .headerContent a:link, .headerContent a:visited, /* Yahoo! Mail Override */ .headerContent a .yshortcuts /* Yahoo! Mail Override */{\n /*@editable*/ color:#336699;\n /*@editable*/ font-weight:normal;\n /*@editable*/ text-decoration:underline;\n }\n #headerImage{\n height:auto;\n max-width:600px;\n }\n /* ////////// STANDARD STYLING: MAIN BODY ////////// */\n /**\n * @tab Body\n * @section body style\n * @tip Set the background color for your email's body area.\n */\n #templateContainer/*, .bodyContent*/{\n /*@editable*/ background-color:#FFFFFF;\n }\n /**\n * @tab Body\n * @section body text\n * @tip Set the styling for your email's main content text. Choose a size and color that is easy to read.\n * @theme main\n */\n .bodyContent div{\n /*@editable*/ color:#505050;\n /*@editable*/ font-family:Arial;\n /*@editable*/ font-size:14px;\n /*@editable*/ /*line-height:150%;*/\n /*@editable*/ text-align:left;\n }\n /**\n * @tab Body\n * @section body link\n * @tip Set the styling for your email's main content links. Choose a color that helps them stand out from your text.\n */\n .bodyContent div a:link, .bodyContent div a:visited, /* Yahoo! Mail Override */ .bodyContent div a .yshortcuts /* Yahoo! Mail Override */{\n /*@editable*/ color:#336699;\n /*@editable*/ font-weight:normal;\n /*@editable*/ text-decoration:underline;\n }\n .bodyContent img{\n display:inline;\n height:auto;\n }\n /* ////////// STANDARD STYLING: FOOTER ////////// */\n /**\n * @tab Footer\n * @section footer style\n * @tip Set the background color and top border for your email's footer area.\n * @theme footer\n */\n #templateFooter{\n /*@editable*/ /*background-color:#FFFFFF;*/\n /*@editable*/ border-top:0;\n }\n /**\n * @tab Footer\n * @section footer text\n * @tip Set the styling for your email's footer text. Choose a size and color that is easy to read.\n * @theme footer\n */\n .footerContent div{\n /*@editable*/ color:#707070;\n /*@editable*/ font-family:Arial;\n /*@editable*/ font-size:12px;\n /*@editable*/ line-height:125%;\n /*@editable*/ text-align:left;\n }\n /**\n * @tab Footer\n * @section footer link\n * @tip Set the styling for your email's footer links. Choose a color that helps them stand out from your text.\n */\n .footerContent div a:link, .footerContent div a:visited, /* Yahoo! Mail Override */ .footerContent div a .yshortcuts /* Yahoo! Mail Override */{\n /*@editable*/ color:#336699;\n /*@editable*/ font-weight:normal;\n /*@editable*/ text-decoration:underline;\n }\n .footerContent img{\n display:inline;\n }\n /**\n * @tab Footer\n * @section social bar style\n * @tip Set the background color and border for your email's footer social bar.\n * @theme footer\n */\n #social{\n /*@editable*/ background-color:#FAFAFA;\n /*@editable*/ border:0;\n }\n /**\n * @tab Footer\n * @section social bar style\n * @tip Set the background color and border for your email's footer social bar.\n */\n #social div{\n /*@editable*/ text-align:center;\n }\n /**\n * @tab Footer\n * @section utility bar style\n * @tip Set the background color and border for your email's footer utility bar.\n * @theme footer\n */\n #utility{\n /*@editable*/ /*background-color:#FFFFFF;*/\n /*@editable*/ border:0;\n }\n /**\n * @tab Footer\n * @section utility bar style\n * @tip Set the background color and border for your email's footer utility bar.\n */\n #utility div{\n /*@editable*/ text-align:center;\n }\n #monkeyRewards img{\n max-width:190px;\n }\n </style>\n </head>\n <body leftmargin=\"0\" marginwidth=\"0\" topmargin=\"0\" marginheight=\"0\" offset=\"0\">\n <center>\n <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" height=\"100%\" width=\"100%\" id=\"backgroundTable\" style=\"background-color: #FAFAFA;\">\n <tbody>\n <tr>\n <td align=\"center\" valign=\"top\">\n <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"600\" id=\"templateContainer\" style=\"border: 1px solid #DDDDDD; background-color: #FFFFFF;\">\n <tbody>\n <tr>\n <td align=\"center\" valign=\"top\">\n <!-- // Begin Template Header \\ -->\n <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"600\" id=\"templateHeader\">\n <tbody>\n <tr>\n <td class=\"headerContent\">\n <div class=\"uploadable-part\"><img src=\"/hammyEdm/assets/2\" border=\"0\" style=\"display: block;\" width=\"600\"></div>\n </td>\n </tr>\n </tbody>\n </table>\n <!-- // End Template Header \\ -->\n </td>\n </tr>\n <tr>\n <td align=\"center\" valign=\"top\">\n <!-- // Begin Template Body \\ -->\n <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"600\" id=\"templateBody\">\n <tbody>\n <tr>\n <td valign=\"top\" class=\"bodyContent\">\n <!-- // Begin Module: Standard Postcard Content \\ -->\n <table border=\"0\" cellpadding=\"20\" cellspacing=\"0\" width=\"100%\">\n <tbody>\n <tr>\n <td valign=\"top\">\n <div class=\"editable-part\">\n <h1 class=\"h1\">Heading 1</h1>\n </div>\n <div class=\"uploadable-part\"><img src=\"/hammyEdm/assets/3\" border=\"0\" style=\"display: block;\" width=\"560\"></div>\n <div class=\"editable-part\">\n <h1 class=\"h1\">Heading 1</h1>\n <h2 class=\"h2\">Heading 2</h2>\n <h3 class=\"h3\">Heading 3</h3>\n <h4 class=\"h4\">Heading 4</h4>\n <strong>Getting started:</strong> Customize your template by clicking on the style editor tabs up above. Set your fonts, colors, and styles. After setting your styling is all done you can click here in this area, delete the text, and start adding your own awesome content!\n <br>\n <br>\n After you enter your content, highlight the text you want to style and select the options you set in the style editor in the \"styles\" drop down box. Want to <a href=\"http://www.mailchimp.com/kb/article/im-using-the-style-designer-and-i-cant-get-my-formatting-to-change\" target=\"_blank\">get rid of styling on a bit of text</a>, but having trouble doing it? Just use the \"remove formatting\" button to strip the text of any formatting and reset your style.\n <br>\n <br>\n <strong>Repeatable content blocks:</strong> Repeatable sections are noted with plus and minus signs so that you can add and subtract content blocks. You can also <a href=\"http://www.mailchimp.com/kb/article/how-do-i-work-with-repeatable-content-blocks\" target=\"_blank\">get a little fancy</a>: repeat blocks and remove all text to make image \"gallery\" sections, or do the opposite and remove images for text-only blocks!\n </div>\n </td>\n </tr>\n </tbody>\n </table>\n <!-- // End Module: Standard Postcard Content \\ -->\n </td>\n </tr>\n </tbody>\n </table>\n <!-- // End Template Body \\ -->\n </td>\n </tr>\n <tr>\n <td align=\"center\" valign=\"top\">\n <!-- // Begin Template Footer \\ -->\n <table border=\"0\" cellpadding=\"10\" cellspacing=\"0\" width=\"600\" id=\"templateFooter\">\n <tbody>\n <tr>\n <td valign=\"top\" class=\"footerContent\">\n <!-- // Begin Module: Standard Footer \\ -->\n <table border=\"0\" cellpadding=\"10\" cellspacing=\"0\" width=\"100%\">\n <tbody>\n <tr>\n <td colspan=\"2\" valign=\"middle\" id=\"utility\">\n <div>\n Ha nem szeretne tőlünk ilyen tartalmú leveleket kapni, kérjük kattintson a\n &nbsp;<a href=\"unsubscribe\">leiratkozás</a> linkre.\n </div>\n </td>\n </tr>\n </tbody>\n </table>\n <!-- // End Module: Standard Footer \\ -->\n </td>\n </tr>\n </tbody>\n </table>\n <!-- // End Template Footer \\ -->\n </td>\n </tr>\n </tbody>\n </table>\n <br>\n </td>\n </tr>\n </tbody>\n </table>\n </center>\n </body>\n</html>\n",
"body": "Minus blanditiis dolorem et est necessitatibus similique qui.\n\n Dolorum qui nobis tempore. Ut praesentium aliquam quia. Ipsa vel corrupti quia. Eligendi dignissimos quis officia numquam ipsam. Eos voluptate dolor perferendis. Velit totam aut. Et libero voluptatem odio. Quia placeat magnam beatae dignissimos. Sit magnam in facilis eum ab voluptas quidem.\n\n Quia sed libero quis iste ipsam quidem dolorem sint.\n ",
"subject": "In libero illum delectus atque itaque ad.",
"reply-to-name": "Solon Lindgren",
"reply-to-address": "rosalee_weimann@gmail.com",
"from-name": "Mrs. Chanelle Osinski",
"from-address": "tristian24@hotmail.com",
"permission-list-list": null,
"permission-show-list": null,
"sent-at": "2016-07-23T20:03:13.958Z",
"created-at": "2017-02-16T11:10:37.112Z",
"archiving-expected": false,
"recipient-name": "Hassan Wolff",
"recipient-address": "armand.adams@gmail.com",
"actual-status": "FAILED",
"message-id": 433
},
"relationships": {
"message-type": {
"data": {
"type": "message-types",
"id": "PROGRAM.CROSS-PLATFORM"
}
},
"attachments": {
"data": [
{
"type": "attachments",
"id": "881"
},
{
"type": "attachments",
"id": "476"
},
{
"type": "attachments",
"id": "154"
},
{
"type": "attachments",
"id": "480"
}
]
}
}
},
{
"type": "messages",
"id": "43",
"attributes": {
"properties": [
],
"body": "Nemo incidunt qui magni.\n\n Non omnis dolorem. Deserunt molestias ex enim aut eos. Incidunt ut hic aut praesentium. Consequatur ut minima consequatur quod. Et totam voluptas ratione voluptas quisquam deserunt accusantium. Et harum modi repellendus. Harum necessitatibus atque numquam dolorum eius est in sit quo.\n\n Veniam qui repellendus.\n ",
"subject": "Non error quod et ut fugiat beatae ut maiores eaque.",
"reply-to-name": "Glenna Schultz",
"reply-to-address": "destiney64@gmail.com",
"from-name": "Taya Nader",
"from-address": "norwood_schmidt@gmail.com",
"permission-list-list": null,
"permission-show-list": null,
"sent-at": "2016-11-12T01:25:29.263Z",
"created-at": "2017-04-08T11:04:35.496Z",
"archiving-expected": false,
"recipient-name": "Mortimer McCullough",
"recipient-address": "katlyn56@yahoo.com",
"actual-status": "BLOCKED",
"message-id": 978
},
"relationships": {
"message-type": {
"data": {
"type": "message-types",
"id": "PROGRAM.CROSS-PLATFORM"
}
},
"attachments": {
"data": [
{
"type": "attachments",
"id": "525"
},
{
"type": "attachments",
"id": "399"
}
]
}
}
},
{
"type": "messages",
"id": "41",
"attributes": {
"properties": [
],
"body": "Dolorem amet consequatur rem tenetur consequatur laudantium iste.\n\n Repudiandae asperiores dolor necessitatibus aut doloremque est fuga est. Odit tenetur est voluptas enim recusandae atque commodi. Est sint molestiae et sit culpa illum cumque voluptatem. Optio reiciendis aliquam consequuntur animi deserunt aliquam. Hic sequi quibusdam dolores similique tempora qui modi quia. Accusamus dolor nesciunt eos. Minima sunt expedita dolorum voluptatem qui rerum enim tempore laborum. Voluptatem necessitatibus commodi non ipsa quam iusto ullam.\n\n Molestiae sit a unde et architecto.\n ",
"subject": "Ducimus quis omnis.",
"reply-to-name": "Elliot Howe",
"reply-to-address": "erica50@gmail.com",
"from-name": "Simeon Kuhlman I",
"from-address": "carol_lehner@gmail.com",
"permission-list-list": null,
"permission-show-list": null,
"sent-at": "2017-07-16T23:51:18.478Z",
"created-at": "2017-04-15T12:03:45.484Z",
"archiving-expected": false,
"recipient-name": "Mr. Erik Reilly",
"recipient-address": "rosa.smitham0@hotmail.com",
"actual-status": "DELIVERY_SKIPPED",
"message-id": 598
},
"relationships": {
"message-type": {
"data": {
"type": "message-types",
"id": "PROGRAM.CROSS-PLATFORM"
}
},
"attachments": {
"data": [
{
"type": "attachments",
"id": "919"
},
{
"type": "attachments",
"id": "760"
},
{
"type": "attachments",
"id": "750"
},
{
"type": "attachments",
"id": "512"
}
]
}
}
},
{
"type": "messages",
"id": "45",
"attributes": {
"bound-mail-text": "Quis eaque commodi vel. Corrupti rerum dolorem ea placeat dicta beatae temporibus. Repellendus velit maxime a dolorem cupiditate. Reprehenderit est sint facere ad iure suscipit et debitis. Et non animi ipsa veritatis voluptatem unde laborum consectetur. Aut at vero repellat sit laboriosam tenetur rerum minus.\n \rEarum sed quam consectetur nemo possimus libero voluptate. Aut dolor voluptatum et est dolorum et a maiores qui. Aut et ex velit aut consequatur et. Beatae totam fugiat aliquid mollitia. Sed error cumque voluptatum recusandae. Sit minus quam mollitia occaecati.\n \rRepudiandae consequatur qui laboriosam hic consequuntur sit consequuntur omnis recusandae. Sint qui dolore beatae reprehenderit dolor quia nihil assumenda officia. Laborum ipsum dolore rerum numquam debitis.",
"bound-reason-description": "Sapiente delectus culpa nulla blanditiis laudantium officiis quibusdam ipsam.",
"bound-reason-code": "NO_ROUTE",
"bounced-at": "2016-07-31T16:33:17.853Z",
"properties": [
],
"body": "Ut reiciendis excepturi.\n\n Nulla praesentium pariatur. Sed sapiente animi quidem consequatur mollitia corrupti distinctio. Ratione ut nostrum laborum ullam aut ducimus enim. Quis est voluptate eaque fugiat dolor enim. Totam alias natus asperiores dolores labore deleniti. Maxime quas vel dicta sit et pariatur eligendi inventore reprehenderit. Accusantium laborum eligendi.\n\n Itaque consequatur sint voluptatem nam cum quod officia neque. Voluptatum illum omnis sunt aliquid.\n ",
"subject": "Iusto eum cumque eos id.",
"reply-to-name": "Kameron McGlynn",
"reply-to-address": "alice56@hotmail.com",
"from-name": "Arnoldo Marquardt",
"from-address": "jolie.kuphal@hotmail.com",
"permission-list-list": null,
"permission-show-list": null,
"sent-at": "2017-02-27T13:14:30.557Z",
"created-at": "2017-06-14T10:01:52.474Z",
"archiving-expected": false,
"recipient-name": "Tristian Block",
"recipient-address": "kassandra54@hotmail.com",
"actual-status": "FAILED",
"message-id": 385
},
"relationships": {
"message-type": {
"data": {
"type": "message-types",
"id": "PROGRAM.CROSS-PLATFORM"
}
},
"attachments": {
"data": [
{
"type": "attachments",
"id": "827"
}
]
}
}
}
],
"included": [
{
"type": "attachments",
"id": "442",
"attributes": {
"file-name": "auxiliary.pdf",
"archiving-expected": true,
"certification-expected": false,
"content-available": true,
"properties": [
{
"key": "CID",
"value": "34c0022f-05c0-4dfc-8849-f9e7aa8f3a1d",
"isMetaData": false
},
{
"key": "DMS_DOCUMENT_ID",
"value": "be263f0e-b1b5-4caf-b94a-956bfc398207",
"isMetaData": false
}
]
}
},
{
"type": "attachments",
"id": "353",
"attributes": {
"file-name": "synthesizing.gif",
"archiving-expected": false,
"certification-expected": true,
"content-available": true,
"properties": [
{
"key": "CID",
"value": "2b3017ac-9530-4568-abec-46a15f3bcd24",
"isMetaData": false
},
{
"key": "DMS_DOCUMENT_ID",
"value": "5c5a214c-4771-4d1b-bf5f-c1851ea20dc5",
"isMetaData": false
}
]
}
},
{
"type": "attachments",
"id": "529",
"attributes": {
"file-name": "customer_keyboard_open_source.mp4",
"archiving-expected": true,
"certification-expected": true,
"content-available": true,
"properties": [
{
"key": "CID",
"value": "9dcf77dd-e574-4e2d-be62-69d03969cb81",
"isMetaData": false
},
{
"key": "DMS_DOCUMENT_ID",
"value": "6ef24ad3-90fb-430b-83d1-847756393efb",
"isMetaData": false
}
]
}
},
{
"type": "attachments",
"id": "503",
"attributes": {
"file-name": "hat_center.png",
"archiving-expected": false,
"certification-expected": false,
"content-available": true,
"properties": [
{
"key": "CID",
"value": "14e868c8-15f9-445e-8654-7ba48ef1c88f",
"isMetaData": false
},
{
"key": "DMS_DOCUMENT_ID",
"value": "156f1d3f-adb6-455d-ae28-138adcf15b8a",
"isMetaData": false
}
]
}
},
{
"type": "attachments",
"id": "725",
"attributes": {
"file-name": "guadeloupe_dam_ireland.wav",
"archiving-expected": false,
"certification-expected": false,
"content-available": true,
"properties": [
{
"key": "CID",
"value": "54bb90cf-bde4-4eef-b696-1f91dc231d7f",
"isMetaData": false
},
{
"key": "DMS_DOCUMENT_ID",
"value": "c7188c34-d6d2-4f85-a77c-bf734b2dd4f2",
"isMetaData": false
}
]
}
},
{
"type": "attachments",
"id": "211",
"attributes": {
"file-name": "rand_loti.mp2",
"archiving-expected": false,
"certification-expected": false,
"content-available": true,
"properties": [
{
"key": "CID",
"value": "3e1db290-0373-4aae-aef6-8809a120bff2",
"isMetaData": false
},
{
"key": "DMS_DOCUMENT_ID",
"value": "d3e10ad0-46f0-4307-867b-9dee17c83274",
"isMetaData": false
}
]
}
},
{
"type": "attachments",
"id": "296",
"attributes": {
"file-name": "customer_buckinghamshire_knowledge_base.mp4v",
"archiving-expected": true,
"certification-expected": true,
"content-available": true,
"properties": [
{
"key": "CID",
"value": "8cf4b3a1-5bc7-43de-a8b9-1b1301e1e4ac",
"isMetaData": false
},
{
"key": "DMS_DOCUMENT_ID",
"value": "fc40b07f-7006-469a-a2a4-f912ad2f1c87",
"isMetaData": false
}
]
}
},
{
"type": "attachments",
"id": "14",
"attributes": {
"file-name": "armenia_ergonomic_frozen_shoes.wav",
"archiving-expected": true,
"certification-expected": false,
"content-available": true,
"properties": [
{
"key": "CID",
"value": "59e94725-6a57-48b0-82bc-c1ed5a7aa247",
"isMetaData": false
},
{
"key": "DMS_DOCUMENT_ID",
"value": "85ccc39f-f400-4ead-bd92-f8d473cea6d7",
"isMetaData": false
}
]
}
},
{
"type": "attachments",
"id": "881",
"attributes": {
"file-name": "exclusive_orange.jpg",
"archiving-expected": false,
"certification-expected": false,
"content-available": true,
"properties": [
{
"key": "CID",
"value": "6fd6d74d-a0cd-4869-9c71-ca2ccad4318d",
"isMetaData": false
},
{
"key": "DMS_DOCUMENT_ID",
"value": "31e73b75-d362-4ff9-95ee-f14a04cc2c0b",
"isMetaData": false
}
]
}
},
{
"type": "attachments",
"id": "476",
"attributes": {
"file-name": "quality_focused_toolset_intelligent_cotton_soap.wav",
"archiving-expected": false,
"certification-expected": true,
"content-available": true,
"properties": [
{
"key": "CID",
"value": "d781e709-4f9a-43a9-a433-cd70367bc11e",
"isMetaData": false
},
{
"key": "DMS_DOCUMENT_ID",
"value": "ea16f86e-3838-4755-a22b-4e58c2dc57f5",
"isMetaData": false
}
]
}
},
{
"type": "attachments",
"id": "154",
"attributes": {
"file-name": "checking_account_driver.mpe",
"archiving-expected": false,
"certification-expected": true,
"content-available": true,
"properties": [
{
"key": "CID",
"value": "30bd148e-862b-42c3-aa65-1357d1736787",
"isMetaData": false
},
{
"key": "DMS_DOCUMENT_ID",
"value": "270b0033-4986-49df-b218-4ae4cab37bba",
"isMetaData": false
}
]
}
},
{
"type": "attachments",
"id": "480",
"attributes": {
"file-name": "central_multi_byte.m2v",
"archiving-expected": false,
"certification-expected": false,
"content-available": true,
"properties": [
{
"key": "CID",
"value": "1e333b53-f73c-47bf-b0b7-2bdace90f0ed",
"isMetaData": false
},
{
"key": "DMS_DOCUMENT_ID",
"value": "e6d8c4fc-5973-4fac-b11e-8a58af006594",
"isMetaData": false
}
]
}
},
{
"type": "attachments",
"id": "525",
"attributes": {
"file-name": "e_business.gif",
"archiving-expected": true,
"certification-expected": false,
"content-available": true,
"properties": [
{
"key": "CID",
"value": "9fac41ce-34cb-45fb-8802-4347ce31672f",
"isMetaData": false
},
{
"key": "DMS_DOCUMENT_ID",
"value": "a0d76583-cf8b-47b8-96de-d96fe1cae50d",
"isMetaData": false
}
]
}
},
{
"type": "attachments",
"id": "399",
"attributes": {
"file-name": "e_services_money_market_account_exe.gif",
"archiving-expected": true,
"certification-expected": true,
"content-available": true,
"properties": [
{
"key": "CID",
"value": "f787ffbf-aa2d-448c-89b5-245d38f2ecc2",
"isMetaData": false
},
{
"key": "DMS_DOCUMENT_ID",
"value": "9efbda2e-87cd-47ef-bd7f-aa341310645b",
"isMetaData": false
}
]
}
},
{
"type": "attachments",
"id": "919",
"attributes": {
"file-name": "algorithm_extensions.jpe",
"archiving-expected": false,
"certification-expected": true,
"content-available": true,
"properties": [
{
"key": "CID",
"value": "d704c03d-2b44-48c0-ac9c-ce668a6d02a5",
"isMetaData": false
},
{
"key": "DMS_DOCUMENT_ID",
"value": "8307832a-ff57-47d1-be7b-2fec98e4be01",
"isMetaData": false
}
]
}
},
{
"type": "attachments",
"id": "760",
"attributes": {
"file-name": "glen_borders_home_loan_account.jpeg",
"archiving-expected": false,
"certification-expected": false,
"content-available": true,
"properties": [
{
"key": "CID",
"value": "92cac9f4-2f9f-4f44-8a27-9dec5ac88db9",
"isMetaData": false
},
{
"key": "DMS_DOCUMENT_ID",
"value": "bb65a852-7f89-4b4b-9224-73c28636cf1e",
"isMetaData": false
}
]
}
},
{
"type": "attachments",
"id": "750",
"attributes": {
"file-name": "ergonomic_metal_shoes_efficient.mpg",
"archiving-expected": true,
"certification-expected": false,
"content-available": true,
"properties": [
{
"key": "CID",
"value": "38c79601-e3b5-4491-811f-ccabd79f0ba0",
"isMetaData": false
},
{
"key": "DMS_DOCUMENT_ID",
"value": "9487a9bb-05f2-4939-8a6c-8ce6d946a246",
"isMetaData": false
}
]
}
},
{
"type": "attachments",
"id": "512",
"attributes": {
"file-name": "illinois_calculate_connecticut.mpg4",
"archiving-expected": false,
"certification-expected": false,
"content-available": true,
"properties": [
{
"key": "CID",
"value": "1dacf6ee-c78e-46c4-8e3b-da38fef2354c",
"isMetaData": false
},
{
"key": "DMS_DOCUMENT_ID",
"value": "a9224472-f52b-4cd3-b2c2-f66a4ad383d8",
"isMetaData": false
}
]
}
},
{
"type": "attachments",
"id": "827",
"attributes": {
"file-name": "compatible.pdf",
"archiving-expected": true,
"certification-expected": false,
"content-available": true,
"properties": [
{
"key": "CID",
"value": "1dc8dbef-511d-4c6b-a3df-9e64675c4222",
"isMetaData": false
},
{
"key": "DMS_DOCUMENT_ID",
"value": "a9ec4806-ed7f-4bef-bb4c-6e79f3be888d",
"isMetaData": false
}
]
}
}
]
}
Kérés:
GET /api/HammyTemplateAPI/message-types
Válasz:
{
"data": [
{
"type": "message-types",
"id": "FUNCTIONALITIES.PROGRAMMING",
"attributes": {
"description": "Auto Loan",
"status": {
"name": "enabled"
}
}
},
{
"type": "message-types",
"id": "ASSISTANT.EXE",
"attributes": {
"description": "Taka solutions",
"status": {
"name": "enabled"
}
}
},
{
"type": "message-types",
"id": "REFINED.WITHDRAWAL",
"attributes": {
"description": "Personal Loan",
"status": {
"name": "disabled"
}
}
},
{
"type": "message-types",
"id": "REFINED.INDIGO",
"attributes": {
"description": "Handcrafted Beauty",
"status": {
"name": "disabled"
}
}
},
{
"type": "message-types",
"id": "REFINED.FRESH.AGENT",
"attributes": {
"description": "Salad object-oriented",
"status": {
"name": "disabled"
}
}
},
{
"type": "message-types",
"id": "PROGRAM.HOME.BERKSHIRE",
"attributes": {
"description": "COM Rubber",
"status": {
"name": "enabled"
}
}
},
{
"type": "message-types",
"id": "ASSISTANT.CHANNELS",
"attributes": {
"description": "action-items vortals",
"status": {
"name": "enabled"
}
}
},
{
"type": "message-types",
"id": "KEYBOARD",
"attributes": {
"description": "withdrawal Producer",
"status": {
"name": "disabled"
}
}
},
{
"type": "message-types",
"id": "PROGRAM.CROSS-PLATFORM",
"attributes": {
"description": "Home Loan",
"status": {
"name": "enabled"
}
}
},
{
"type": "message-types",
"id": "COMMUNITIES",
"attributes": {
"description": "Tasty Plastic",
"status": {
"name": "disabled"
}
}
}
]
}
KÉRÉS:
PATCH /api/HammyTemplateAPI/message-types/FUNCTIONALITIES.PROGRAMMING
{
"data": {
"id": "FUNCTIONALITIES.PROGRAMMING",
"attributes": {
"description": "Auto Loan",
"status": {
"name": "disabled"
}
},
"type": "message-types"
}
}
VÁLASZ:
{
"data": {
"type": "message-types",
"id": "FUNCTIONALITIES.PROGRAMMING",
"attributes": {
"description": "Auto Loan",
"status": {
"name": "disabled"
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment