Operation
Information of the operation
Rw ui textbox macro | ||
---|---|---|
| ||
Only accessible with permission of pms.integration.reservation |
Style |
---|
table { width: 100%; } body.page-gadget { padding-top: 20px; } .separator{ margin: 5px 0; } |
Div | ||
---|---|---|
| ||
PUT |
Div | ||
---|---|---|
| ||
https://{environment}.ulysescloud.com/api/{version}/chain/{chainId}/property/{propertyId}/reservationRoomStay/{reservationRoomStayId}/reservationRoomStayGuest |
Request
Property | Type | Required | Default value | Description |
---|---|---|---|---|
chainId | Integer | true | ||
propertyId | Integer | |||
reservationRoomStayId | Integer |
Example request
Code Block | ||||
---|---|---|---|---|
| ||||
PUT https://prod.ulysescloud.com/api/v1/chain/1/property/1/reservationRoomStay/1/reservationRoomStayGuest |
Example body
Code Block | ||
---|---|---|
| ||
[{ "id": 6, "documentType": { "id": 2, "code": "2", "name": "Passport" }, "documentNumber": "wrhQSmST", "givenName": "Shirley", "middleName": "Kuí", "surName": "Bradley", "genderType": { "id": 1, "code": "M", "name": "Male" }, "birthDate": "2001-04-30", "birthCountry": { "id": 95, "code": "HND", "name": "HONDURAS" }, "birthPlace": "Phoenix", "effectiveDate": "2018-04-30", "expireDate": "2018-04-30", "street": "0168 Warrior Drive", "city": "Phoenix", "stateProvName": "Arizona", "stateProv": null, "country": { "id": 95, "code": "HND", "name": "HONDURAS" }, "postalCode": "85035", "nationalityCountry": { "id": 95, "code": "HND", "name": "HONDURAS" }, "ocr": null, "email": "jsnyderci@google.co.jp", "phoneNumber": "1-(602)750-1359" }] |
Response
A success or error message.
Example response
Code Block | ||
---|---|---|
| ||
{
"httpStatus": "201",
"userMessage": "Success",
"technicalMessage": "Success ReservationRoomStay guest updated",
"errorCode": "0",
"id": 1
} |