POST api/v1/guests
Request Information
URI Parameters
None.
Body Parameters
AddGuestToWaitingListModel| Name | Description | Type | Additional information |
|---|---|---|---|
| OperationKey | string |
None. |
|
| GuestType | GuestTypeEnum |
None. |
|
| MobileNumber | string |
None. |
|
| RoomKey | string |
None. |
|
| ExpectedStartingDate | date |
None. |
|
| WaitingDuration | integer |
None. |
|
| AccountKey | string |
None. |
|
| DoctorName | string |
None. |
|
| DoctorNameAr | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"OperationKey": "sample string 1",
"GuestType": 0,
"MobileNumber": "sample string 2",
"RoomKey": "sample string 3",
"ExpectedStartingDate": "2026-01-01T21:09:53.7610842+02:00",
"WaitingDuration": 5,
"AccountKey": "sample string 6",
"DoctorName": "sample string 7",
"DoctorNameAr": "sample string 8"
}
application/xml, text/xml
Sample:
<AddGuestToWaitingListModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WaitingListApi.Models.Classes"> <AccountKey>sample string 6</AccountKey> <DoctorName>sample string 7</DoctorName> <DoctorNameAr>sample string 8</DoctorNameAr> <ExpectedStartingDate>2026-01-01T21:09:53.7610842+02:00</ExpectedStartingDate> <GuestType>Ordinary</GuestType> <MobileNumber>sample string 2</MobileNumber> <OperationKey>sample string 1</OperationKey> <RoomKey>sample string 3</RoomKey> <WaitingDuration>5</WaitingDuration> </AddGuestToWaitingListModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |