POST api/Vacation/GetVacations
Request Information
URI Parameters
None.
Body Parameters
GetAccountRoomVacationsModel| Name | Description | Type | Additional information |
|---|---|---|---|
| AccountRooms | Collection of AccountRoomModel |
None. |
|
| From | date |
None. |
|
| To | date |
None. |
|
| VacationKey | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"AccountRooms": [
{
"AccountKey": "sample string 1",
"RoomKey": "sample string 2",
"SpecialtyGroupId": 3,
"BranchKey": "sample string 4"
},
{
"AccountKey": "sample string 1",
"RoomKey": "sample string 2",
"SpecialtyGroupId": 3,
"BranchKey": "sample string 4"
}
],
"From": "2025-12-10T12:39:54.8430051+02:00",
"To": "2025-12-10T12:39:54.8430051+02:00",
"VacationKey": "sample string 3"
}
application/xml, text/xml
Sample:
<GetAccountRoomVacationsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Vezeeta.Schedule.Models.Schedule.Vacations">
<CreatedBy>sample string 5</CreatedBy>
<CreatedOn>2025-12-10T12:39:54.8430051+02:00</CreatedOn>
<From>2025-12-10T12:39:54.8430051+02:00</From>
<To>2025-12-10T12:39:54.8430051+02:00</To>
<VacationKey>sample string 3</VacationKey>
<AccountRooms xmlns:d2p1="http://schemas.datacontract.org/2004/07/Vezeeta.Schedule.Models">
<d2p1:AccountRoomModel>
<d2p1:AccountKey>sample string 1</d2p1:AccountKey>
<d2p1:BranchKey>sample string 4</d2p1:BranchKey>
<d2p1:RoomKey>sample string 2</d2p1:RoomKey>
<d2p1:SpecialtyGroupId>3</d2p1:SpecialtyGroupId>
</d2p1:AccountRoomModel>
<d2p1:AccountRoomModel>
<d2p1:AccountKey>sample string 1</d2p1:AccountKey>
<d2p1:BranchKey>sample string 4</d2p1:BranchKey>
<d2p1:RoomKey>sample string 2</d2p1:RoomKey>
<d2p1:SpecialtyGroupId>3</d2p1:SpecialtyGroupId>
</d2p1:AccountRoomModel>
</AccountRooms>
</GetAccountRoomVacationsModel>
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. |