Consistency Query

Query the order creation processing result (including success or failure) according to the distributor order number, only called when the network exception

Request Method#

POST

uri: /reservation/consistency/query

Content-Type: application/json


Request parameter description#

RequestHeader#

Common Request Header [reference]

RequestBody#

ParameterTypeRequiredMaximum lengthExampleDescription
distributorResIdStringY64Reservation ID of the distributor

Response parameter description#

Common Response Parameters [reference]

content#

ParameterTypeRequiredMaximum lengthExampleDescription
resIdStringY64Huazhu reservation number
statusStringY32HOTEL_RESERVATIONReservation status, see Enumeration: Order Status

ResponseCode#

Exception CodeException TypeDescription
1000Success
5601Reservation not belong to requesterOrder does not match current channel
5602Reservation not foundOrder not found
OthersGlobal Exception CodeGlobal Exception [Reference]

Message example#

Case:#

Request Example#

{
"distributorResId": "1234321"
}

Example of successful response#

{
"code": 1000,
"content ": {
"status": "HOTEL_ROOM_CHECK_OUT ",
"resId": "R200031####135470001"
}
}

Response Failure Example#

{
"code": 5602,
"message": "Reservation not found"
}