POST api/v1/Waitinglists
Request Information
URI Parameters
None.
Body Parameters
CreateWaitingListModel| Name | Description | Type | Additional information |
|---|---|---|---|
| DoctorName | string |
None. |
|
| DoctorNameAr | string |
None. |
|
| AccountKey | string |
None. |
|
| ExpectedStartingDate | date |
None. |
|
| WaitingDuration | integer |
None. |
|
| RoomKey | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"DoctorName": "sample string 1",
"DoctorNameAr": "sample string 2",
"AccountKey": "sample string 3",
"ExpectedStartingDate": "2026-01-01T21:11:03.8513061+02:00",
"WaitingDuration": 5,
"RoomKey": "sample string 6"
}
application/xml, text/xml
Sample:
<CreateWaitingListModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WaitingListApi.Models.Classes"> <AccountKey>sample string 3</AccountKey> <DoctorName>sample string 1</DoctorName> <DoctorNameAr>sample string 2</DoctorNameAr> <ExpectedStartingDate>2026-01-01T21:11:03.8513061+02:00</ExpectedStartingDate> <RoomKey>sample string 6</RoomKey> <WaitingDuration>5</WaitingDuration> </CreateWaitingListModel>
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. |