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": "ddcee1db-8c1a-4364-aad0-46bd67d6dae9",
"CreationDate": "2025-12-11T17:28:55.0189943Z",
"UserId": "582c2ef2-5e17-41a2-844d-25233c7ffa44",
"Status": 0,
"CampaignId": "97f26f26-bd2b-4335-80ad-9f5aff3ca073"
}
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>97f26f26-bd2b-4335-80ad-9f5aff3ca073</CampaignId> <CreationDate>2025-12-11T17:28:55.0189943+00:00</CreationDate> <Id>ddcee1db-8c1a-4364-aad0-46bd67d6dae9</Id> <Status>Created</Status> <UserId>582c2ef2-5e17-41a2-844d-25233c7ffa44</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.