POST api/Accounts/UpdateCampaignTemplate
Request Information
URI Parameters
None.
Body Parameters
AccountCampaignTemplateWithCredentialsName | Description | Type | Additional information |
---|---|---|---|
Template | AccountCampaignTemplate |
None. |
|
Credentials | ApiCredentials |
None. |
Request Formats
application/json, text/json
Sample:
{ "Template": { "Id": 1, "AccountId": 2, "Name": "sample string 3", "Status": "sample string 4", "Type": 0, "CreateDateTime": "2025-07-18T12:25:03.6881018+00:00", "Notifications": [ { "Id": 1, "AccountCampaignTemplateId": 2, "AccountNotificationTemplateId": 3, "WithPhotos": true, "WithoutPhotos": true, "NoClicks": true, "SendDaysOut": 7, "Status": "sample string 8", "AccountNotificationTemplate": { "Id": 1, "AccountId": 2, "FolderId": 3, "Type": 0, "From": "sample string 4", "Subject": "sample string 5", "Message": "sample string 6", "Status": "sample string 7", "CreateDateTime": "2025-07-18T12:25:03.6881018+00:00", "Name": "sample string 8" } }, { "Id": 1, "AccountCampaignTemplateId": 2, "AccountNotificationTemplateId": 3, "WithPhotos": true, "WithoutPhotos": true, "NoClicks": true, "SendDaysOut": 7, "Status": "sample string 8", "AccountNotificationTemplate": { "Id": 1, "AccountId": 2, "FolderId": 3, "Type": 0, "From": "sample string 4", "Subject": "sample string 5", "Message": "sample string 6", "Status": "sample string 7", "CreateDateTime": "2025-07-18T12:25:03.6881018+00:00", "Name": "sample string 8" } } ] }, "Credentials": { "AccountId": 1, "UserId": "sample string 2", "Pwd": "sample string 3", "PublicKey": "sample string 4", "ApiKey": "sample string 5" } }
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
AccountCampaignTemplateName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
AccountId | integer |
None. |
|
Name | string |
None. |
|
Status | string |
None. |
|
Type | NotificationType |
None. |
|
CreateDateTime | date |
None. |
|
Notifications | Collection of AccountCampaignNotification |
None. |
Response Formats
application/json, text/json
Sample:
{ "Id": 1, "AccountId": 2, "Name": "sample string 3", "Status": "sample string 4", "Type": 0, "CreateDateTime": "2025-07-18T12:25:03.7661667+00:00", "Notifications": [ { "Id": 1, "AccountCampaignTemplateId": 2, "AccountNotificationTemplateId": 3, "WithPhotos": true, "WithoutPhotos": true, "NoClicks": true, "SendDaysOut": 7, "Status": "sample string 8", "AccountNotificationTemplate": { "Id": 1, "AccountId": 2, "FolderId": 3, "Type": 0, "From": "sample string 4", "Subject": "sample string 5", "Message": "sample string 6", "Status": "sample string 7", "CreateDateTime": "2025-07-18T12:25:03.7661667+00:00", "Name": "sample string 8" } }, { "Id": 1, "AccountCampaignTemplateId": 2, "AccountNotificationTemplateId": 3, "WithPhotos": true, "WithoutPhotos": true, "NoClicks": true, "SendDaysOut": 7, "Status": "sample string 8", "AccountNotificationTemplate": { "Id": 1, "AccountId": 2, "FolderId": 3, "Type": 0, "From": "sample string 4", "Subject": "sample string 5", "Message": "sample string 6", "Status": "sample string 7", "CreateDateTime": "2025-07-18T12:25:03.7661667+00:00", "Name": "sample string 8" } } ] }
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.