GET api/Accounts/CampaignTemplates?api={api}&userId={userId}&id={id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| api | string |
Required |
|
| userId | string |
Required |
|
| id | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of AccountCampaignTemplateDTO| Name | 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 AccountCampaignNotificationDTO |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"AccountId": 2,
"Name": "sample string 3",
"Status": "sample string 4",
"Type": 0,
"CreateDateTime": "2026-04-05T12:45:07.1084655+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": "2026-04-05T12:45:07.1084655+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": "2026-04-05T12:45:07.1084655+00:00",
"Name": "sample string 8"
}
}
]
},
{
"Id": 1,
"AccountId": 2,
"Name": "sample string 3",
"Status": "sample string 4",
"Type": 0,
"CreateDateTime": "2026-04-05T12:45:07.1084655+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": "2026-04-05T12:45:07.1084655+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": "2026-04-05T12:45:07.1084655+00:00",
"Name": "sample string 8"
}
}
]
}
]
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.