POST api/invites
Creates an invite from the given
Request Information
URI Parameters
None.
Body Parameters
InviteDto| Name | Description | Type | Additional information |
|---|---|---|---|
| InviteKeys | Collection of InviteKeyDto |
None. |
|
| Id | globally unique identifier |
None. |
|
| CreationDate | date |
None. |
|
| AppointmentId | globally unique identifier |
None. |
|
| PersonId | globally unique identifier |
None. |
|
| PromotionalEventId | globally unique identifier |
None. |
|
| IsDeleted | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"InviteKeys": [
{
"Key": "sample string 1",
"CreationDate": "2026-01-10T00:54:52.8399651+00:00",
"InviteId": "59b20f8e-eb57-4cf9-9346-37e2292040a3",
"CommunicationId": "9e245ada-2fcc-4fac-84b7-bb05487bfdab",
"CommunicationName": "sample string 5",
"CommunicationType": "sample string 6"
},
{
"Key": "sample string 1",
"CreationDate": "2026-01-10T00:54:52.8399651+00:00",
"InviteId": "59b20f8e-eb57-4cf9-9346-37e2292040a3",
"CommunicationId": "9e245ada-2fcc-4fac-84b7-bb05487bfdab",
"CommunicationName": "sample string 5",
"CommunicationType": "sample string 6"
}
],
"Id": "4c2fd68a-3229-4821-9661-9c0f4f05c401",
"CreationDate": "2026-01-10T00:54:52.8399651+00:00",
"AppointmentId": "6542d4fe-087a-47e0-aab2-fc2aac734338",
"PersonId": "6b732f90-bf06-4377-947e-e5545ab9edf1",
"PromotionalEventId": "c6be3620-f8c4-47f0-9e72-73a55042b1a3",
"IsDeleted": true
}
application/xml, text/xml
Sample:
<InviteDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aardvark.EventManagement.Models">
<AppointmentId>6542d4fe-087a-47e0-aab2-fc2aac734338</AppointmentId>
<CreationDate>2026-01-10T00:54:52.8399651+00:00</CreationDate>
<Id>4c2fd68a-3229-4821-9661-9c0f4f05c401</Id>
<IsDeleted>true</IsDeleted>
<PersonId>6b732f90-bf06-4377-947e-e5545ab9edf1</PersonId>
<PromotionalEventId>c6be3620-f8c4-47f0-9e72-73a55042b1a3</PromotionalEventId>
<InviteKeys>
<InviteKeyDto>
<CommunicationId>9e245ada-2fcc-4fac-84b7-bb05487bfdab</CommunicationId>
<CommunicationName>sample string 5</CommunicationName>
<CommunicationType>sample string 6</CommunicationType>
<CreationDate>2026-01-10T00:54:52.8399651+00:00</CreationDate>
<InviteId>59b20f8e-eb57-4cf9-9346-37e2292040a3</InviteId>
<Key>sample string 1</Key>
</InviteKeyDto>
<InviteKeyDto>
<CommunicationId>9e245ada-2fcc-4fac-84b7-bb05487bfdab</CommunicationId>
<CommunicationName>sample string 5</CommunicationName>
<CommunicationType>sample string 6</CommunicationType>
<CreationDate>2026-01-10T00:54:52.8399651+00:00</CreationDate>
<InviteId>59b20f8e-eb57-4cf9-9346-37e2292040a3</InviteId>
<Key>sample string 1</Key>
</InviteKeyDto>
</InviteKeys>
</InviteDto>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
None.