Files
Wyndham-RSVN-0918/docs/project/integrations/ohip-runtime-cancellation.example.json
鲨鱼辣椒 bc71026246
Some checks failed
verify / booking-verify (push) Has been cancelled
完善酒店接口确认字段与回读核对并同步工作台最新改动
2026-09-18 15:38:52 +08:00

121 lines
3.1 KiB
JSON

{
"schemaVersion": 1,
"hotels": [
{
"localHotelId": "REPLACE_LOCAL_HOTEL",
"environmentRef": "REPLACE_TEST_ENVIRONMENT",
"externalHotelId": "REPLACE_ORACLE_HOTEL",
"baseUrl": "https://replace-edge-host.invalid",
"credentialEnvironment": "OHIP_BOOKING_TEST_API_KEY",
"codes": [
{
"type": "ROOM_TYPE",
"local": "REPLACE_ROOM",
"remote": "REPLACE_ROOM"
},
{
"type": "RATE_CODE",
"local": "REPLACE_RATE",
"remote": "REPLACE_RATE"
},
{
"type": "MARKET",
"local": "GTT",
"remote": "GTT"
},
{
"type": "SOURCE",
"local": "TA",
"remote": "TA"
},
{
"type": "BLOCK_STATUS",
"local": "TEN",
"remote": "TEN"
},
{
"type": "PAYMENT",
"local": "BTQR",
"remote": "BTQR"
},
{
"type": "RESERVATION_TYPE",
"local": "GC",
"remote": "GC"
},
{
"type": "CURRENCY",
"local": "THB",
"remote": "THB"
}
],
"accounts": [
{
"accountCode": "LIAN_TAI",
"profileId": "REPLACE_AGENT_ID",
"contactProfileId": "REPLACE_CONTACT_ID",
"blockRole": "Agent"
}
],
"operations": [
"postBlock",
"getBlock",
"searchBlocks",
"putBlock",
"putBlockAllocation",
"getBlockRoomRateGrid",
"searchHotelReservations",
"getReservation",
"getNextBlockStatus",
"putBlockStatus",
"postCancelReservation"
],
"capabilities": [
"blocks.read",
"blocks.write",
"reservations.read",
"reservations.write"
],
"flows": [
{
"flow": "GROUP_NEW",
"verificationRef": "REPLACE_AFTER_TARGET_VALIDATION",
"gridPolicy": {
"category": "INITIAL",
"occupancySplitEnabled": false
},
"dateChangeSequenceVerified": false,
"fitUpdateBehaviorVerified": false
},
{
"flow": "GROUP_UPDATE",
"verificationRef": "REPLACE_AFTER_TARGET_VALIDATION",
"gridPolicy": {
"category": "INITIAL",
"occupancySplitEnabled": false
},
"dateChangeSequenceVerified": false,
"fitUpdateBehaviorVerified": false
},
{
"flow": "CANCEL_ALLOTMENT",
"verificationRef": "REPLACE_AFTER_CANCELLATION_VALIDATION",
"gridPolicy": null,
"dateChangeSequenceVerified": false,
"fitUpdateBehaviorVerified": false
}
],
"cancellationPolicy": {
"verificationRef": "REPLACE_AFTER_CANCELLATION_VALIDATION",
"reservationReasonCode": "REPLACE_RESERVATION_REASON",
"blockReasonCode": "REPLACE_BLOCK_REASON",
"cancelledBlockStatus": "REPLACE_CANCELLED_STATUS",
"activeBlockStatuses": [
"REPLACE_ACTIVE_STATUS"
],
"typeConversionsEnabled": false
}
}
]
}