POST api/company/search

Request Information

URI Parameters

None.

Body Parameters

CompanyCriteriaDto
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

CampaignId

globally unique identifier

None.

Reference

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "9d9c7ccf-4eb3-4866-a3a0-e89fbc8c7641",
  "CampaignId": "4e56c812-b065-445e-b65b-e9aa9072773e",
  "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>4e56c812-b065-445e-b65b-e9aa9072773e</CampaignId>
  <Id>9d9c7ccf-4eb3-4866-a3a0-e89fbc8c7641</Id>
  <Reference>sample string 1</Reference>
</CompanyCriteriaDto>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'CompanyCriteriaDto'.

Response Information

Resource Description

Collection of CompanyDto
NameDescriptionTypeAdditional 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": "f04b7c9d-23df-4917-98fe-0328686da009",
    "CreationDate": "2026-01-10T00:50:57.8817976+00:00",
    "Name": "sample string 3",
    "CompanyReference": "sample string 4",
    "ManagerGroupId": "68400e18-1a65-45ee-ad08-a37d3ec3c0f3",
    "IsDeleted": true,
    "Campaigns": [
      {
        "Id": "617c204a-ce70-4598-87dd-bff1c56b93d9",
        "CreationDate": "2026-01-10T00:50:57.8817976+00:00",
        "Name": "sample string 3",
        "ManagerGroupId": "dfd34a93-7bc4-42e5-845a-1864095d441d",
        "CompanyIds": [
          "4011ed78-6570-496e-8bf1-c9cb0e875aeb",
          "5b1fffec-6dcc-4f10-879c-7dc7abc2ecf7"
        ],
        "IsDeleted": true,
        "BrandIds": [
          "3a1685d6-50b1-4415-8e55-fc7835d21513",
          "26692e0d-6836-4b55-bc7f-1c47022d2f8e"
        ],
        "ProductIds": [
          "62a6cc81-c12f-4d64-8aa8-4a50998bfddc",
          "5ce7f0fe-957c-4954-827a-a9d8f5829d44"
        ],
        "CampaignTypeId": "04734f7e-b0fa-4e14-8e4a-98bfb5798a6e"
      },
      {
        "Id": "617c204a-ce70-4598-87dd-bff1c56b93d9",
        "CreationDate": "2026-01-10T00:50:57.8817976+00:00",
        "Name": "sample string 3",
        "ManagerGroupId": "dfd34a93-7bc4-42e5-845a-1864095d441d",
        "CompanyIds": [
          "4011ed78-6570-496e-8bf1-c9cb0e875aeb",
          "5b1fffec-6dcc-4f10-879c-7dc7abc2ecf7"
        ],
        "IsDeleted": true,
        "BrandIds": [
          "3a1685d6-50b1-4415-8e55-fc7835d21513",
          "26692e0d-6836-4b55-bc7f-1c47022d2f8e"
        ],
        "ProductIds": [
          "62a6cc81-c12f-4d64-8aa8-4a50998bfddc",
          "5ce7f0fe-957c-4954-827a-a9d8f5829d44"
        ],
        "CampaignTypeId": "04734f7e-b0fa-4e14-8e4a-98bfb5798a6e"
      }
    ]
  },
  {
    "Id": "f04b7c9d-23df-4917-98fe-0328686da009",
    "CreationDate": "2026-01-10T00:50:57.8817976+00:00",
    "Name": "sample string 3",
    "CompanyReference": "sample string 4",
    "ManagerGroupId": "68400e18-1a65-45ee-ad08-a37d3ec3c0f3",
    "IsDeleted": true,
    "Campaigns": [
      {
        "Id": "617c204a-ce70-4598-87dd-bff1c56b93d9",
        "CreationDate": "2026-01-10T00:50:57.8817976+00:00",
        "Name": "sample string 3",
        "ManagerGroupId": "dfd34a93-7bc4-42e5-845a-1864095d441d",
        "CompanyIds": [
          "4011ed78-6570-496e-8bf1-c9cb0e875aeb",
          "5b1fffec-6dcc-4f10-879c-7dc7abc2ecf7"
        ],
        "IsDeleted": true,
        "BrandIds": [
          "3a1685d6-50b1-4415-8e55-fc7835d21513",
          "26692e0d-6836-4b55-bc7f-1c47022d2f8e"
        ],
        "ProductIds": [
          "62a6cc81-c12f-4d64-8aa8-4a50998bfddc",
          "5ce7f0fe-957c-4954-827a-a9d8f5829d44"
        ],
        "CampaignTypeId": "04734f7e-b0fa-4e14-8e4a-98bfb5798a6e"
      },
      {
        "Id": "617c204a-ce70-4598-87dd-bff1c56b93d9",
        "CreationDate": "2026-01-10T00:50:57.8817976+00:00",
        "Name": "sample string 3",
        "ManagerGroupId": "dfd34a93-7bc4-42e5-845a-1864095d441d",
        "CompanyIds": [
          "4011ed78-6570-496e-8bf1-c9cb0e875aeb",
          "5b1fffec-6dcc-4f10-879c-7dc7abc2ecf7"
        ],
        "IsDeleted": true,
        "BrandIds": [
          "3a1685d6-50b1-4415-8e55-fc7835d21513",
          "26692e0d-6836-4b55-bc7f-1c47022d2f8e"
        ],
        "ProductIds": [
          "62a6cc81-c12f-4d64-8aa8-4a50998bfddc",
          "5ce7f0fe-957c-4954-827a-a9d8f5829d44"
        ],
        "CampaignTypeId": "04734f7e-b0fa-4e14-8e4a-98bfb5798a6e"
      }
    ]
  }
]

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>3a1685d6-50b1-4415-8e55-fc7835d21513</d5p1:guid>
          <d5p1:guid>26692e0d-6836-4b55-bc7f-1c47022d2f8e</d5p1:guid>
        </BrandIds>
        <CampaignTypeId>04734f7e-b0fa-4e14-8e4a-98bfb5798a6e</CampaignTypeId>
        <CompanyIds xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:guid>4011ed78-6570-496e-8bf1-c9cb0e875aeb</d5p1:guid>
          <d5p1:guid>5b1fffec-6dcc-4f10-879c-7dc7abc2ecf7</d5p1:guid>
        </CompanyIds>
        <CreationDate>2026-01-10T00:50:57.8817976+00:00</CreationDate>
        <Id>617c204a-ce70-4598-87dd-bff1c56b93d9</Id>
        <IsDeleted>true</IsDeleted>
        <ManagerGroupId>dfd34a93-7bc4-42e5-845a-1864095d441d</ManagerGroupId>
        <Name>sample string 3</Name>
        <ProductIds xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:guid>62a6cc81-c12f-4d64-8aa8-4a50998bfddc</d5p1:guid>
          <d5p1:guid>5ce7f0fe-957c-4954-827a-a9d8f5829d44</d5p1:guid>
        </ProductIds>
      </CampaignDto>
      <CampaignDto>
        <BrandIds xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:guid>3a1685d6-50b1-4415-8e55-fc7835d21513</d5p1:guid>
          <d5p1:guid>26692e0d-6836-4b55-bc7f-1c47022d2f8e</d5p1:guid>
        </BrandIds>
        <CampaignTypeId>04734f7e-b0fa-4e14-8e4a-98bfb5798a6e</CampaignTypeId>
        <CompanyIds xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:guid>4011ed78-6570-496e-8bf1-c9cb0e875aeb</d5p1:guid>
          <d5p1:guid>5b1fffec-6dcc-4f10-879c-7dc7abc2ecf7</d5p1:guid>
        </CompanyIds>
        <CreationDate>2026-01-10T00:50:57.8817976+00:00</CreationDate>
        <Id>617c204a-ce70-4598-87dd-bff1c56b93d9</Id>
        <IsDeleted>true</IsDeleted>
        <ManagerGroupId>dfd34a93-7bc4-42e5-845a-1864095d441d</ManagerGroupId>
        <Name>sample string 3</Name>
        <ProductIds xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:guid>62a6cc81-c12f-4d64-8aa8-4a50998bfddc</d5p1:guid>
          <d5p1:guid>5ce7f0fe-957c-4954-827a-a9d8f5829d44</d5p1:guid>
        </ProductIds>
      </CampaignDto>
    </Campaigns>
    <CompanyReference>sample string 4</CompanyReference>
    <CreationDate>2026-01-10T00:50:57.8817976+00:00</CreationDate>
    <Id>f04b7c9d-23df-4917-98fe-0328686da009</Id>
    <IsDeleted>true</IsDeleted>
    <ManagerGroupId>68400e18-1a65-45ee-ad08-a37d3ec3c0f3</ManagerGroupId>
    <Name>sample string 3</Name>
  </CompanyDto>
  <CompanyDto>
    <Campaigns>
      <CampaignDto>
        <BrandIds xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:guid>3a1685d6-50b1-4415-8e55-fc7835d21513</d5p1:guid>
          <d5p1:guid>26692e0d-6836-4b55-bc7f-1c47022d2f8e</d5p1:guid>
        </BrandIds>
        <CampaignTypeId>04734f7e-b0fa-4e14-8e4a-98bfb5798a6e</CampaignTypeId>
        <CompanyIds xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:guid>4011ed78-6570-496e-8bf1-c9cb0e875aeb</d5p1:guid>
          <d5p1:guid>5b1fffec-6dcc-4f10-879c-7dc7abc2ecf7</d5p1:guid>
        </CompanyIds>
        <CreationDate>2026-01-10T00:50:57.8817976+00:00</CreationDate>
        <Id>617c204a-ce70-4598-87dd-bff1c56b93d9</Id>
        <IsDeleted>true</IsDeleted>
        <ManagerGroupId>dfd34a93-7bc4-42e5-845a-1864095d441d</ManagerGroupId>
        <Name>sample string 3</Name>
        <ProductIds xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:guid>62a6cc81-c12f-4d64-8aa8-4a50998bfddc</d5p1:guid>
          <d5p1:guid>5ce7f0fe-957c-4954-827a-a9d8f5829d44</d5p1:guid>
        </ProductIds>
      </CampaignDto>
      <CampaignDto>
        <BrandIds xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:guid>3a1685d6-50b1-4415-8e55-fc7835d21513</d5p1:guid>
          <d5p1:guid>26692e0d-6836-4b55-bc7f-1c47022d2f8e</d5p1:guid>
        </BrandIds>
        <CampaignTypeId>04734f7e-b0fa-4e14-8e4a-98bfb5798a6e</CampaignTypeId>
        <CompanyIds xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:guid>4011ed78-6570-496e-8bf1-c9cb0e875aeb</d5p1:guid>
          <d5p1:guid>5b1fffec-6dcc-4f10-879c-7dc7abc2ecf7</d5p1:guid>
        </CompanyIds>
        <CreationDate>2026-01-10T00:50:57.8817976+00:00</CreationDate>
        <Id>617c204a-ce70-4598-87dd-bff1c56b93d9</Id>
        <IsDeleted>true</IsDeleted>
        <ManagerGroupId>dfd34a93-7bc4-42e5-845a-1864095d441d</ManagerGroupId>
        <Name>sample string 3</Name>
        <ProductIds xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:guid>62a6cc81-c12f-4d64-8aa8-4a50998bfddc</d5p1:guid>
          <d5p1:guid>5ce7f0fe-957c-4954-827a-a9d8f5829d44</d5p1:guid>
        </ProductIds>
      </CampaignDto>
    </Campaigns>
    <CompanyReference>sample string 4</CompanyReference>
    <CreationDate>2026-01-10T00:50:57.8817976+00:00</CreationDate>
    <Id>f04b7c9d-23df-4917-98fe-0328686da009</Id>
    <IsDeleted>true</IsDeleted>
    <ManagerGroupId>68400e18-1a65-45ee-ad08-a37d3ec3c0f3</ManagerGroupId>
    <Name>sample string 3</Name>
  </CompanyDto>
</ArrayOfCompanyDto>