Method :POST
URL: https://apiv1.publicators.com/api/Campaigns/SaveRegularCampaign
Create/ Update regular campaign (not publish).
Request Information
URI Parameters
None.
Body Parameters
SaveRegularCampaignBindingeModelName | Description | Type | Additional information |
---|---|---|---|
Auth |
Token |
AuthorizationTokenBindingModel |
Required |
ID |
Campaign ID. Set NULL for creating new campaign |
integer |
None. |
CampaignSettings | RegularCampaignSettingsStruct |
Required |
|
CampaignDetails | CampaignDetailsStruct |
Required |
Request Formats
application/json, text/json
Sample:
{ "Auth": { "Token": "c37ebbeb-ab91-4225-9afc-7f6f0e7ccbf2" }, "ID": 1, "CampaignSettings": { "ListId": 1 }, "CampaignDetails": { "FromName": "sample string 1", "FromEmail": "sample string 2", "Address": "sample string 3", "Contact": "sample string 4", "Subject": "sample string 5", "HtmlBodyContent": "sample string 6", "IsBrowseLink": true, "IsUnsubscribeLink": true, "IsClicksTracking": true, "IsMailOpenTracking": true, "IsForwardLink": true, "IsPrintLink": true, "GridId": 14 } }
Response Information
Resource Description
SaveCampaignViewModelName | Description | Type | Additional information |
---|---|---|---|
ID |
Campaign ID |
integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "ID": 1 }