POST api/invites/persons/search

Request Information

URI Parameters

None.

Body Parameters

InviteCriteriaDto
NameDescriptionTypeAdditional information
CampaignId

globally unique identifier

None.

Id

globally unique identifier

None.

PersonId

globally unique identifier

None.

PromotionalEventId

globally unique identifier

None.

AppointmentStartBefore

date

None.

AppointmentStartAfter

date

None.

EventStartBefore

date

None.

EventStartAfter

date

None.

Booked

boolean

None.

Attended

boolean

None.

Purchased

boolean

None.

InteractionCriteria

CommunicationInteractionCriteriaDto

None.

AddressStatusCriteria

AddressStatusCriteriaDto

None.

ReceiveSmsCommunications

boolean

None.

ReceiveEmailCommunications

boolean

None.

ReceiveMailCommunications

boolean

None.

WithAddressPropertyNames

Collection of string

None.

WithAddressPropertyValues

Collection of string

None.

HasEmailAddress

boolean

None.

HasTelephone

boolean

None.

HasPostalCode

boolean

None.

IsDeleted

boolean

None.

SecurityGroupIds

Collection of globally unique identifier

None.

Pagination

PaginationCriteriaDto

None.

Request Formats

application/json, text/json

Sample:
{
  "CampaignId": "a18e65f4-4286-491b-8b93-912bd71252e4",
  "Id": "cfd1172e-df57-4697-bc52-156404cdb2a8",
  "PersonId": "f41db4bf-06e4-4228-8fc9-143e830e5282",
  "PromotionalEventId": "355c0dfc-c7f6-48b7-8ee9-eae0c967736f",
  "AppointmentStartBefore": "2025-12-11T00:42:39.4910383+00:00",
  "AppointmentStartAfter": "2025-12-11T00:42:39.4910383+00:00",
  "EventStartBefore": "2025-12-11T00:42:39.4910383+00:00",
  "EventStartAfter": "2025-12-11T00:42:39.4910383+00:00",
  "Booked": true,
  "Attended": true,
  "Purchased": true,
  "InteractionCriteria": {
    "CommunicationId": "e6b63a94-0c3f-4536-b011-32f4d39adc1f",
    "InteractionType": 0,
    "InteractionTypeNot": 0
  },
  "AddressStatusCriteria": {
    "AddressStatus": 0,
    "AddressStatusNot": 0
  },
  "ReceiveSmsCommunications": true,
  "ReceiveEmailCommunications": true,
  "ReceiveMailCommunications": true,
  "WithAddressPropertyNames": [
    "sample string 1",
    "sample string 2"
  ],
  "WithAddressPropertyValues": [
    "sample string 1",
    "sample string 2"
  ],
  "HasEmailAddress": true,
  "HasTelephone": true,
  "HasPostalCode": true,
  "IsDeleted": true,
  "SecurityGroupIds": [
    "831d9d00-8133-4c22-8006-c9502d4561f6",
    "8ae1c1f2-5844-4ced-8c72-0abf26956af7"
  ],
  "Pagination": {
    "PageNumber": 1,
    "PageSize": 1
  }
}

application/xml, text/xml

Sample:
<InviteCriteriaDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aardvark.EventManagement.Models">
  <AddressStatusCriteria>
    <AddressStatus>Ok</AddressStatus>
    <AddressStatusNot>Ok</AddressStatusNot>
  </AddressStatusCriteria>
  <AppointmentStartAfter>2025-12-11T00:42:39.4910383+00:00</AppointmentStartAfter>
  <AppointmentStartBefore>2025-12-11T00:42:39.4910383+00:00</AppointmentStartBefore>
  <Attended>true</Attended>
  <Booked>true</Booked>
  <CampaignId>a18e65f4-4286-491b-8b93-912bd71252e4</CampaignId>
  <EventStartAfter>2025-12-11T00:42:39.4910383+00:00</EventStartAfter>
  <EventStartBefore>2025-12-11T00:42:39.4910383+00:00</EventStartBefore>
  <HasEmailAddress>true</HasEmailAddress>
  <HasPostalCode>true</HasPostalCode>
  <HasTelephone>true</HasTelephone>
  <Id>cfd1172e-df57-4697-bc52-156404cdb2a8</Id>
  <InteractionCriteria>
    <CommunicationId>e6b63a94-0c3f-4536-b011-32f4d39adc1f</CommunicationId>
    <InteractionType>Undefined</InteractionType>
    <InteractionTypeNot>Undefined</InteractionTypeNot>
  </InteractionCriteria>
  <IsDeleted>true</IsDeleted>
  <Pagination>
    <PageNumber>1</PageNumber>
    <PageSize>1</PageSize>
  </Pagination>
  <PersonId>f41db4bf-06e4-4228-8fc9-143e830e5282</PersonId>
  <PromotionalEventId>355c0dfc-c7f6-48b7-8ee9-eae0c967736f</PromotionalEventId>
  <Purchased>true</Purchased>
  <ReceiveEmailCommunications>true</ReceiveEmailCommunications>
  <ReceiveMailCommunications>true</ReceiveMailCommunications>
  <ReceiveSmsCommunications>true</ReceiveSmsCommunications>
  <SecurityGroupIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:guid>831d9d00-8133-4c22-8006-c9502d4561f6</d2p1:guid>
    <d2p1:guid>8ae1c1f2-5844-4ced-8c72-0abf26956af7</d2p1:guid>
  </SecurityGroupIds>
  <WithAddressPropertyNames xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </WithAddressPropertyNames>
  <WithAddressPropertyValues xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </WithAddressPropertyValues>
</InviteCriteriaDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.