PUT api/company/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | 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": "03b6646b-37ce-48ef-8167-f64cb54a8f6c",
"CreationDate": "2026-01-10T00:50:39.1419832+00:00",
"Name": "sample string 3",
"CompanyReference": "sample string 4",
"ManagerGroupId": "6c6a326f-b4e9-4b7d-9b77-854e809a5947",
"IsDeleted": true,
"Campaigns": [
{
"Id": "56a7940f-2121-4eb9-8963-447366cb60c1",
"CreationDate": "2026-01-10T00:50:39.1419832+00:00",
"Name": "sample string 3",
"ManagerGroupId": "aee5c9eb-429b-4241-8398-7bf8a549695d",
"CompanyIds": [
"1c70089c-2d02-439f-9054-55178069d61c",
"d63b87b1-9d5b-48d6-9fd9-406c3a7284fd"
],
"IsDeleted": true,
"BrandIds": [
"7b6aa200-252f-4357-aa1b-791b4f757b79",
"34f3df4a-2bea-4188-ba24-945d1c9e0c2b"
],
"ProductIds": [
"0453290b-548c-4a54-bc13-12054d1c657f",
"503a2801-9b9f-48a1-aae9-55614231a028"
],
"CampaignTypeId": "7e1c4e76-96a5-4ed2-9e5b-8d7032b32098"
},
{
"Id": "56a7940f-2121-4eb9-8963-447366cb60c1",
"CreationDate": "2026-01-10T00:50:39.1419832+00:00",
"Name": "sample string 3",
"ManagerGroupId": "aee5c9eb-429b-4241-8398-7bf8a549695d",
"CompanyIds": [
"1c70089c-2d02-439f-9054-55178069d61c",
"d63b87b1-9d5b-48d6-9fd9-406c3a7284fd"
],
"IsDeleted": true,
"BrandIds": [
"7b6aa200-252f-4357-aa1b-791b4f757b79",
"34f3df4a-2bea-4188-ba24-945d1c9e0c2b"
],
"ProductIds": [
"0453290b-548c-4a54-bc13-12054d1c657f",
"503a2801-9b9f-48a1-aae9-55614231a028"
],
"CampaignTypeId": "7e1c4e76-96a5-4ed2-9e5b-8d7032b32098"
}
]
}
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>7b6aa200-252f-4357-aa1b-791b4f757b79</d4p1:guid>
<d4p1:guid>34f3df4a-2bea-4188-ba24-945d1c9e0c2b</d4p1:guid>
</BrandIds>
<CampaignTypeId>7e1c4e76-96a5-4ed2-9e5b-8d7032b32098</CampaignTypeId>
<CompanyIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:guid>1c70089c-2d02-439f-9054-55178069d61c</d4p1:guid>
<d4p1:guid>d63b87b1-9d5b-48d6-9fd9-406c3a7284fd</d4p1:guid>
</CompanyIds>
<CreationDate>2026-01-10T00:50:39.1419832+00:00</CreationDate>
<Id>56a7940f-2121-4eb9-8963-447366cb60c1</Id>
<IsDeleted>true</IsDeleted>
<ManagerGroupId>aee5c9eb-429b-4241-8398-7bf8a549695d</ManagerGroupId>
<Name>sample string 3</Name>
<ProductIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:guid>0453290b-548c-4a54-bc13-12054d1c657f</d4p1:guid>
<d4p1:guid>503a2801-9b9f-48a1-aae9-55614231a028</d4p1:guid>
</ProductIds>
</CampaignDto>
<CampaignDto>
<BrandIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:guid>7b6aa200-252f-4357-aa1b-791b4f757b79</d4p1:guid>
<d4p1:guid>34f3df4a-2bea-4188-ba24-945d1c9e0c2b</d4p1:guid>
</BrandIds>
<CampaignTypeId>7e1c4e76-96a5-4ed2-9e5b-8d7032b32098</CampaignTypeId>
<CompanyIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:guid>1c70089c-2d02-439f-9054-55178069d61c</d4p1:guid>
<d4p1:guid>d63b87b1-9d5b-48d6-9fd9-406c3a7284fd</d4p1:guid>
</CompanyIds>
<CreationDate>2026-01-10T00:50:39.1419832+00:00</CreationDate>
<Id>56a7940f-2121-4eb9-8963-447366cb60c1</Id>
<IsDeleted>true</IsDeleted>
<ManagerGroupId>aee5c9eb-429b-4241-8398-7bf8a549695d</ManagerGroupId>
<Name>sample string 3</Name>
<ProductIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:guid>0453290b-548c-4a54-bc13-12054d1c657f</d4p1:guid>
<d4p1:guid>503a2801-9b9f-48a1-aae9-55614231a028</d4p1:guid>
</ProductIds>
</CampaignDto>
</Campaigns>
<CompanyReference>sample string 4</CompanyReference>
<CreationDate>2026-01-10T00:50:39.1419832+00:00</CreationDate>
<Id>03b6646b-37ce-48ef-8167-f64cb54a8f6c</Id>
<IsDeleted>true</IsDeleted>
<ManagerGroupId>6c6a326f-b4e9-4b7d-9b77-854e809a5947</ManagerGroupId>
<Name>sample string 3</Name>
</CompanyDto>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
None.