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/public/api/{version}/con/chain/{chainId}/property/{propertyId}/reservationRoomStay/{reservationRoomStayId}/reservationRoomStayGuest |
Request
Property | Type | Required | Type parameter | Default value | Description |
---|---|---|---|---|---|
chainId | Integer | true | path parameter | ||
propertyId | Integer | path parameter | |||
reservationRoomStayId | Integer | path parameter | |||
createProfileIfNotExists | boolean | false | request parameter | false | Link the guest with the profile. |
Example request
Code Block | ||||
---|---|---|---|---|
| ||||
GETPUT https://prodpublicapi-providers.ulysescloud.com:9797/public/api/v1/con/chain/1/property/1/reservationRoomStay/1/reservationRoomStayGuest |
Body
An array of elements of type ReservationRoomStayGuest.
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
This fields of ReservationRoomStayGuest are not required:
Field | Required |
---|---|
documentType | false |
genderType | false |
birthCountry | false |
stateProv | false |
country | false |
nationalCountry | false |
countryOfIssuance | false |
language | false |
reservationRoomStayGuestCustomFieldValueList | false |
Example body
Code Block | ||
---|---|---|
| ||
[{ "id": 1, 2, "documentType": { "id": 2, "code": "2", "name": "Passport" }, "documentNumber": "MNZLDtSwswgcACUU", "givenName": "JeremyMarie", "middleName "secondSurName": "StéphanieMélodie", "surName": "GardnerHunt", "genderType": { "id": 21, "createdDate": null, "modifiedDate": null, "createdUser": null, "modifiedUser": null, "code": "FM", "name": "FemaleMale" }, "birthDate": "20182002-0402-12T18:13:50.710Z", "birthCountry": { "id": 231, "codebirthCountryCode": "VENVU", "name": "VENEZUELA" }, "birthPlace": "WaterburyMemphis", "effectiveDate": "20182019-0402-12T18:13:50.710Z", "expireDate": "20182019-0402-12T18:13:50.710Z", "street": "032603 RuskCherokee ParkDrive", "city": "WaterburyMemphis", "stateProvName": "ConnecticutTennessee", "stateProvstateProvCode": null, "country "countryCode": { "id": 231, "codeVU", "postalCode": "VEN38104", "name "nationalityCountryCode": "VENEZUELAVU" }, "postalCode, "countryOfIssuanceCode": "6726ES", "nationalityCountry "ocr": { "idnull, "email": 231, "code"bhernandezo@instagram.com", "phoneNumber": "VEN1-(901)206-4293", "name": "VENEZUELA" }, "ocr": null, "email": "phill8m@usnews.com", "phoneNumber": "1-(203)205-9014" "allowMarketing" :true, "allowThirdParty" :false, "language": { "id": 1, "code": "ES", "name": "Spanish" } }] |
Response
A success or error message.
Example response
Code Block | ||
---|---|---|
| ||
{ "httpStatus": "201", "userMessage": "Success", "technicalMessage": "Success ReservationRoomStay guest updated", "errorCode": "0", "id": 1 } |