x-api-key: ********************{
"property": [
{
"data": [
{
"hotelid": "string",
"hotelDescriptiveContents": {
"hotelDescriptiveContent": {
"hotelName": "string",
"hotelid": "string",
"languageCode": "string",
"currencyCode": "string",
"hotelDescriptiveContentNotifType": "string",
"contactInfos": {
"contactInfo": [
{
"contactProfileType": "string",
"addresses": {
"address": {
"addressLine": "string",
"cityName": "string",
"postalCode": "string",
"countryName": "string"
}
},
"names": {
"name": {
"givenName": "string",
"surname": "string"
}
},
"emails": {
"email": [
"string"
]
},
"phones": {
"phone": [
{
"phoneNumber": "string",
"phoneTechType": "string"
}
]
}
}
]
},
"hotelInfo": {
"position": {
"latitude": "string",
"longitude": "string"
}
}
}
}
}
],
"rbscmConnectID": 0,
"syncType": 0,
"clientId": 0,
"action": 0
}
],
"rooms": [
{
"data": [
{
"sellableProducts": {
"hotelid": "string",
"sellableProduct": [
{
"invStatusType": "string",
"invNotifType": "string",
"roomid": "string",
"guestRoom": {
"occupancy": {
"maxOccupancy": "string"
},
"room": {
"roomid": "string",
"roomRate": "string",
"quantity": "string",
"roomType": "string"
},
"description": {
"text": "string",
"roomDescription": "string"
}
}
}
]
}
}
],
"rbscmConnectID": 0,
"roomTypeId": 0,
"clientId": 0,
"syncType": 0,
"rateID": 0,
"action": 0
}
],
"ratePlan": [
{
"data": [
{
"ratePlans": {
"hotelid": "string",
"ratePlan": [
{
"ratePlanNotifType": "string",
"rateplanid": "string",
"description": {
"name": "string"
}
}
]
}
}
],
"rbscmConnectID": 0,
"clientId": 0,
"action": 0,
"rateID": 0,
"roomTypeID": 0,
"syncType": 0
}
],
"rateAvailability": [
{
"data": [
{
"hotelid": "string",
"room": [
{
"roomid": "string",
"date": [
{
"from": "string",
"to": "string",
"roomstosell": "string",
"closed": "string",
"rate": [
{
"rateplanid": "string"
}
],
"price": [
{
"numberOfGuests": "string",
"value": "string"
}
]
}
]
}
]
}
],
"rbscmConnectID": 0,
"roomId": 0,
"roomTypeId": 0,
"reservationID": 0,
"rateID": 0,
"clientId": 0,
"syncType": 0,
"action": 0
}
],
"rateAvailabilityUpdate": [
{
"data": [
{
"hotelid": "string",
"room": [
{
"roomid": "string",
"date": [
{
"from": "string",
"to": "string",
"roomstosell": "string",
"closed": "string",
"rate": [
{
"rateplanid": "string"
}
],
"price": [
{
"numberOfGuests": "string",
"value": "string"
}
]
}
]
}
]
}
],
"rbscmConnectID": 0,
"roomId": 0,
"roomTypeId": 0,
"reservationID": 0,
"rateID": 0,
"clientId": 0,
"syncType": 0,
"action": 0
}
]
}curl --location 'https://api.rbsapps.com/api/RBSCMConnect/UpdateRBSCMConnect' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"property": [
{
"data": [
{
"hotelid": "string",
"hotelDescriptiveContents": {
"hotelDescriptiveContent": {
"hotelName": "string",
"hotelid": "string",
"languageCode": "string",
"currencyCode": "string",
"hotelDescriptiveContentNotifType": "string",
"contactInfos": {
"contactInfo": [
{
"contactProfileType": "string",
"addresses": {
"address": {
"addressLine": "string",
"cityName": "string",
"postalCode": "string",
"countryName": "string"
}
},
"names": {
"name": {
"givenName": "string",
"surname": "string"
}
},
"emails": {
"email": [
"string"
]
},
"phones": {
"phone": [
{
"phoneNumber": "string",
"phoneTechType": "string"
}
]
}
}
]
},
"hotelInfo": {
"position": {
"latitude": "string",
"longitude": "string"
}
}
}
}
}
],
"rbscmConnectID": 0,
"syncType": 0,
"clientId": 0,
"action": 0
}
],
"rooms": [
{
"data": [
{
"sellableProducts": {
"hotelid": "string",
"sellableProduct": [
{
"invStatusType": "string",
"invNotifType": "string",
"roomid": "string",
"guestRoom": {
"occupancy": {
"maxOccupancy": "string"
},
"room": {
"roomid": "string",
"roomRate": "string",
"quantity": "string",
"roomType": "string"
},
"description": {
"text": "string",
"roomDescription": "string"
}
}
}
]
}
}
],
"rbscmConnectID": 0,
"roomTypeId": 0,
"clientId": 0,
"syncType": 0,
"rateID": 0,
"action": 0
}
],
"ratePlan": [
{
"data": [
{
"ratePlans": {
"hotelid": "string",
"ratePlan": [
{
"ratePlanNotifType": "string",
"rateplanid": "string",
"description": {
"name": "string"
}
}
]
}
}
],
"rbscmConnectID": 0,
"clientId": 0,
"action": 0,
"rateID": 0,
"roomTypeID": 0,
"syncType": 0
}
],
"rateAvailability": [
{
"data": [
{
"hotelid": "string",
"room": [
{
"roomid": "string",
"date": [
{
"from": "string",
"to": "string",
"roomstosell": "string",
"closed": "string",
"rate": [
{
"rateplanid": "string"
}
],
"price": [
{
"numberOfGuests": "string",
"value": "string"
}
]
}
]
}
]
}
],
"rbscmConnectID": 0,
"roomId": 0,
"roomTypeId": 0,
"reservationID": 0,
"rateID": 0,
"clientId": 0,
"syncType": 0,
"action": 0
}
],
"rateAvailabilityUpdate": [
{
"data": [
{
"hotelid": "string",
"room": [
{
"roomid": "string",
"date": [
{
"from": "string",
"to": "string",
"roomstosell": "string",
"closed": "string",
"rate": [
{
"rateplanid": "string"
}
],
"price": [
{
"numberOfGuests": "string",
"value": "string"
}
]
}
]
}
]
}
],
"rbscmConnectID": 0,
"roomId": 0,
"roomTypeId": 0,
"reservationID": 0,
"rateID": 0,
"clientId": 0,
"syncType": 0,
"action": 0
}
]
}'