Resync OTA Updates (Failed)
The ‘Resync Updates’ call allows partner to trigger a resync for all failed updates to channels connected for requested property.
Endpoint
POST
https://connect-sandbox.su-api.com/SUAPI/jservice/resyncSample Request
Please find an example input message below.
{
"hotelid": "new1"
}Mandatory elements
Element name - request
Type
structural element
Children
n/a
Attribute Name
hotelid / ClientID
IT provider's hotel id for which retrieving failed channel log/s.
Syntax
{
"hotelid": "new1"
}Attribute Name - hotelid / ClientID
Type
alphanumeric
Constraints
needs to be a property registered in the STAAH (Existing)
Amount of elements possible within parent
1
Response
Success Response
{
"Status":"Success"
}Referring to above response, PMS will find essential information (basic) pertaining to the error.
Errors Response
{
"Status": "Fail",
"Errors": {
"ShortText": "Not allowed"
}This notification will be given if resynced failed update gets failed again and tried to be resynced again.
Errors due to invalid parameters
{
"Status": "Fail",
"Errors": {
"Code": "400",
"ShortText": "Invalid HotelCode (ne1)"
}
}This error will be received if allocated with incorrect Hotel id / ClientID
Last updated
Was this helpful?