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": "005be3b4-91c2-45b7-aa8c-7ed605ccbc39",
"CreationDate": "2025-12-11T00:43:18.4604966+00:00",
"Name": "sample string 3",
"CompanyReference": "sample string 4",
"ManagerGroupId": "a678b0db-e7a4-4b45-a7e0-c8f5256afbd6",
"IsDeleted": true,
"Campaigns": [
{
"Id": "fbe809f9-f41a-4704-a8ae-56978a17a6f9",
"CreationDate": "2025-12-11T00:43:18.4604966+00:00",
"Name": "sample string 3",
"ManagerGroupId": "04f4dc80-fb8c-4d2c-83fa-a66d6bded25a",
"CompanyIds": [
"0488955f-60a1-400c-a9a7-b6da60654de6",
"f086087c-4415-435a-9cd3-02a505a88772"
],
"IsDeleted": true,
"BrandIds": [
"91eb35d5-1603-4cbd-82c3-b748f7554e5c",
"4cda7657-879b-46a3-815f-766048fc7222"
],
"ProductIds": [
"9f4cde68-0ee7-4dbc-b532-a5f01f6cdc0b",
"f1e2f1f5-7755-4b15-a742-1dc04548386e"
],
"CampaignTypeId": "7d7d8409-97cc-4c78-95e0-679d0e11123b"
},
{
"Id": "fbe809f9-f41a-4704-a8ae-56978a17a6f9",
"CreationDate": "2025-12-11T00:43:18.4604966+00:00",
"Name": "sample string 3",
"ManagerGroupId": "04f4dc80-fb8c-4d2c-83fa-a66d6bded25a",
"CompanyIds": [
"0488955f-60a1-400c-a9a7-b6da60654de6",
"f086087c-4415-435a-9cd3-02a505a88772"
],
"IsDeleted": true,
"BrandIds": [
"91eb35d5-1603-4cbd-82c3-b748f7554e5c",
"4cda7657-879b-46a3-815f-766048fc7222"
],
"ProductIds": [
"9f4cde68-0ee7-4dbc-b532-a5f01f6cdc0b",
"f1e2f1f5-7755-4b15-a742-1dc04548386e"
],
"CampaignTypeId": "7d7d8409-97cc-4c78-95e0-679d0e11123b"
}
]
}
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>91eb35d5-1603-4cbd-82c3-b748f7554e5c</d4p1:guid>
<d4p1:guid>4cda7657-879b-46a3-815f-766048fc7222</d4p1:guid>
</BrandIds>
<CampaignTypeId>7d7d8409-97cc-4c78-95e0-679d0e11123b</CampaignTypeId>
<CompanyIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:guid>0488955f-60a1-400c-a9a7-b6da60654de6</d4p1:guid>
<d4p1:guid>f086087c-4415-435a-9cd3-02a505a88772</d4p1:guid>
</CompanyIds>
<CreationDate>2025-12-11T00:43:18.4604966+00:00</CreationDate>
<Id>fbe809f9-f41a-4704-a8ae-56978a17a6f9</Id>
<IsDeleted>true</IsDeleted>
<ManagerGroupId>04f4dc80-fb8c-4d2c-83fa-a66d6bded25a</ManagerGroupId>
<Name>sample string 3</Name>
<ProductIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:guid>9f4cde68-0ee7-4dbc-b532-a5f01f6cdc0b</d4p1:guid>
<d4p1:guid>f1e2f1f5-7755-4b15-a742-1dc04548386e</d4p1:guid>
</ProductIds>
</CampaignDto>
<CampaignDto>
<BrandIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:guid>91eb35d5-1603-4cbd-82c3-b748f7554e5c</d4p1:guid>
<d4p1:guid>4cda7657-879b-46a3-815f-766048fc7222</d4p1:guid>
</BrandIds>
<CampaignTypeId>7d7d8409-97cc-4c78-95e0-679d0e11123b</CampaignTypeId>
<CompanyIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:guid>0488955f-60a1-400c-a9a7-b6da60654de6</d4p1:guid>
<d4p1:guid>f086087c-4415-435a-9cd3-02a505a88772</d4p1:guid>
</CompanyIds>
<CreationDate>2025-12-11T00:43:18.4604966+00:00</CreationDate>
<Id>fbe809f9-f41a-4704-a8ae-56978a17a6f9</Id>
<IsDeleted>true</IsDeleted>
<ManagerGroupId>04f4dc80-fb8c-4d2c-83fa-a66d6bded25a</ManagerGroupId>
<Name>sample string 3</Name>
<ProductIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:guid>9f4cde68-0ee7-4dbc-b532-a5f01f6cdc0b</d4p1:guid>
<d4p1:guid>f1e2f1f5-7755-4b15-a742-1dc04548386e</d4p1:guid>
</ProductIds>
</CampaignDto>
</Campaigns>
<CompanyReference>sample string 4</CompanyReference>
<CreationDate>2025-12-11T00:43:18.4604966+00:00</CreationDate>
<Id>005be3b4-91c2-45b7-aa8c-7ed605ccbc39</Id>
<IsDeleted>true</IsDeleted>
<ManagerGroupId>a678b0db-e7a4-4b45-a7e0-c8f5256afbd6</ManagerGroupId>
<Name>sample string 3</Name>
</CompanyDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.