PUT api/company/{id}
Updates the given .
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The id of the resource. |
globally unique identifier |
Required |
Body Parameters
CompanyDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| CreationDate | date |
None. |
|
| Name | string |
Required |
|
| CompanyReference | string |
None. |
|
| ManagerGroupId | globally unique identifier |
None. |
|
| IsDeleted | boolean |
None. |
|
| Campaigns | Collection of CampaignDto |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "5070d835-e574-4eb8-ba0f-683bd947ca3a",
"CreationDate": "2026-01-09T14:12:23.9146134+00:00",
"Name": "sample string 3",
"CompanyReference": "sample string 4",
"ManagerGroupId": "61902a15-aade-42a6-982c-39144104b4ac",
"IsDeleted": true,
"Campaigns": [
{
"Id": "2fb67f2c-7c7c-40f8-839d-5974d3b40c7b",
"CreationDate": "2026-01-09T14:12:23.9146134+00:00",
"Name": "sample string 3",
"ManagerGroupId": "3f688ac4-48b0-48c7-9076-519c1a861909",
"CompanyIds": [
"621e6c5f-2d17-4efe-aa4c-15499db2e21b",
"c3f91d29-6777-48e8-bddc-95ba4e9a311a"
],
"IsDeleted": true,
"BrandIds": [
"2a908368-a5dd-4c6d-b907-e4b86ee74b46",
"20300908-4704-4a7c-b6fd-fc37cae87c4a"
],
"ProductIds": [
"1baaba0f-915c-481c-bffb-fc0eede333c1",
"ec890b2c-5e05-449d-b916-b4852173ddff"
],
"CampaignTypeId": "bc9a96df-32a1-4580-a4d1-0c32da39d5f4"
},
{
"Id": "2fb67f2c-7c7c-40f8-839d-5974d3b40c7b",
"CreationDate": "2026-01-09T14:12:23.9146134+00:00",
"Name": "sample string 3",
"ManagerGroupId": "3f688ac4-48b0-48c7-9076-519c1a861909",
"CompanyIds": [
"621e6c5f-2d17-4efe-aa4c-15499db2e21b",
"c3f91d29-6777-48e8-bddc-95ba4e9a311a"
],
"IsDeleted": true,
"BrandIds": [
"2a908368-a5dd-4c6d-b907-e4b86ee74b46",
"20300908-4704-4a7c-b6fd-fc37cae87c4a"
],
"ProductIds": [
"1baaba0f-915c-481c-bffb-fc0eede333c1",
"ec890b2c-5e05-449d-b916-b4852173ddff"
],
"CampaignTypeId": "bc9a96df-32a1-4580-a4d1-0c32da39d5f4"
}
]
}
application/xml, text/xml
Sample:
<CompanyDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aardvark.EventManagement.Models">
<Campaigns>
<CampaignDto>
<BrandIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:guid>2a908368-a5dd-4c6d-b907-e4b86ee74b46</d4p1:guid>
<d4p1:guid>20300908-4704-4a7c-b6fd-fc37cae87c4a</d4p1:guid>
</BrandIds>
<CampaignTypeId>bc9a96df-32a1-4580-a4d1-0c32da39d5f4</CampaignTypeId>
<CompanyIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:guid>621e6c5f-2d17-4efe-aa4c-15499db2e21b</d4p1:guid>
<d4p1:guid>c3f91d29-6777-48e8-bddc-95ba4e9a311a</d4p1:guid>
</CompanyIds>
<CreationDate>2026-01-09T14:12:23.9146134+00:00</CreationDate>
<Id>2fb67f2c-7c7c-40f8-839d-5974d3b40c7b</Id>
<IsDeleted>true</IsDeleted>
<ManagerGroupId>3f688ac4-48b0-48c7-9076-519c1a861909</ManagerGroupId>
<Name>sample string 3</Name>
<ProductIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:guid>1baaba0f-915c-481c-bffb-fc0eede333c1</d4p1:guid>
<d4p1:guid>ec890b2c-5e05-449d-b916-b4852173ddff</d4p1:guid>
</ProductIds>
</CampaignDto>
<CampaignDto>
<BrandIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:guid>2a908368-a5dd-4c6d-b907-e4b86ee74b46</d4p1:guid>
<d4p1:guid>20300908-4704-4a7c-b6fd-fc37cae87c4a</d4p1:guid>
</BrandIds>
<CampaignTypeId>bc9a96df-32a1-4580-a4d1-0c32da39d5f4</CampaignTypeId>
<CompanyIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:guid>621e6c5f-2d17-4efe-aa4c-15499db2e21b</d4p1:guid>
<d4p1:guid>c3f91d29-6777-48e8-bddc-95ba4e9a311a</d4p1:guid>
</CompanyIds>
<CreationDate>2026-01-09T14:12:23.9146134+00:00</CreationDate>
<Id>2fb67f2c-7c7c-40f8-839d-5974d3b40c7b</Id>
<IsDeleted>true</IsDeleted>
<ManagerGroupId>3f688ac4-48b0-48c7-9076-519c1a861909</ManagerGroupId>
<Name>sample string 3</Name>
<ProductIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:guid>1baaba0f-915c-481c-bffb-fc0eede333c1</d4p1:guid>
<d4p1:guid>ec890b2c-5e05-449d-b916-b4852173ddff</d4p1:guid>
</ProductIds>
</CampaignDto>
</Campaigns>
<CompanyReference>sample string 4</CompanyReference>
<CreationDate>2026-01-09T14:12:23.9146134+00:00</CreationDate>
<Id>5070d835-e574-4eb8-ba0f-683bd947ca3a</Id>
<IsDeleted>true</IsDeleted>
<ManagerGroupId>61902a15-aade-42a6-982c-39144104b4ac</ManagerGroupId>
<Name>sample string 3</Name>
</CompanyDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.