POST api/Stay/UpdateFromPms
Request Information
URI Parameters
None.
Body Parameters
StaysPmsDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| Stay | Collection of StayPmsDTO |
None. |
Request Formats
application/json, text/json, text/html
Sample:
{
"stayField": [
{
"hotelCodeField": "sample string 1",
"stayIdField": "sample string 2",
"guestsField": [
{
"guestIdField": "sample string 1",
"ageField": 2,
"nationalityCodeField": "sample string 3",
"stayTaxField": "sample string 4",
"birthPlaceCodeField": "sample string 5",
"residencePlaceCodeField": "sample string 6",
"typeField": 7,
"genderField": 8,
"eMailField": "sample string 9",
"arrivalDateField": "2026-05-31T20:32:45.2841376+02:00",
"departureDateField": "2026-05-31T20:32:45.2841376+02:00",
"checkoutField": true,
"bedOccupancyField": true,
"roomsField": [
{
"roomIdField": "sample string 1",
"startDateField": "2026-05-31T20:32:45.2841376+02:00",
"endDateField": "2026-05-31T20:32:45.2841376+02:00"
},
{
"roomIdField": "sample string 1",
"startDateField": "2026-05-31T20:32:45.2841376+02:00",
"endDateField": "2026-05-31T20:32:45.2841376+02:00"
}
]
},
{
"guestIdField": "sample string 1",
"ageField": 2,
"nationalityCodeField": "sample string 3",
"stayTaxField": "sample string 4",
"birthPlaceCodeField": "sample string 5",
"residencePlaceCodeField": "sample string 6",
"typeField": 7,
"genderField": 8,
"eMailField": "sample string 9",
"arrivalDateField": "2026-05-31T20:32:45.2841376+02:00",
"departureDateField": "2026-05-31T20:32:45.2841376+02:00",
"checkoutField": true,
"bedOccupancyField": true,
"roomsField": [
{
"roomIdField": "sample string 1",
"startDateField": "2026-05-31T20:32:45.2841376+02:00",
"endDateField": "2026-05-31T20:32:45.2841376+02:00"
},
{
"roomIdField": "sample string 1",
"startDateField": "2026-05-31T20:32:45.2841376+02:00",
"endDateField": "2026-05-31T20:32:45.2841376+02:00"
}
]
}
]
},
{
"hotelCodeField": "sample string 1",
"stayIdField": "sample string 2",
"guestsField": [
{
"guestIdField": "sample string 1",
"ageField": 2,
"nationalityCodeField": "sample string 3",
"stayTaxField": "sample string 4",
"birthPlaceCodeField": "sample string 5",
"residencePlaceCodeField": "sample string 6",
"typeField": 7,
"genderField": 8,
"eMailField": "sample string 9",
"arrivalDateField": "2026-05-31T20:32:45.2841376+02:00",
"departureDateField": "2026-05-31T20:32:45.2841376+02:00",
"checkoutField": true,
"bedOccupancyField": true,
"roomsField": [
{
"roomIdField": "sample string 1",
"startDateField": "2026-05-31T20:32:45.2841376+02:00",
"endDateField": "2026-05-31T20:32:45.2841376+02:00"
},
{
"roomIdField": "sample string 1",
"startDateField": "2026-05-31T20:32:45.2841376+02:00",
"endDateField": "2026-05-31T20:32:45.2841376+02:00"
}
]
},
{
"guestIdField": "sample string 1",
"ageField": 2,
"nationalityCodeField": "sample string 3",
"stayTaxField": "sample string 4",
"birthPlaceCodeField": "sample string 5",
"residencePlaceCodeField": "sample string 6",
"typeField": 7,
"genderField": 8,
"eMailField": "sample string 9",
"arrivalDateField": "2026-05-31T20:32:45.2841376+02:00",
"departureDateField": "2026-05-31T20:32:45.2841376+02:00",
"checkoutField": true,
"bedOccupancyField": true,
"roomsField": [
{
"roomIdField": "sample string 1",
"startDateField": "2026-05-31T20:32:45.2841376+02:00",
"endDateField": "2026-05-31T20:32:45.2841376+02:00"
},
{
"roomIdField": "sample string 1",
"startDateField": "2026-05-31T20:32:45.2841376+02:00",
"endDateField": "2026-05-31T20:32:45.2841376+02:00"
}
]
}
]
}
]
}
application/x-www-form-urlencoded
Sample:
Sample not available.
application/xml, text/xml
Sample:
<StaysPmsDTO xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Stay>
<HotelCode>sample string 1</HotelCode>
<StayId>sample string 2</StayId>
<Guests>
<Guest>
<GuestId>sample string 1</GuestId>
<Age>2</Age>
<NationalityCode>sample string 3</NationalityCode>
<StayTax>sample string 4</StayTax>
<BirthPlaceCode>sample string 5</BirthPlaceCode>
<ResidencePlaceCode>sample string 6</ResidencePlaceCode>
<Type>7</Type>
<Gender>8</Gender>
<EMail>sample string 9</EMail>
<ArrivalDate>2026-05-31T20:32:45.2841376+02:00</ArrivalDate>
<DepartureDate>2026-05-31T20:32:45.2841376+02:00</DepartureDate>
<Checkout>true</Checkout>
<BedOccupancy>true</BedOccupancy>
<Rooms>
<Room>
<RoomId>sample string 1</RoomId>
<StartDate>2026-05-31T20:32:45.2841376+02:00</StartDate>
<EndDate>2026-05-31T20:32:45.2841376+02:00</EndDate>
</Room>
<Room>
<RoomId>sample string 1</RoomId>
<StartDate>2026-05-31T20:32:45.2841376+02:00</StartDate>
<EndDate>2026-05-31T20:32:45.2841376+02:00</EndDate>
</Room>
</Rooms>
</Guest>
<Guest>
<GuestId>sample string 1</GuestId>
<Age>2</Age>
<NationalityCode>sample string 3</NationalityCode>
<StayTax>sample string 4</StayTax>
<BirthPlaceCode>sample string 5</BirthPlaceCode>
<ResidencePlaceCode>sample string 6</ResidencePlaceCode>
<Type>7</Type>
<Gender>8</Gender>
<EMail>sample string 9</EMail>
<ArrivalDate>2026-05-31T20:32:45.2841376+02:00</ArrivalDate>
<DepartureDate>2026-05-31T20:32:45.2841376+02:00</DepartureDate>
<Checkout>true</Checkout>
<BedOccupancy>true</BedOccupancy>
<Rooms>
<Room>
<RoomId>sample string 1</RoomId>
<StartDate>2026-05-31T20:32:45.2841376+02:00</StartDate>
<EndDate>2026-05-31T20:32:45.2841376+02:00</EndDate>
</Room>
<Room>
<RoomId>sample string 1</RoomId>
<StartDate>2026-05-31T20:32:45.2841376+02:00</StartDate>
<EndDate>2026-05-31T20:32:45.2841376+02:00</EndDate>
</Room>
</Rooms>
</Guest>
</Guests>
</Stay>
<Stay>
<HotelCode>sample string 1</HotelCode>
<StayId>sample string 2</StayId>
<Guests>
<Guest>
<GuestId>sample string 1</GuestId>
<Age>2</Age>
<NationalityCode>sample string 3</NationalityCode>
<StayTax>sample string 4</StayTax>
<BirthPlaceCode>sample string 5</BirthPlaceCode>
<ResidencePlaceCode>sample string 6</ResidencePlaceCode>
<Type>7</Type>
<Gender>8</Gender>
<EMail>sample string 9</EMail>
<ArrivalDate>2026-05-31T20:32:45.2841376+02:00</ArrivalDate>
<DepartureDate>2026-05-31T20:32:45.2841376+02:00</DepartureDate>
<Checkout>true</Checkout>
<BedOccupancy>true</BedOccupancy>
<Rooms>
<Room>
<RoomId>sample string 1</RoomId>
<StartDate>2026-05-31T20:32:45.2841376+02:00</StartDate>
<EndDate>2026-05-31T20:32:45.2841376+02:00</EndDate>
</Room>
<Room>
<RoomId>sample string 1</RoomId>
<StartDate>2026-05-31T20:32:45.2841376+02:00</StartDate>
<EndDate>2026-05-31T20:32:45.2841376+02:00</EndDate>
</Room>
</Rooms>
</Guest>
<Guest>
<GuestId>sample string 1</GuestId>
<Age>2</Age>
<NationalityCode>sample string 3</NationalityCode>
<StayTax>sample string 4</StayTax>
<BirthPlaceCode>sample string 5</BirthPlaceCode>
<ResidencePlaceCode>sample string 6</ResidencePlaceCode>
<Type>7</Type>
<Gender>8</Gender>
<EMail>sample string 9</EMail>
<ArrivalDate>2026-05-31T20:32:45.2841376+02:00</ArrivalDate>
<DepartureDate>2026-05-31T20:32:45.2841376+02:00</DepartureDate>
<Checkout>true</Checkout>
<BedOccupancy>true</BedOccupancy>
<Rooms>
<Room>
<RoomId>sample string 1</RoomId>
<StartDate>2026-05-31T20:32:45.2841376+02:00</StartDate>
<EndDate>2026-05-31T20:32:45.2841376+02:00</EndDate>
</Room>
<Room>
<RoomId>sample string 1</RoomId>
<StartDate>2026-05-31T20:32:45.2841376+02:00</StartDate>
<EndDate>2026-05-31T20:32:45.2841376+02:00</EndDate>
</Room>
</Rooms>
</Guest>
</Guests>
</Stay>
</StaysPmsDTO>
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. |