PUT api/campaigns/status/{id}
Updates a campaign status.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The id of the campaign to update. |
globally unique identifier |
Required |
Body Parameters
The status model to update with.
TemplateCampaignStatusChangeLogDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| CreationDate | date |
None. |
|
| UserId | globally unique identifier |
None. |
|
| Status | TemplateCampaignStatusDto |
None. |
|
| CampaignId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "9ed6f855-c449-4c98-94e6-6f3165ffcf9b",
"CreationDate": "2026-01-11T17:51:26.9665075Z",
"UserId": "2d1cbd4c-156a-4f9c-8887-37b422e22c25",
"Status": 0,
"CampaignId": "a8786e50-1e3c-4ea4-99bd-16c32d0d46de"
}
application/xml, text/xml
Sample:
<TemplateCampaignStatusChangeLogDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aardvark.Template.Models"> <CampaignId>a8786e50-1e3c-4ea4-99bd-16c32d0d46de</CampaignId> <CreationDate>2026-01-11T17:51:26.9665075+00:00</CreationDate> <Id>9ed6f855-c449-4c98-94e6-6f3165ffcf9b</Id> <Status>Created</Status> <UserId>2d1cbd4c-156a-4f9c-8887-37b422e22c25</UserId> </TemplateCampaignStatusChangeLogDto>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.