POST api/appointments/key/{key}
Sets the selected invite using the pUrl key for the given appointment time.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| key | string |
Required |
Body Parameters
AppointmentTimeDto| Name | Description | Type | Additional information |
|---|---|---|---|
| AvailableSlots | integer |
None. |
|
| EventId | globally unique identifier |
None. |
|
| StartTime | date |
None. |
|
| Bookings | Collection of AppointmentItemDto |
None. |
|
| SalesPeople | Collection of globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"AvailableSlots": 1,
"EventId": "1e7edd46-24a1-4325-85f8-a9867dc53162",
"StartTime": "2026-01-09T14:10:35.6886392+00:00",
"Bookings": [
{
"Id": "7732f1f3-4977-4cce-bbea-9195687e57c6",
"CreationDate": "2026-01-09T14:10:35.6886392+00:00",
"StartDate": "2026-01-09T14:10:35.6886392+00:00",
"EndDate": "2026-01-09T14:10:35.6886392+00:00",
"PromotionalEventId": "1eafc3a8-8541-4a98-a929-88d122226c71",
"InviteId": "b1cc0447-1098-49ed-9a33-c7e68f7c94b8",
"SalesPersonId": "fcdf15cf-acf1-402c-b43b-ad3e7d2ea635",
"PersonId": "f9d66ef6-4565-4818-8630-26cce583b5a2",
"PersonName": "sample string 5"
},
{
"Id": "7732f1f3-4977-4cce-bbea-9195687e57c6",
"CreationDate": "2026-01-09T14:10:35.6886392+00:00",
"StartDate": "2026-01-09T14:10:35.6886392+00:00",
"EndDate": "2026-01-09T14:10:35.6886392+00:00",
"PromotionalEventId": "1eafc3a8-8541-4a98-a929-88d122226c71",
"InviteId": "b1cc0447-1098-49ed-9a33-c7e68f7c94b8",
"SalesPersonId": "fcdf15cf-acf1-402c-b43b-ad3e7d2ea635",
"PersonId": "f9d66ef6-4565-4818-8630-26cce583b5a2",
"PersonName": "sample string 5"
}
],
"SalesPeople": [
"fc5bf1cd-24d7-4a19-91c4-8328f041b6c0",
"7932e0f4-a8db-4d15-9f0c-3e5f14bad64a"
]
}
application/xml, text/xml
Sample:
<AppointmentTimeDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aardvark.EventManagement.Models">
<AvailableSlots>1</AvailableSlots>
<Bookings>
<AppointmentItemDto>
<CreationDate>2026-01-09T14:10:35.6886392+00:00</CreationDate>
<EndDate>2026-01-09T14:10:35.6886392+00:00</EndDate>
<Id>7732f1f3-4977-4cce-bbea-9195687e57c6</Id>
<InviteId>b1cc0447-1098-49ed-9a33-c7e68f7c94b8</InviteId>
<PersonId>f9d66ef6-4565-4818-8630-26cce583b5a2</PersonId>
<PersonName>sample string 5</PersonName>
<PromotionalEventId>1eafc3a8-8541-4a98-a929-88d122226c71</PromotionalEventId>
<SalesPersonId>fcdf15cf-acf1-402c-b43b-ad3e7d2ea635</SalesPersonId>
<StartDate>2026-01-09T14:10:35.6886392+00:00</StartDate>
</AppointmentItemDto>
<AppointmentItemDto>
<CreationDate>2026-01-09T14:10:35.6886392+00:00</CreationDate>
<EndDate>2026-01-09T14:10:35.6886392+00:00</EndDate>
<Id>7732f1f3-4977-4cce-bbea-9195687e57c6</Id>
<InviteId>b1cc0447-1098-49ed-9a33-c7e68f7c94b8</InviteId>
<PersonId>f9d66ef6-4565-4818-8630-26cce583b5a2</PersonId>
<PersonName>sample string 5</PersonName>
<PromotionalEventId>1eafc3a8-8541-4a98-a929-88d122226c71</PromotionalEventId>
<SalesPersonId>fcdf15cf-acf1-402c-b43b-ad3e7d2ea635</SalesPersonId>
<StartDate>2026-01-09T14:10:35.6886392+00:00</StartDate>
</AppointmentItemDto>
</Bookings>
<EventId>1e7edd46-24a1-4325-85f8-a9867dc53162</EventId>
<SalesPeople xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>fc5bf1cd-24d7-4a19-91c4-8328f041b6c0</d2p1:guid>
<d2p1:guid>7932e0f4-a8db-4d15-9f0c-3e5f14bad64a</d2p1:guid>
</SalesPeople>
<StartTime>2026-01-09T14:10:35.6886392+00:00</StartTime>
</AppointmentTimeDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.