121 lines
3.1 KiB
JSON
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
|
|
}
|
|
}
|
|
]
|
|
}
|