Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Operation

Information of the operation

Rw ui textbox macro
typewarning

Only accessible with permission of pms.integration.reservation


Style
table {
width: 100%;
}
body.page-gadget {
padding-top: 20px;
}
.separator{
margin: 5px 0;
}



Div
style background-color: khaki; color: black; display: inline-block; padding: 5px; border-radius: 3px;

PUT



Div
stylebackground-color: #0a2b1d; padding: 10px 1em; display: inline-block; color: white; border-radius: 3px;

https://{environment}.ulysescloud.com/api/{version}/chain/{chainId}/property/{propertyId}/reservationRoomStay/{reservationRoomStayId}/reservationRoomStayGuest



Request

PropertyTypeRequiredDefault valueDescription

chainId

Integertrue

propertyIdInteger


reservationRoomStayIdInteger



Example request

Code Block
languagepowershell
themeDJango
PUT https://prod.ulysescloud.com/api/v1/chain/1/property/1/reservationRoomStay/1/reservationRoomStayGuest



Body

An array of elements of type ReservationRoomStayGuest.


Example body

Code Block
themeDJango
[{
	      "id": 62,
 	     "documentType": {
		        "id": 2,
		
        "code": "2",
		
        "name": "Passport"
      	},
	
      "documentNumber": "wrhQSmSTswgcACUU",
	      "givenName": "ShirleyMarie",
 	     "middleName": "KuíMélodie",
	
      "surName": "BradleyHunt",
	      "genderType": {
		
        "id": 1,
		        "code": "M",
		
        "name": "Male"
	
      },
	      "birthDate": "20012002-0402-3013",
 	"birthCountry":  { 		"id": 95, 		"codebirthCountryCode": "HNDVU",
		"name": "HONDURAS"
	},
	
      "birthPlace": "PhoenixMemphis",
	
      "effectiveDate": "20182019-0402-3013",
	      "expireDate": "20182019-0402-3013",
     	 "street": "01682603 WarriorCherokee Drive",
     	 "city": "PhoenixMemphis",
	
      "stateProvName": "ArizonaTennessee",
	"stateProv      "stateProvCode": null,
 	"country":  { 		"id": 95, 		"codecountryCode": "HNDVU",
		"name": "HONDURAS"
	},
	
      "postalCode": "8503538104",
	"nationalityCountry": {
		"id": 95,
		"code      "nationalityCountryCode": "HNDVU",
		"name": "HONDURAS"
	},
	      "ocr": null,
 	     "email": "jsnyderci@googlebhernandezo@instagram.co.jpcom",
      	"phoneNumber": "1-(602901)750206-13594293"
    }]


Response

A success or error message.

Example response

Code Block
themeDJango
{
  "httpStatus": "201",
  "userMessage": "Success",
  "technicalMessage": "Success ReservationRoomStay guest updated",
  "errorCode": "0",
  "id": 1
}