GET https://webapi.mymarketing.co.il/api/campaigns/{id}/design
Get campaign body by id
Request Information
URI Parameters
Name
Description
Type
Additional information
id
Campaign id
integer
Required
Body Parameters
None.
Response Information
Resource Description
Name
Description
Type
Additional information
content
Campaign content
string
is_add_print_email
An option to add 'print email' link
boolean
is_auto_css_inliner
An option to set the CSS inline in the HTML content
boolean
Response Formats
application/json, text/json
Sample:
{ "content": "sample string 1", "language_type": "IBM_EBCDIC_US_Canada", "header_footer_language_type": "IBM_EBCDIC_US_Canada", "is_add_print_email": true, "is_auto_css_inliner": true, "is_remove_system_links": false }
application/xml, text/xml
Sample:
<ApiCampaignDesign xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ActiveTrail.RESTfulApi.Models"> <content>sample string 1</content> <header_footer_language_type>IBM_EBCDIC_US_Canada</header_footer_language_type> <is_add_print_email>true</is_add_print_email> <is_auto_css_inliner>true</is_auto_css_inliner> <is_remove_system_links>false</is_remove_system_links> <language_type>IBM_EBCDIC_US_Canada</language_type> </ApiCampaignDesign>