POST api/company/search
Returns companies that match the given .
Request Information
URI Parameters
None.
Body Parameters
CompanyCriteriaDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| CampaignId | globally unique identifier |
None. |
|
| SecurityGroupIds | Collection of globally unique identifier |
None. |
|
| Reference | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "379eef46-db95-40de-b927-2847efbb96ce",
"CampaignId": "55e9395a-b869-4495-a9e6-4286360aaf5c",
"SecurityGroupIds": [
"6e238187-c041-4235-b317-2ee5051849f0",
"102e5e58-9b6e-4a7f-bd0d-201a1347df5d"
],
"Reference": "sample string 1"
}
application/xml, text/xml
Sample:
<CompanyCriteriaDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aardvark.EventManagement.Models">
<CampaignId>55e9395a-b869-4495-a9e6-4286360aaf5c</CampaignId>
<Id>379eef46-db95-40de-b927-2847efbb96ce</Id>
<Reference>sample string 1</Reference>
<SecurityGroupIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>6e238187-c041-4235-b317-2ee5051849f0</d2p1:guid>
<d2p1:guid>102e5e58-9b6e-4a7f-bd0d-201a1347df5d</d2p1:guid>
</SecurityGroupIds>
</CompanyCriteriaDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of 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. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": "4039c2cf-b562-4205-b2d9-33f5647d3130",
"CreationDate": "2025-12-11T00:41:44.5911472+00:00",
"Name": "sample string 3",
"CompanyReference": "sample string 4",
"ManagerGroupId": "8c832395-9207-4c10-b815-c620a6ba9441",
"IsDeleted": true,
"Campaigns": [
{
"Id": "db2b0402-219a-4e43-b303-cdbc929e1231",
"CreationDate": "2025-12-11T00:41:44.5911472+00:00",
"Name": "sample string 3",
"ManagerGroupId": "c3b633e9-b828-4b1f-ad32-96dc71feee9f",
"CompanyIds": [
"ebf8dd02-1494-4cdf-b222-6eaf63da5cc0",
"8367e191-4ada-419b-af31-d14302a0d043"
],
"IsDeleted": true,
"BrandIds": [
"d5aae67d-4af0-4096-b215-d0cca29f67a8",
"5eae0b47-35a3-41c0-b500-a64ddb35d962"
],
"ProductIds": [
"1ab0609c-a556-41aa-9b6d-e64a6feceaa0",
"62b239a2-18a9-4a1f-a263-ad7c24c69aa7"
],
"CampaignTypeId": "3aee5018-9f93-4037-a01c-39fc7f4b8b11"
},
{
"Id": "db2b0402-219a-4e43-b303-cdbc929e1231",
"CreationDate": "2025-12-11T00:41:44.5911472+00:00",
"Name": "sample string 3",
"ManagerGroupId": "c3b633e9-b828-4b1f-ad32-96dc71feee9f",
"CompanyIds": [
"ebf8dd02-1494-4cdf-b222-6eaf63da5cc0",
"8367e191-4ada-419b-af31-d14302a0d043"
],
"IsDeleted": true,
"BrandIds": [
"d5aae67d-4af0-4096-b215-d0cca29f67a8",
"5eae0b47-35a3-41c0-b500-a64ddb35d962"
],
"ProductIds": [
"1ab0609c-a556-41aa-9b6d-e64a6feceaa0",
"62b239a2-18a9-4a1f-a263-ad7c24c69aa7"
],
"CampaignTypeId": "3aee5018-9f93-4037-a01c-39fc7f4b8b11"
}
]
},
{
"Id": "4039c2cf-b562-4205-b2d9-33f5647d3130",
"CreationDate": "2025-12-11T00:41:44.5911472+00:00",
"Name": "sample string 3",
"CompanyReference": "sample string 4",
"ManagerGroupId": "8c832395-9207-4c10-b815-c620a6ba9441",
"IsDeleted": true,
"Campaigns": [
{
"Id": "db2b0402-219a-4e43-b303-cdbc929e1231",
"CreationDate": "2025-12-11T00:41:44.5911472+00:00",
"Name": "sample string 3",
"ManagerGroupId": "c3b633e9-b828-4b1f-ad32-96dc71feee9f",
"CompanyIds": [
"ebf8dd02-1494-4cdf-b222-6eaf63da5cc0",
"8367e191-4ada-419b-af31-d14302a0d043"
],
"IsDeleted": true,
"BrandIds": [
"d5aae67d-4af0-4096-b215-d0cca29f67a8",
"5eae0b47-35a3-41c0-b500-a64ddb35d962"
],
"ProductIds": [
"1ab0609c-a556-41aa-9b6d-e64a6feceaa0",
"62b239a2-18a9-4a1f-a263-ad7c24c69aa7"
],
"CampaignTypeId": "3aee5018-9f93-4037-a01c-39fc7f4b8b11"
},
{
"Id": "db2b0402-219a-4e43-b303-cdbc929e1231",
"CreationDate": "2025-12-11T00:41:44.5911472+00:00",
"Name": "sample string 3",
"ManagerGroupId": "c3b633e9-b828-4b1f-ad32-96dc71feee9f",
"CompanyIds": [
"ebf8dd02-1494-4cdf-b222-6eaf63da5cc0",
"8367e191-4ada-419b-af31-d14302a0d043"
],
"IsDeleted": true,
"BrandIds": [
"d5aae67d-4af0-4096-b215-d0cca29f67a8",
"5eae0b47-35a3-41c0-b500-a64ddb35d962"
],
"ProductIds": [
"1ab0609c-a556-41aa-9b6d-e64a6feceaa0",
"62b239a2-18a9-4a1f-a263-ad7c24c69aa7"
],
"CampaignTypeId": "3aee5018-9f93-4037-a01c-39fc7f4b8b11"
}
]
}
]
application/xml, text/xml
Sample:
<ArrayOfCompanyDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aardvark.EventManagement.Models">
<CompanyDto>
<Campaigns>
<CampaignDto>
<BrandIds xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:guid>d5aae67d-4af0-4096-b215-d0cca29f67a8</d5p1:guid>
<d5p1:guid>5eae0b47-35a3-41c0-b500-a64ddb35d962</d5p1:guid>
</BrandIds>
<CampaignTypeId>3aee5018-9f93-4037-a01c-39fc7f4b8b11</CampaignTypeId>
<CompanyIds xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:guid>ebf8dd02-1494-4cdf-b222-6eaf63da5cc0</d5p1:guid>
<d5p1:guid>8367e191-4ada-419b-af31-d14302a0d043</d5p1:guid>
</CompanyIds>
<CreationDate>2025-12-11T00:41:44.5911472+00:00</CreationDate>
<Id>db2b0402-219a-4e43-b303-cdbc929e1231</Id>
<IsDeleted>true</IsDeleted>
<ManagerGroupId>c3b633e9-b828-4b1f-ad32-96dc71feee9f</ManagerGroupId>
<Name>sample string 3</Name>
<ProductIds xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:guid>1ab0609c-a556-41aa-9b6d-e64a6feceaa0</d5p1:guid>
<d5p1:guid>62b239a2-18a9-4a1f-a263-ad7c24c69aa7</d5p1:guid>
</ProductIds>
</CampaignDto>
<CampaignDto>
<BrandIds xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:guid>d5aae67d-4af0-4096-b215-d0cca29f67a8</d5p1:guid>
<d5p1:guid>5eae0b47-35a3-41c0-b500-a64ddb35d962</d5p1:guid>
</BrandIds>
<CampaignTypeId>3aee5018-9f93-4037-a01c-39fc7f4b8b11</CampaignTypeId>
<CompanyIds xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:guid>ebf8dd02-1494-4cdf-b222-6eaf63da5cc0</d5p1:guid>
<d5p1:guid>8367e191-4ada-419b-af31-d14302a0d043</d5p1:guid>
</CompanyIds>
<CreationDate>2025-12-11T00:41:44.5911472+00:00</CreationDate>
<Id>db2b0402-219a-4e43-b303-cdbc929e1231</Id>
<IsDeleted>true</IsDeleted>
<ManagerGroupId>c3b633e9-b828-4b1f-ad32-96dc71feee9f</ManagerGroupId>
<Name>sample string 3</Name>
<ProductIds xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:guid>1ab0609c-a556-41aa-9b6d-e64a6feceaa0</d5p1:guid>
<d5p1:guid>62b239a2-18a9-4a1f-a263-ad7c24c69aa7</d5p1:guid>
</ProductIds>
</CampaignDto>
</Campaigns>
<CompanyReference>sample string 4</CompanyReference>
<CreationDate>2025-12-11T00:41:44.5911472+00:00</CreationDate>
<Id>4039c2cf-b562-4205-b2d9-33f5647d3130</Id>
<IsDeleted>true</IsDeleted>
<ManagerGroupId>8c832395-9207-4c10-b815-c620a6ba9441</ManagerGroupId>
<Name>sample string 3</Name>
</CompanyDto>
<CompanyDto>
<Campaigns>
<CampaignDto>
<BrandIds xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:guid>d5aae67d-4af0-4096-b215-d0cca29f67a8</d5p1:guid>
<d5p1:guid>5eae0b47-35a3-41c0-b500-a64ddb35d962</d5p1:guid>
</BrandIds>
<CampaignTypeId>3aee5018-9f93-4037-a01c-39fc7f4b8b11</CampaignTypeId>
<CompanyIds xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:guid>ebf8dd02-1494-4cdf-b222-6eaf63da5cc0</d5p1:guid>
<d5p1:guid>8367e191-4ada-419b-af31-d14302a0d043</d5p1:guid>
</CompanyIds>
<CreationDate>2025-12-11T00:41:44.5911472+00:00</CreationDate>
<Id>db2b0402-219a-4e43-b303-cdbc929e1231</Id>
<IsDeleted>true</IsDeleted>
<ManagerGroupId>c3b633e9-b828-4b1f-ad32-96dc71feee9f</ManagerGroupId>
<Name>sample string 3</Name>
<ProductIds xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:guid>1ab0609c-a556-41aa-9b6d-e64a6feceaa0</d5p1:guid>
<d5p1:guid>62b239a2-18a9-4a1f-a263-ad7c24c69aa7</d5p1:guid>
</ProductIds>
</CampaignDto>
<CampaignDto>
<BrandIds xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:guid>d5aae67d-4af0-4096-b215-d0cca29f67a8</d5p1:guid>
<d5p1:guid>5eae0b47-35a3-41c0-b500-a64ddb35d962</d5p1:guid>
</BrandIds>
<CampaignTypeId>3aee5018-9f93-4037-a01c-39fc7f4b8b11</CampaignTypeId>
<CompanyIds xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:guid>ebf8dd02-1494-4cdf-b222-6eaf63da5cc0</d5p1:guid>
<d5p1:guid>8367e191-4ada-419b-af31-d14302a0d043</d5p1:guid>
</CompanyIds>
<CreationDate>2025-12-11T00:41:44.5911472+00:00</CreationDate>
<Id>db2b0402-219a-4e43-b303-cdbc929e1231</Id>
<IsDeleted>true</IsDeleted>
<ManagerGroupId>c3b633e9-b828-4b1f-ad32-96dc71feee9f</ManagerGroupId>
<Name>sample string 3</Name>
<ProductIds xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:guid>1ab0609c-a556-41aa-9b6d-e64a6feceaa0</d5p1:guid>
<d5p1:guid>62b239a2-18a9-4a1f-a263-ad7c24c69aa7</d5p1:guid>
</ProductIds>
</CampaignDto>
</Campaigns>
<CompanyReference>sample string 4</CompanyReference>
<CreationDate>2025-12-11T00:41:44.5911472+00:00</CreationDate>
<Id>4039c2cf-b562-4205-b2d9-33f5647d3130</Id>
<IsDeleted>true</IsDeleted>
<ManagerGroupId>8c832395-9207-4c10-b815-c620a6ba9441</ManagerGroupId>
<Name>sample string 3</Name>
</CompanyDto>
</ArrayOfCompanyDto>