diff --git a/postman-collections/ORACLE Hospitality Distribution Rest APIs By Module.postman_collection.json b/postman-collections/ORACLE Hospitality Distribution Rest APIs By Module.postman_collection.json
index ddfed05..db3d6a9 100644
--- a/postman-collections/ORACLE Hospitality Distribution Rest APIs By Module.postman_collection.json
+++ b/postman-collections/ORACLE Hospitality Distribution Rest APIs By Module.postman_collection.json
@@ -23,6 +23,7 @@
"//Set currentdate and currentdateplus1 variables\r",
"var moment = require('moment');\r",
"pm.environment.set('currentdate', moment().format((\"YYYY-MM-DD\")))\r",
+ "pm.environment.set('currentdate-time', moment().format((\"YYMMDDHHMISS\")))\r",
"pm.environment.set('currentdateplus1', moment().add(1, 'days').format((\"YYYY-MM-DD\")))\r",
"pm.environment.set('currentdateplus2', moment().add(2, 'days').format((\"YYYY-MM-DD\")))\r",
"pm.environment.set('currentdateplus3', moment().add(3, 'days').format((\"YYYY-MM-DD\")))\r",
@@ -31,21 +32,14 @@
"pm.environment.set('currentdateplus11', moment().add(11, 'days').format((\"YYYY-MM-DD\")))\r",
"pm.environment.set('currentdateplus12', moment().add(12, 'days').format((\"YYYY-MM-DD\")))\r",
"pm.environment.set('currentdateplus13', moment().add(13, 'days').format((\"YYYY-MM-DD\")))\r",
- "pm.environment.set('currentdateplus14', moment().add(14, 'days').format((\"YYYY-MM-DD\")))\r",
- "pm.environment.set('currentdateplus15', moment().add(15, 'days').format((\"YYYY-MM-DD\")))\r",
- "\r",
"pm.environment.set('currentdateplus30', moment().add(30, 'days').format((\"YYYY-MM-DD\")))\r",
+ "pm.environment.set('currentdateplus60', moment().add(60, 'days').format((\"YYYY-MM-DD\")))\r",
""
],
"type": "text/javascript"
}
}
],
- "protocolProfileBehavior": {
- "disabledSystemHeaders": {
- "content-type": true
- }
- },
"request": {
"auth": {
"type": "noauth"
@@ -110,153 +104,138 @@
"name": "Distribution APIs by Module",
"item": [
{
- "name": "Distribution Shop (SHOP)",
+ "name": "Distribution Content (CONTENT)",
"item": [
{
- "name": "get Properties",
+ "name": "get Properties Summary (v0)",
"event": [
{
"listen": "test",
"script": {
"exec": [
- "// collect parameters passed for dispaly \r",
- "var arrival = pm.environment.get(\"currentdateplus1\")\r",
- "\r",
- "// Set template for html page \r",
- "// var hotels = pm.environment.get(\"UI-shop-response\")\r",
- "var hotels = \r",
- "`\r",
- "\r",
- "\r",
- "
\r",
- " \r",
- " 2 Column Layout — Left Menu\r",
- "\r",
- " \r",
- " \r",
- "\r",
- " \r",
- " \r",
- "
\r",
- " \r",
- " \r",
- "\r",
- "
\r",
- "
\r",
- " \r",
- "\r",
- "\r",
- "\r",
- "\r",
- "`\r",
- "\r",
- "\r",
- " \r",
- "// Set visualizer\r",
- "pm.visualizer.set(hotels, {response: pm.response.json()});\r",
- " \r",
- "\r",
+ "// collect parameters passed for dispaly ",
+ "var arrival = pm.environment.get(\"currentdateplus1\")",
+ "",
+ "// Set template for html page ",
+ "// var hotels = pm.environment.get(\"UI-shop-response\")",
+ "var hotels = ",
+ "`",
+ "",
+ "",
+ " ",
+ " ",
+ " 2 Column Layout — Left Menu",
+ "",
+ " ",
+ " ",
+ "",
+ " ",
+ " ",
+ "
",
+ " ",
+ " ",
+ "",
+ "
",
+ "
",
+ " ",
+ "",
+ "",
+ "`",
+ "",
+ "",
+ " ",
+ "// Set visualizer",
+ "pm.visualizer.set(hotels, {response: pm.response.json()});",
+ " ",
+ "",
""
],
"type": "text/javascript"
@@ -264,16 +243,6 @@
}
],
"request": {
- "auth": {
- "type": "bearer",
- "bearer": [
- {
- "key": "token",
- "value": "{{Token}}",
- "type": "string"
- }
- ]
- },
"method": "GET",
"header": [
{
@@ -303,191 +272,150 @@
}
],
"url": {
- "raw": "{{HostName}}/shop/v0/hotels?adults=2&numberOfUnits=1&chainCode={{chainCode}}&hotelCodes={{HotelCode1}},{{HotelCode2}},{{HotelCode3}}&arrivalDate={{currentdateplus10}}&departureDate={{currentdateplus12}}",
+ "raw": "{{HostName}}/content/v0/hotels",
"host": [
"{{HostName}}"
],
"path": [
- "shop",
+ "content",
"v0",
"hotels"
- ],
- "query": [
- {
- "key": "adults",
- "value": "2"
- },
- {
- "key": "numberOfUnits",
- "value": "1"
- },
- {
- "key": "chainCode",
- "value": "{{chainCode}}"
- },
- {
- "key": "hotelCodes",
- "value": "{{HotelCode1}},{{HotelCode2}},{{HotelCode3}}"
- },
- {
- "key": "arrivalDate",
- "value": "{{currentdateplus10}}"
- },
- {
- "key": "departureDate",
- "value": "{{currentdateplus12}}"
- }
]
},
- "description": "With properties in request"
+ "description": "Get property offers for Public rates"
},
"response": []
},
{
- "name": "get Properties -> with children",
+ "name": "get Properties Summary (v0) -> ACTIVE only and include connection info",
"event": [
{
"listen": "test",
"script": {
"exec": [
- "// collect parameters passed for dispaly \r",
- "var arrival = pm.environment.get(\"currentdateplus1\")\r",
- "\r",
- "// Set template for html page \r",
- "// var hotels = pm.environment.get(\"UI-shop-response\")\r",
- "var hotels = \r",
- "`\r",
- "\r",
- "\r",
- " \r",
- " \r",
- " 2 Column Layout — Left Menu\r",
- "\r",
- " \r",
- " \r",
- "\r",
- " \r",
- " \r",
- "
\r",
- " \r",
- " \r",
- "\r",
- "
\r",
- "
\r",
- " \r",
- "\r",
- "\r",
- "\r",
- "\r",
- "`\r",
- "\r",
- "\r",
- " \r",
- "// Set visualizer\r",
- "pm.visualizer.set(hotels, {response: pm.response.json()});\r",
- " \r",
- "\r",
+ "// collect parameters passed for dispaly ",
+ "var arrival = pm.environment.get(\"currentdateplus1\")",
+ "",
+ "// Set template for html page ",
+ "// var hotels = pm.environment.get(\"UI-shop-response\")",
+ "var hotels = ",
+ "`",
+ "",
+ "",
+ " ",
+ " ",
+ " 2 Column Layout — Left Menu",
+ "",
+ " ",
+ " ",
+ "",
+ " ",
+ " ",
+ "
",
+ " ",
+ " ",
+ "",
+ "
",
+ "
",
+ " ",
+ "",
+ "",
+ "`",
+ "",
+ "",
+ " ",
+ "// Set visualizer",
+ "pm.visualizer.set(hotels, {response: pm.response.json()});",
+ " ",
+ "",
""
],
"type": "text/javascript"
@@ -495,237 +423,68 @@
}
],
"request": {
- "auth": {
- "type": "bearer",
- "bearer": [
- {
- "key": "token",
- "value": "{{Token}}",
- "type": "string"
- }
- ]
- },
"method": "GET",
"header": [
{
"key": "Authorization",
- "value": "Bearer {{Token}}",
- "type": "text"
+ "type": "text",
+ "value": "Bearer {{Token}}"
},
{
"key": "Content-Type",
- "value": "application/json",
- "type": "text"
+ "type": "text",
+ "value": "application/json"
},
{
"key": "Accept",
- "value": "application/json",
- "type": "text"
+ "type": "text",
+ "value": "application/json"
},
{
"key": "x-app-key",
- "value": "{{AppKey}}",
- "type": "text"
+ "type": "text",
+ "value": "{{AppKey}}"
},
{
"key": "x-channelCode",
- "value": "{{channelCode}}",
- "type": "text"
+ "type": "text",
+ "value": "{{channelCode}}"
}
],
"url": {
- "raw": "{{HostName}}/shop/v0/hotels?adults=1&children=2&childrenAges=12,6&numberOfUnits=1&chainCode={{chainCode}}&hotelCodes={{HotelCode1}},{{HotelCode2}},{{HotelCode3}}&arrivalDate={{currentdateplus10}}&departureDate={{currentdateplus12}}",
+ "raw": "{{HostName}}/content/v0/hotels?fetchInstructions=ConnectionInformation&connectionStatus=ACTIVE",
"host": [
"{{HostName}}"
],
"path": [
- "shop",
+ "content",
"v0",
"hotels"
],
"query": [
{
- "key": "adults",
- "value": "1"
- },
- {
- "key": "children",
- "value": "2"
- },
- {
- "key": "childrenAges",
- "value": "12,6"
- },
- {
- "key": "numberOfUnits",
- "value": "1"
- },
- {
- "key": "chainCode",
- "value": "{{chainCode}}"
- },
- {
- "key": "hotelCodes",
- "value": "{{HotelCode1}},{{HotelCode2}},{{HotelCode3}}"
- },
- {
- "key": "arrivalDate",
- "value": "{{currentdateplus10}}"
+ "key": "fetchInstructions",
+ "value": "ConnectionInformation",
+ "description": "ConnectionInformation"
},
{
- "key": "departureDate",
- "value": "{{currentdateplus12}}"
+ "key": "connectionStatus",
+ "value": "ACTIVE",
+ "description": "ACTIVE"
}
]
- }
+ },
+ "description": "Get property offers for Public rates"
},
"response": []
},
{
- "name": "get Properties -> using rate Mode",
+ "name": "get Property Information (v0)",
"event": [
{
"listen": "test",
"script": {
"exec": [
- "// collect parameters passed for dispaly \r",
- "var arrival = pm.environment.get(\"currentdateplus1\")\r",
- "\r",
- "// Set template for html page \r",
- "// var hotels = pm.environment.get(\"UI-shop-response\")\r",
- "var hotels = \r",
- "`\r",
- "\r",
- "\r",
- " \r",
- " \r",
- " 2 Column Layout — Left Menu\r",
- "\r",
- " \r",
- " \r",
- "\r",
- " \r",
- " \r",
- "
\r",
- " \r",
- " \r",
- "\r",
- "
\r",
- "
\r",
- " \r",
- "\r",
- "\r",
- "\r",
- "\r",
- "`\r",
- "\r",
- "\r",
- " \r",
- "// Set visualizer\r",
- "pm.visualizer.set(hotels, {response: pm.response.json()});\r",
- " \r",
- "\r",
""
],
"type": "text/javascript"
@@ -733,233 +492,57 @@
}
],
"request": {
- "auth": {
- "type": "bearer",
- "bearer": [
- {
- "key": "token",
- "value": "{{Token}}",
- "type": "string"
- }
- ]
- },
"method": "GET",
"header": [
{
"key": "Authorization",
- "value": "Bearer {{Token}}",
- "type": "text"
+ "type": "text",
+ "value": "Bearer {{Token}}"
},
{
"key": "Content-Type",
- "value": "application/json",
- "type": "text"
+ "type": "text",
+ "value": "application/json"
},
{
"key": "Accept",
- "value": "application/json",
- "type": "text"
+ "type": "text",
+ "value": "application/json"
},
{
"key": "x-app-key",
- "value": "{{AppKey}}",
- "type": "text"
+ "type": "text",
+ "value": "{{AppKey}}"
},
{
"key": "x-channelCode",
- "value": "{{channelCode}}",
- "type": "text"
+ "type": "text",
+ "value": "{{channelCode}}"
}
],
"url": {
- "raw": "{{HostName}}/shop/v0/hotels?rateMode=Average&adults=2&numberOfUnits=1&chainCode={{chainCode}}&hotelCodes={{HotelCode1}},{{HotelCode2}},{{HotelCode3}}&arrivalDate={{currentdateplus10}}&departureDate={{currentdateplus12}}",
+ "raw": "{{HostName}}/content/v0/hotels/{{HotelCode1}}",
"host": [
"{{HostName}}"
],
"path": [
- "shop",
+ "content",
"v0",
- "hotels"
- ],
- "query": [
- {
- "key": "rateMode",
- "value": "Average"
- },
- {
- "key": "adults",
- "value": "2"
- },
- {
- "key": "numberOfUnits",
- "value": "1"
- },
- {
- "key": "chainCode",
- "value": "{{chainCode}}"
- },
- {
- "key": "hotelCodes",
- "value": "{{HotelCode1}},{{HotelCode2}},{{HotelCode3}}"
- },
- {
- "key": "arrivalDate",
- "value": "{{currentdateplus10}}"
- },
- {
- "key": "departureDate",
- "value": "{{currentdateplus12}}"
- }
+ "hotels",
+ "{{HotelCode1}}"
]
- }
+ },
+ "description": "Get property offers for Public rates"
},
"response": []
},
{
- "name": "get Properties -> Access to Neg rate",
+ "name": "get Room Types (v0)",
"event": [
{
"listen": "test",
"script": {
"exec": [
- "// collect parameters passed for dispaly \r",
- "var arrival = pm.environment.get(\"currentdateplus1\")\r",
- "\r",
- "// Set template for html page \r",
- "// var hotels = pm.environment.get(\"UI-shop-response\")\r",
- "var hotels = \r",
- "`\r",
- "\r",
- "\r",
- " \r",
- " \r",
- " 2 Column Layout — Left Menu\r",
- "\r",
- " \r",
- " \r",
- "\r",
- " \r",
- " \r",
- "
\r",
- " \r",
- " \r",
- "\r",
- "
\r",
- "
\r",
- " \r",
- "\r",
- "\r",
- "\r",
- "\r",
- "`\r",
- "\r",
- "\r",
- " \r",
- "// Set visualizer\r",
- "pm.visualizer.set(hotels, {response: pm.response.json()});\r",
- " \r",
- "\r",
""
],
"type": "text/javascript"
@@ -967,98 +550,117 @@
}
],
"request": {
- "auth": {
- "type": "bearer",
- "bearer": [
- {
- "key": "token",
- "value": "{{Token}}",
- "type": "string"
- }
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "type": "text",
+ "value": "Bearer {{Token}}"
+ },
+ {
+ "key": "Content-Type",
+ "type": "text",
+ "value": "application/json"
+ },
+ {
+ "key": "Accept",
+ "type": "text",
+ "value": "application/json"
+ },
+ {
+ "key": "x-app-key",
+ "type": "text",
+ "value": "{{AppKey}}"
+ },
+ {
+ "key": "x-channelCode",
+ "type": "text",
+ "value": "{{channelCode}}"
+ }
+ ],
+ "url": {
+ "raw": "{{HostName}}/content/v0/hotels/{{HotelCode1}}/roomTypes",
+ "host": [
+ "{{HostName}}"
+ ],
+ "path": [
+ "content",
+ "v0",
+ "hotels",
+ "{{HotelCode1}}",
+ "roomTypes"
]
},
+ "description": "Get property offers for Public rates"
+ },
+ "response": []
+ },
+ {
+ "name": "get Rate Plans (v0)",
+ "event": [
+ {
+ "listen": "test",
+ "script": {
+ "exec": [
+ ""
+ ],
+ "type": "text/javascript"
+ }
+ }
+ ],
+ "request": {
"method": "GET",
"header": [
{
"key": "Authorization",
- "value": "Bearer {{Token}}",
- "type": "text"
+ "type": "text",
+ "value": "Bearer {{Token}}"
},
{
"key": "Content-Type",
- "value": "application/json",
- "type": "text"
+ "type": "text",
+ "value": "application/json"
},
{
"key": "Accept",
- "value": "application/json",
- "type": "text"
+ "type": "text",
+ "value": "application/json"
},
{
"key": "x-app-key",
- "value": "{{AppKey}}",
- "type": "text"
+ "type": "text",
+ "value": "{{AppKey}}"
},
{
"key": "x-channelCode",
- "value": "{{channelCode}}",
- "type": "text"
+ "type": "text",
+ "value": "{{channelCode}}"
}
],
"url": {
- "raw": "{{HostName}}/shop/v0/hotels?adults=1&numberOfUnits=1&ratePlanCodes={{NegotiatedRatePlanCodes}}&accessCode={{accessCode}}&ratePlanCodeMatchOnly=True&chainCode={{chainCode}}&hotelCodes={{HotelCode1}},{{HotelCode2}},{{HotelCode3}}&arrivalDate={{currentdateplus10}}&departureDate={{currentdateplus12}}",
+ "raw": "{{HostName}}/content/v0/hotels/{{HotelCode1}}/ratePlans",
"host": [
"{{HostName}}"
],
"path": [
- "shop",
+ "content",
"v0",
- "hotels"
- ],
- "query": [
- {
- "key": "adults",
- "value": "1"
- },
- {
- "key": "numberOfUnits",
- "value": "1"
- },
- {
- "key": "ratePlanCodes",
- "value": "{{NegotiatedRatePlanCodes}}"
- },
- {
- "key": "accessCode",
- "value": "{{accessCode}}"
- },
- {
- "key": "ratePlanCodeMatchOnly",
- "value": "True"
- },
- {
- "key": "chainCode",
- "value": "{{chainCode}}"
- },
- {
- "key": "hotelCodes",
- "value": "{{HotelCode1}},{{HotelCode2}},{{HotelCode3}}"
- },
- {
- "key": "arrivalDate",
- "value": "{{currentdateplus10}}"
- },
- {
- "key": "departureDate",
- "value": "{{currentdateplus12}}"
- }
+ "hotels",
+ "{{HotelCode1}}",
+ "ratePlans"
]
- }
+ },
+ "description": "Get property offers for Public rates"
},
"response": []
- },
+ }
+ ]
+ },
+ {
+ "name": "Distribution Shop (SHOP)",
+ "item": [
{
- "name": "get Properties -> Promotion Codes",
+ "name": "get Properties (v0)",
"event": [
{
"listen": "test",
@@ -1073,123 +675,123 @@
"`\r",
"\r",
"\r",
- " \r",
- " \r",
- " 2 Column Layout — Left Menu\r",
- "\r",
- " \r",
- " \r",
- "\r",
- " \r",
- " \r",
- "
\r",
- " \r",
- " \r",
- "\r",
- "
\r",
- "
\r",
- " \r",
+ " \r",
+ " \r",
+ " 2 Column Layout — Left Menu\r",
+ "\r",
+ " \r",
+ " \r",
+ "\r",
+ " \r",
+ " \r",
+ "
\r",
+ " \r",
+ " \r",
+ "\r",
+ "
\r",
+ "
\r",
+ " \r",
"\r",
"\r",
"\r",
@@ -1241,7 +843,7 @@
}
],
"url": {
- "raw": "{{HostName}}/shop/v0/hotels?adults=1&numberOfUnits=1&promotionCodes=EARLYBIRD&chainCode={{chainCode}}&hotelCodes={{HotelCode1}},{{HotelCode2}},{{HotelCode3}}&arrivalDate={{currentdateplus10}}&departureDate={{currentdateplus12}}",
+ "raw": "{{HostName}}/shop/v0/hotels?adults=2&numberOfUnits=1&chainCode={{chainCode}}&hotelCodes={{HotelCode1}},{{HotelCode2}},{{HotelCode3}},{{HotelCode4}},{{HotelCode5}},{{HotelCode6}}&arrivalDate={{currentdateplus10}}&departureDate={{currentdateplus11}}",
"host": [
"{{HostName}}"
],
@@ -1253,23 +855,19 @@
"query": [
{
"key": "adults",
- "value": "1"
+ "value": "2"
},
{
"key": "numberOfUnits",
"value": "1"
},
- {
- "key": "promotionCodes",
- "value": "EARLYBIRD"
- },
{
"key": "chainCode",
"value": "{{chainCode}}"
},
{
"key": "hotelCodes",
- "value": "{{HotelCode1}},{{HotelCode2}},{{HotelCode3}}"
+ "value": "{{HotelCode1}},{{HotelCode2}},{{HotelCode3}},{{HotelCode4}},{{HotelCode5}},{{HotelCode6}}"
},
{
"key": "arrivalDate",
@@ -1277,20 +875,159 @@
},
{
"key": "departureDate",
- "value": "{{currentdateplus12}}"
+ "value": "{{currentdateplus11}}"
}
]
- }
+ },
+ "description": "This operation allows a channel to retrieve multi-property availability summary with basic information returned.\n\nChannel must send at list one hotel code and stay criteria to see if the properties are available, and what is their minimum and maximum price across any room types."
},
"response": []
},
{
- "name": "Get Property Offers",
+ "name": "get Properties (v0) -> with children",
"event": [
{
"listen": "test",
"script": {
"exec": [
+ "// collect parameters passed for dispaly \r",
+ "var arrival = pm.environment.get(\"currentdateplus1\")\r",
+ "\r",
+ "// Set template for html page \r",
+ "// var hotels = pm.environment.get(\"UI-shop-response\")\r",
+ "var hotels = \r",
+ "`\r",
+ "\r",
+ "\r",
+ " \r",
+ " \r",
+ " 2 Column Layout — Left Menu\r",
+ "\r",
+ " \r",
+ " \r",
+ "\r",
+ " \r",
+ " \r",
+ "
\r",
+ " \r",
+ " \r",
+ "\r",
+ "
\r",
+ "
\r",
+ " \r",
+ "\r",
+ "\r",
+ "\r",
+ "\r",
+ "`\r",
+ "\r",
+ "\r",
+ " \r",
+ "// Set visualizer\r",
+ "pm.visualizer.set(hotels, {response: pm.response.json()});\r",
+ " \r",
+ "\r",
""
],
"type": "text/javascript"
@@ -1299,188 +1036,456 @@
],
"request": {
"auth": {
- "type": "bearer",
- "bearer": [
- {
- "key": "token",
- "value": "{{Token}}",
- "type": "string"
- }
- ]
+ "type": "noauth"
},
"method": "GET",
"header": [
{
"key": "Authorization",
- "type": "text",
- "value": "Bearer {{Token}}"
+ "value": "Bearer {{Token}}",
+ "type": "text"
},
{
"key": "Content-Type",
- "type": "text",
- "value": "application/json"
+ "value": "application/json",
+ "type": "text"
},
{
"key": "Accept",
- "type": "text",
- "value": "application/json"
+ "value": "application/json",
+ "type": "text"
},
{
"key": "x-app-key",
- "type": "text",
- "value": "{{AppKey}}"
+ "value": "{{AppKey}}",
+ "type": "text"
},
{
"key": "x-channelCode",
- "type": "text",
- "value": "{{channelCode}}"
+ "value": "{{channelCode}}",
+ "type": "text"
}
],
"url": {
- "raw": "{{HostName}}/shop/v0/hotels/{{HotelCode}}/offers?adults=1&numberOfUnits=1&arrivalDate={{currentdateplus10}}&departureDate={{currentdateplus11}}&children=1&childrenAges=12",
+ "raw": "{{HostName}}/shop/v0/hotels?adults=1&children=2&childrenAges=12,6&numberOfUnits=1&chainCode={{chainCode}}&hotelCodes={{HotelCode1}},{{HotelCode2}},{{HotelCode3}}&arrivalDate={{currentdateplus10}}&departureDate={{currentdateplus12}}",
"host": [
"{{HostName}}"
],
"path": [
"shop",
"v0",
- "hotels",
- "{{HotelCode}}",
- "offers"
+ "hotels"
],
"query": [
{
"key": "adults",
"value": "1"
},
+ {
+ "key": "children",
+ "value": "2"
+ },
+ {
+ "key": "childrenAges",
+ "value": "12,6"
+ },
{
"key": "numberOfUnits",
"value": "1"
},
{
- "key": "arrivalDate",
- "value": "{{currentdateplus10}}"
+ "key": "chainCode",
+ "value": "{{chainCode}}"
},
{
- "key": "departureDate",
- "value": "{{currentdateplus11}}"
+ "key": "hotelCodes",
+ "value": "{{HotelCode1}},{{HotelCode2}},{{HotelCode3}}"
},
{
- "key": "children",
- "value": "1"
+ "key": "arrivalDate",
+ "value": "{{currentdateplus10}}"
},
{
- "key": "childrenAges",
- "value": "12"
+ "key": "departureDate",
+ "value": "{{currentdateplus12}}"
}
]
- },
- "description": "Get property offers for Public rates"
+ }
},
"response": []
},
{
- "name": "Get Property Offers -> 3 nights",
+ "name": "get Properties (v0) -> using rate Mode",
"event": [
{
"listen": "test",
"script": {
"exec": [
- ""
- ],
- "type": "text/javascript"
- }
- }
- ],
- "request": {
- "auth": {
- "type": "bearer",
- "bearer": [
- {
- "key": "token",
- "value": "{{Token}}",
- "type": "string"
- }
- ]
+ "// collect parameters passed for dispaly \r",
+ "var arrival = pm.environment.get(\"currentdateplus1\")\r",
+ "\r",
+ "// Set template for html page \r",
+ "// var hotels = pm.environment.get(\"UI-shop-response\")\r",
+ "var hotels = \r",
+ "`\r",
+ "\r",
+ "\r",
+ " \r",
+ " \r",
+ " 2 Column Layout — Left Menu\r",
+ "\r",
+ " \r",
+ " \r",
+ "\r",
+ " \r",
+ " \r",
+ "
\r",
+ " \r",
+ " \r",
+ "\r",
+ "
\r",
+ "
\r",
+ " \r",
+ "\r",
+ "\r",
+ "\r",
+ "\r",
+ "`\r",
+ "\r",
+ "\r",
+ " \r",
+ "// Set visualizer\r",
+ "pm.visualizer.set(hotels, {response: pm.response.json()});\r",
+ " \r",
+ "\r",
+ ""
+ ],
+ "type": "text/javascript"
+ }
+ }
+ ],
+ "request": {
+ "auth": {
+ "type": "noauth"
},
"method": "GET",
"header": [
{
"key": "Authorization",
- "type": "text",
- "value": "Bearer {{Token}}"
+ "value": "Bearer {{Token}}",
+ "type": "text"
},
{
"key": "Content-Type",
- "type": "text",
- "value": "application/json"
+ "value": "application/json",
+ "type": "text"
},
{
"key": "Accept",
- "type": "text",
- "value": "application/json"
+ "value": "application/json",
+ "type": "text"
},
{
"key": "x-app-key",
- "type": "text",
- "value": "{{AppKey}}"
+ "value": "{{AppKey}}",
+ "type": "text"
},
{
"key": "x-channelCode",
- "type": "text",
- "value": "{{channelCode}}"
+ "value": "{{channelCode}}",
+ "type": "text"
}
],
"url": {
- "raw": "{{HostName}}/shop/v0/hotels/{{HotelCode}}/offers?adults=1&numberOfUnits=1&arrivalDate={{currentdateplus10}}&departureDate={{currentdateplus13}}&children=1&childrenAges=12",
+ "raw": "{{HostName}}/shop/v0/hotels?rateMode=Average&adults=2&numberOfUnits=1&chainCode={{chainCode}}&hotelCodes={{HotelCode1}},{{HotelCode2}},{{HotelCode3}}&arrivalDate={{currentdateplus10}}&departureDate={{currentdateplus12}}",
"host": [
"{{HostName}}"
],
"path": [
"shop",
"v0",
- "hotels",
- "{{HotelCode}}",
- "offers"
+ "hotels"
],
"query": [
+ {
+ "key": "rateMode",
+ "value": "Average"
+ },
{
"key": "adults",
- "value": "1"
+ "value": "2"
},
{
"key": "numberOfUnits",
"value": "1"
},
{
- "key": "arrivalDate",
- "value": "{{currentdateplus10}}"
+ "key": "chainCode",
+ "value": "{{chainCode}}"
},
{
- "key": "departureDate",
- "value": "{{currentdateplus13}}"
+ "key": "hotelCodes",
+ "value": "{{HotelCode1}},{{HotelCode2}},{{HotelCode3}}"
},
{
- "key": "children",
- "value": "1"
+ "key": "arrivalDate",
+ "value": "{{currentdateplus10}}"
},
{
- "key": "childrenAges",
- "value": "12"
+ "key": "departureDate",
+ "value": "{{currentdateplus12}}"
}
]
- },
- "description": "Get property offers for Public rates"
+ }
},
"response": []
},
{
- "name": "Get Property Offers -> Access to Neg Rate",
+ "name": "get Properties (v0) -> Negotiated Rate range always include Public rates",
"event": [
{
"listen": "test",
"script": {
"exec": [
+ "// collect parameters passed for dispaly \r",
+ "var arrival = pm.environment.get(\"currentdateplus1\")\r",
+ "\r",
+ "// Set template for html page \r",
+ "// var hotels = pm.environment.get(\"UI-shop-response\")\r",
+ "var hotels = \r",
+ "`\r",
+ "\r",
+ "\r",
+ " \r",
+ " \r",
+ " 2 Column Layout — Left Menu\r",
+ "\r",
+ " \r",
+ " \r",
+ "\r",
+ " \r",
+ " \r",
+ "
\r",
+ " \r",
+ " \r",
+ "\r",
+ "
\r",
+ "
\r",
+ " \r",
+ "\r",
+ "\r",
+ "\r",
+ "\r",
+ "`\r",
+ "\r",
+ "\r",
+ " \r",
+ "// Set visualizer\r",
+ "pm.visualizer.set(hotels, {response: pm.response.json()});\r",
+ " \r",
+ "\r",
""
],
"type": "text/javascript"
@@ -1489,14 +1494,7 @@
],
"request": {
"auth": {
- "type": "bearer",
- "bearer": [
- {
- "key": "token",
- "value": "{{Token}}",
- "type": "string"
- }
- ]
+ "type": "noauth"
},
"method": "GET",
"header": [
@@ -1527,16 +1525,14 @@
}
],
"url": {
- "raw": "{{HostName}}/shop/v0/hotels/{{HotelCode}}/offers?adults=1&numberOfUnits=1&ratePlanCodes={{NegotiatedRatePlanCodes}}&accessCode={{accessCode}}&arrivalDate={{currentdateplus10}}&departureDate={{currentdateplus11}}",
+ "raw": "{{HostName}}/shop/v0/hotels?adults=1&numberOfUnits=1&ratePlanCodes={{NegotiatedRatePlanCodes}}&accessCode={{accessCode}}&ratePlanCodeMatchOnly=False&alternateOffers=Always&chainCode={{chainCode}}&hotelCodes={{HotelCode1}},{{HotelCode2}},{{HotelCode3}}&arrivalDate={{currentdateplus10}}&departureDate={{currentdateplus12}}",
"host": [
"{{HostName}}"
],
"path": [
"shop",
"v0",
- "hotels",
- "{{HotelCode}}",
- "offers"
+ "hotels"
],
"query": [
{
@@ -1555,13 +1551,29 @@
"key": "accessCode",
"value": "{{accessCode}}"
},
+ {
+ "key": "ratePlanCodeMatchOnly",
+ "value": "False"
+ },
+ {
+ "key": "alternateOffers",
+ "value": "Always"
+ },
+ {
+ "key": "chainCode",
+ "value": "{{chainCode}}"
+ },
+ {
+ "key": "hotelCodes",
+ "value": "{{HotelCode1}},{{HotelCode2}},{{HotelCode3}}"
+ },
{
"key": "arrivalDate",
"value": "{{currentdateplus10}}"
},
{
"key": "departureDate",
- "value": "{{currentdateplus11}}"
+ "value": "{{currentdateplus12}}"
}
]
}
@@ -1569,12 +1581,150 @@
"response": []
},
{
- "name": "Get Property Offers -> include Property amenities",
+ "name": "get Properties (v0) -> Negotiated Rate range only include Public rates if requested not available",
"event": [
{
"listen": "test",
"script": {
"exec": [
+ "// collect parameters passed for dispaly \r",
+ "var arrival = pm.environment.get(\"currentdateplus1\")\r",
+ "\r",
+ "// Set template for html page \r",
+ "// var hotels = pm.environment.get(\"UI-shop-response\")\r",
+ "var hotels = \r",
+ "`\r",
+ "\r",
+ "\r",
+ " \r",
+ " \r",
+ " 2 Column Layout — Left Menu\r",
+ "\r",
+ " \r",
+ " \r",
+ "\r",
+ " \r",
+ " \r",
+ "
\r",
+ " \r",
+ " \r",
+ "\r",
+ "
\r",
+ "
\r",
+ " \r",
+ "\r",
+ "\r",
+ "\r",
+ "\r",
+ "`\r",
+ "\r",
+ "\r",
+ " \r",
+ "// Set visualizer\r",
+ "pm.visualizer.set(hotels, {response: pm.response.json()});\r",
+ " \r",
+ "\r",
""
],
"type": "text/javascript"
@@ -1589,41 +1739,39 @@
"header": [
{
"key": "Authorization",
- "type": "text",
- "value": "Bearer {{Token}}"
+ "value": "Bearer {{Token}}",
+ "type": "text"
},
{
"key": "Content-Type",
- "type": "text",
- "value": "application/json"
+ "value": "application/json",
+ "type": "text"
},
{
"key": "Accept",
- "type": "text",
- "value": "application/json"
+ "value": "application/json",
+ "type": "text"
},
{
"key": "x-app-key",
- "type": "text",
- "value": "{{AppKey}}"
+ "value": "{{AppKey}}",
+ "type": "text"
},
{
"key": "x-channelCode",
- "type": "text",
- "value": "{{channelCode}}"
+ "value": "{{channelCode}}",
+ "type": "text"
}
],
"url": {
- "raw": "{{HostName}}/shop/v0/hotels/{{HotelCode}}/offers?adults=1&numberOfUnits=1&arrivalDate={{currentdateplus10}}&departureDate={{currentdateplus11}}&children=1&childrenAges=12&includeAmenities=true",
+ "raw": "{{HostName}}/shop/v0/hotels?adults=1&numberOfUnits=1&ratePlanCodes={{NegotiatedRatePlanCodes}}&accessCode={{accessCode}}&ratePlanCodeMatchOnly=False&alternateOffers=WhenRequestedNotAvailable&chainCode={{chainCode}}&hotelCodes={{HotelCode1}},{{HotelCode2}},{{HotelCode3}}&arrivalDate={{currentdateplus10}}&departureDate={{currentdateplus12}}",
"host": [
"{{HostName}}"
],
"path": [
"shop",
"v0",
- "hotels",
- "{{HotelCode}}",
- "offers"
+ "hotels"
],
"query": [
{
@@ -1635,44 +1783,193 @@
"value": "1"
},
{
- "key": "arrivalDate",
- "value": "{{currentdateplus10}}"
+ "key": "ratePlanCodes",
+ "value": "{{NegotiatedRatePlanCodes}}"
},
{
- "key": "departureDate",
- "value": "{{currentdateplus11}}"
+ "key": "accessCode",
+ "value": "{{accessCode}}"
},
{
- "key": "children",
- "value": "1"
+ "key": "ratePlanCodeMatchOnly",
+ "value": "False"
},
{
- "key": "childrenAges",
- "value": "12"
+ "key": "alternateOffers",
+ "value": "WhenRequestedNotAvailable"
},
{
- "key": "includeAmenities",
- "value": "true"
+ "key": "chainCode",
+ "value": "{{chainCode}}"
+ },
+ {
+ "key": "hotelCodes",
+ "value": "{{HotelCode1}},{{HotelCode2}},{{HotelCode3}}"
+ },
+ {
+ "key": "arrivalDate",
+ "value": "{{currentdateplus10}}"
+ },
+ {
+ "key": "departureDate",
+ "value": "{{currentdateplus12}}"
}
]
- },
- "description": "Get property offers for Public rates"
+ }
},
"response": []
},
{
- "name": "Get Property Offers -> Promotion Codes",
+ "name": "get Properties (v0) -> Negotiated Rate Not Loaded",
"event": [
{
"listen": "test",
"script": {
"exec": [
- ""
- ],
- "type": "text/javascript"
- }
- }
- ],
+ "// collect parameters passed for dispaly \r",
+ "var arrival = pm.environment.get(\"currentdateplus1\")\r",
+ "\r",
+ "// Set template for html page \r",
+ "// var hotels = pm.environment.get(\"UI-shop-response\")\r",
+ "var hotels = \r",
+ "`\r",
+ "\r",
+ "\r",
+ " \r",
+ " \r",
+ " 2 Column Layout — Left Menu\r",
+ "\r",
+ " \r",
+ " \r",
+ "\r",
+ " \r",
+ " \r",
+ "
\r",
+ " \r",
+ " \r",
+ "\r",
+ "
\r",
+ "
\r",
+ " \r",
+ "\r",
+ "\r",
+ "\r",
+ "\r",
+ "`\r",
+ "\r",
+ "\r",
+ " \r",
+ "// Set visualizer\r",
+ "pm.visualizer.set(hotels, {response: pm.response.json()});\r",
+ " \r",
+ "\r",
+ ""
+ ],
+ "type": "text/javascript"
+ }
+ }
+ ],
"request": {
"auth": {
"type": "noauth"
@@ -1681,41 +1978,39 @@
"header": [
{
"key": "Authorization",
- "type": "text",
- "value": "Bearer {{Token}}"
+ "value": "Bearer {{Token}}",
+ "type": "text"
},
{
"key": "Content-Type",
- "type": "text",
- "value": "application/json"
+ "value": "application/json",
+ "type": "text"
},
{
"key": "Accept",
- "type": "text",
- "value": "application/json"
+ "value": "application/json",
+ "type": "text"
},
{
"key": "x-app-key",
- "type": "text",
- "value": "{{AppKey}}"
+ "value": "{{AppKey}}",
+ "type": "text"
},
{
"key": "x-channelCode",
- "type": "text",
- "value": "{{channelCode}}"
+ "value": "{{channelCode}}",
+ "type": "text"
}
],
"url": {
- "raw": "{{HostName}}/shop/v0/hotels/{{HotelCode}}/offers?adults=1&numberOfUnits=1&arrivalDate=2023-02-01&departureDate=2023-02-03&children=1&childrenAges=12&promotionCodes=ACTIVEPROMO",
+ "raw": "{{HostName}}/shop/v0/hotels?adults=1&numberOfUnits=1&accessCode=DUMMY&ratePlanCodeMatchOnly=False&alternateOffers=WhenRequestedNotAvailable&chainCode={{chainCode}}&hotelCodes={{HotelCode1}},{{HotelCode2}},{{HotelCode3}}&arrivalDate={{currentdateplus10}}&departureDate={{currentdateplus12}}",
"host": [
"{{HostName}}"
],
"path": [
"shop",
"v0",
- "hotels",
- "{{HotelCode}}",
- "offers"
+ "hotels"
],
"query": [
{
@@ -1727,38 +2022,183 @@
"value": "1"
},
{
- "key": "arrivalDate",
- "value": "2023-02-01"
+ "key": "accessCode",
+ "value": "DUMMY"
},
{
- "key": "departureDate",
- "value": "2023-02-03"
+ "key": "ratePlanCodeMatchOnly",
+ "value": "False"
},
{
- "key": "children",
- "value": "1"
+ "key": "alternateOffers",
+ "value": "WhenRequestedNotAvailable"
},
{
- "key": "childrenAges",
- "value": "12"
+ "key": "chainCode",
+ "value": "{{chainCode}}"
},
{
- "key": "promotionCodes",
- "value": "ACTIVEPROMO"
+ "key": "hotelCodes",
+ "value": "{{HotelCode1}},{{HotelCode2}},{{HotelCode3}}"
+ },
+ {
+ "key": "arrivalDate",
+ "value": "{{currentdateplus10}}"
+ },
+ {
+ "key": "departureDate",
+ "value": "{{currentdateplus12}}"
}
]
- },
- "description": "Get property offers for Public rates"
+ }
},
"response": []
},
{
- "name": "get Property Offers -> Specific room amenities",
+ "name": "get Properties (v0) -> Negotiated Rate Not Closed for sale",
"event": [
{
"listen": "test",
"script": {
"exec": [
+ "// collect parameters passed for dispaly \r",
+ "var arrival = pm.environment.get(\"currentdateplus1\")\r",
+ "\r",
+ "// Set template for html page \r",
+ "// var hotels = pm.environment.get(\"UI-shop-response\")\r",
+ "var hotels = \r",
+ "`\r",
+ "\r",
+ "\r",
+ " \r",
+ " \r",
+ " 2 Column Layout — Left Menu\r",
+ "\r",
+ " \r",
+ " \r",
+ "\r",
+ " \r",
+ " \r",
+ "
\r",
+ " \r",
+ " \r",
+ "\r",
+ "
\r",
+ "
\r",
+ " \r",
+ "\r",
+ "\r",
+ "\r",
+ "\r",
+ "`\r",
+ "\r",
+ "\r",
+ " \r",
+ "// Set visualizer\r",
+ "pm.visualizer.set(hotels, {response: pm.response.json()});\r",
+ " \r",
+ "\r",
""
],
"type": "text/javascript"
@@ -1767,14 +2207,7 @@
],
"request": {
"auth": {
- "type": "bearer",
- "bearer": [
- {
- "key": "token",
- "value": "{{Token}}",
- "type": "string"
- }
- ]
+ "type": "noauth"
},
"method": "GET",
"header": [
@@ -1805,16 +2238,14 @@
}
],
"url": {
- "raw": "{{HostName}}/shop/v0/hotels/{{HotelCode1}}/offers?adults=1&numberOfUnits=1&roomTypeMatchOnly=True&arrivalDate={{currentdateplus10}}&departureDate={{currentdateplus12}}&roomAmenity=102",
+ "raw": "{{HostName}}/shop/v0/hotels?adults=1&numberOfUnits=1&accessCode={{accessCode}}&ratePlanCodeMatchOnly=False&alternateOffers=WhenRequestedNotAvailable&chainCode={{chainCode}}&hotelCodes={{HotelCode1}},{{HotelCode2}},{{HotelCode3}}&arrivalDate={{currentdateplus10}}&departureDate={{currentdateplus12}}",
"host": [
"{{HostName}}"
],
"path": [
"shop",
"v0",
- "hotels",
- "{{HotelCode1}}",
- "offers"
+ "hotels"
],
"query": [
{
@@ -1826,13 +2257,24 @@
"value": "1"
},
{
- "key": "roomTypes",
- "value": "{{RoomTypeCode}}",
- "disabled": true
+ "key": "accessCode",
+ "value": "{{accessCode}}"
},
{
- "key": "roomTypeMatchOnly",
- "value": "True"
+ "key": "ratePlanCodeMatchOnly",
+ "value": "False"
+ },
+ {
+ "key": "alternateOffers",
+ "value": "WhenRequestedNotAvailable"
+ },
+ {
+ "key": "chainCode",
+ "value": "{{chainCode}}"
+ },
+ {
+ "key": "hotelCodes",
+ "value": "{{HotelCode1}},{{HotelCode2}},{{HotelCode3}}"
},
{
"key": "arrivalDate",
@@ -1841,10 +2283,6 @@
{
"key": "departureDate",
"value": "{{currentdateplus12}}"
- },
- {
- "key": "roomAmenity",
- "value": "102"
}
]
}
@@ -1852,12 +2290,150 @@
"response": []
},
{
- "name": "get Property Offers -> Specific room type(s) only",
+ "name": "get Properties (v0) -> Promotion Codes",
"event": [
{
"listen": "test",
"script": {
"exec": [
+ "// collect parameters passed for dispaly \r",
+ "var arrival = pm.environment.get(\"currentdateplus1\")\r",
+ "\r",
+ "// Set template for html page \r",
+ "// var hotels = pm.environment.get(\"UI-shop-response\")\r",
+ "var hotels = \r",
+ "`\r",
+ "\r",
+ "\r",
+ " \r",
+ " \r",
+ " 2 Column Layout — Left Menu\r",
+ "\r",
+ " \r",
+ " \r",
+ "\r",
+ " \r",
+ " \r",
+ "
\r",
+ " \r",
+ " \r",
+ "\r",
+ "
\r",
+ "
\r",
+ " \r",
+ "\r",
+ "\r",
+ "\r",
+ "\r",
+ "`\r",
+ "\r",
+ "\r",
+ " \r",
+ "// Set visualizer\r",
+ "pm.visualizer.set(hotels, {response: pm.response.json()});\r",
+ " \r",
+ "\r",
""
],
"type": "text/javascript"
@@ -1897,16 +2473,14 @@
}
],
"url": {
- "raw": "{{HostName}}/shop/v0/hotels/{{HotelCode1}}/offers?adults=1&numberOfUnits=1&roomTypes={{RoomTypeCode}}&roomTypeMatchOnly=true&arrivalDate={{currentdateplus10}}&departureDate={{currentdateplus12}}",
+ "raw": "{{HostName}}/shop/v0/hotels?adults=1&numberOfUnits=1&promotionCodes={{PromotionCodes}}&chainCode={{chainCode}}&hotelCodes={{HotelCode1}},{{HotelCode2}}&arrivalDate={{currentdateplus10}}&departureDate={{currentdateplus12}}",
"host": [
"{{HostName}}"
],
"path": [
"shop",
"v0",
- "hotels",
- "{{HotelCode1}}",
- "offers"
+ "hotels"
],
"query": [
{
@@ -1918,12 +2492,16 @@
"value": "1"
},
{
- "key": "roomTypes",
- "value": "{{RoomTypeCode}}"
+ "key": "promotionCodes",
+ "value": "{{PromotionCodes}}"
},
{
- "key": "roomTypeMatchOnly",
- "value": "true"
+ "key": "chainCode",
+ "value": "{{chainCode}}"
+ },
+ {
+ "key": "hotelCodes",
+ "value": "{{HotelCode1}},{{HotelCode2}}"
},
{
"key": "arrivalDate",
@@ -1939,12 +2517,150 @@
"response": []
},
{
- "name": "get Property Offers -> Specific rate plan and room type",
+ "name": "get Properties (v0) -> 1 property",
"event": [
{
"listen": "test",
"script": {
"exec": [
+ "// collect parameters passed for dispaly \r",
+ "var arrival = pm.environment.get(\"currentdateplus1\")\r",
+ "\r",
+ "// Set template for html page \r",
+ "// var hotels = pm.environment.get(\"UI-shop-response\")\r",
+ "var hotels = \r",
+ "`\r",
+ "\r",
+ "\r",
+ " \r",
+ " \r",
+ " 2 Column Layout — Left Menu\r",
+ "\r",
+ " \r",
+ " \r",
+ "\r",
+ " \r",
+ " \r",
+ "
\r",
+ " \r",
+ " \r",
+ "\r",
+ "
\r",
+ "
\r",
+ " \r",
+ "\r",
+ "\r",
+ "\r",
+ "\r",
+ "`\r",
+ "\r",
+ "\r",
+ " \r",
+ "// Set visualizer\r",
+ "pm.visualizer.set(hotels, {response: pm.response.json()});\r",
+ " \r",
+ "\r",
""
],
"type": "text/javascript"
@@ -1953,14 +2669,7 @@
],
"request": {
"auth": {
- "type": "bearer",
- "bearer": [
- {
- "key": "token",
- "value": "{{Token}}",
- "type": "string"
- }
- ]
+ "type": "noauth"
},
"method": "GET",
"header": [
@@ -1991,41 +2700,31 @@
}
],
"url": {
- "raw": "{{HostName}}/shop/v0/hotels/{{HotelCode1}}/offers?adults=1&numberOfUnits=1&ratePlanCodes={{RatePlanCode}}&ratePlanCodeMatchOnly=True&roomTypes={{RoomTypeCode}}&roomTypeMatchOnly=true&arrivalDate={{currentdateplus10}}&departureDate={{currentdateplus12}}",
+ "raw": "{{HostName}}/shop/v0/hotels?adults=2&numberOfUnits=1&chainCode={{chainCode}}&hotelCodes={{HotelCode1}}&arrivalDate={{currentdateplus10}}&departureDate={{currentdateplus11}}",
"host": [
"{{HostName}}"
],
"path": [
"shop",
"v0",
- "hotels",
- "{{HotelCode1}}",
- "offers"
+ "hotels"
],
"query": [
{
"key": "adults",
- "value": "1"
+ "value": "2"
},
{
"key": "numberOfUnits",
"value": "1"
},
{
- "key": "ratePlanCodes",
- "value": "{{RatePlanCode}}"
+ "key": "chainCode",
+ "value": "{{chainCode}}"
},
{
- "key": "ratePlanCodeMatchOnly",
- "value": "True"
- },
- {
- "key": "roomTypes",
- "value": "{{RoomTypeCode}}"
- },
- {
- "key": "roomTypeMatchOnly",
- "value": "true"
+ "key": "hotelCodes",
+ "value": "{{HotelCode1}}"
},
{
"key": "arrivalDate",
@@ -2033,20 +2732,226 @@
},
{
"key": "departureDate",
- "value": "{{currentdateplus12}}"
+ "value": "{{currentdateplus11}}"
}
]
- }
+ },
+ "description": "This operation allows a channel to retrieve multi-property availability summary with basic information returned.\n\nChannel must send at list one hotel code and stay criteria to see if the properties are available, and what is their minimum and maximum price across any room types."
},
"response": []
},
{
- "name": "get Property Offers -> Specific rate plan only",
+ "name": "Get Property Offers (v0)",
"event": [
{
"listen": "test",
"script": {
"exec": [
+ "// collect parameters passed for dispaly \r",
+ "var arrival = pm.environment.get(\"currentdateplus1\")\r",
+ "\r",
+ "// Set template for html page \r",
+ "// var hotels = pm.environment.get(\"UI-shop-response\")\r",
+ "var hotels = \r",
+ "`\r",
+ "\r",
+ "\r",
+ " \r",
+ " \r",
+ " 2 Column Layout — Left Menu\r",
+ " \r",
+ " \r",
+ " \r",
+ " \r",
+ "
\r",
+ " \r",
+ "
Available Offers
\r",
+ "
\r",
+ " \r",
+ " Offer code | \r",
+ " Availability Status | \r",
+ " Price | \r",
+ " Rate mode | \r",
+ " Changes? | \r",
+ " Net Total | \r",
+ " Total Tax | \r",
+ " Total | \r",
+ "
\r",
+ " {{#each response.roomStays}} {{#each offers}}\r",
+ " \r",
+ " {{bookingCode}} | \r",
+ " {{availabilityStatus}} | \r",
+ " {{rateInformation.rate.base.amountBeforeTax}} | \r",
+ " {{rateInformation.rate.rateMode}} | \r",
+ " {{rateChangeDuringStay}} | \r",
+ " {{total.amountBeforeTax}} | \r",
+ " {{total.taxes.totalTax}} | \r",
+ " {{total.amountAfterTax}} | \r",
+ "
\r",
+ " {{/each}} {{/each}}\r",
+ "
\r",
+ "
\r",
+ " \r",
+ "
\r",
+ "
\r",
+ " \r",
+ "\r",
+ "\r",
+ "\r",
+ "\r",
+ "`\r",
+ "\r",
+ "\r",
+ " \r",
+ "// Set visualizer\r",
+ "pm.visualizer.set(hotels, {response: pm.response.json()});\r",
+ " \r",
+ "\r",
""
],
"type": "text/javascript"
@@ -2054,16 +2959,6 @@
}
],
"request": {
- "auth": {
- "type": "bearer",
- "bearer": [
- {
- "key": "token",
- "value": "{{Token}}",
- "type": "string"
- }
- ]
- },
"method": "GET",
"header": [
{
@@ -2090,10 +2985,15 @@
"key": "x-channelCode",
"value": "{{channelCode}}",
"type": "text"
+ },
+ {
+ "key": "Accept-Language",
+ "value": "de",
+ "type": "text"
}
],
"url": {
- "raw": "{{HostName}}/shop/v0/hotels/{{HotelCode}}/offers?adults=1&numberOfUnits=1&ratePlanCodes={{RatePlanCode}}&ratePlanCodeMatchOnly=true&arrivalDate={{currentdateplus10}}&departureDate={{currentdateplus12}}",
+ "raw": "{{HostName}}/shop/v0/hotels/{{HotelCode1}}/offers?includeAmenities=false&arrivalDate={{currentdateplus10}}&departureDate={{currentdateplus13}}&numberOfUnits=1&adults=1",
"host": [
"{{HostName}}"
],
@@ -2101,41 +3001,106 @@
"shop",
"v0",
"hotels",
- "{{HotelCode}}",
+ "{{HotelCode1}}",
"offers"
],
"query": [
{
- "key": "adults",
- "value": "1"
+ "key": "includeAmenities",
+ "value": "false"
+ },
+ {
+ "key": "arrivalDate",
+ "value": "{{currentdateplus10}}",
+ "description": "Arrival/Check-in Date Example: 2021-06-01."
+ },
+ {
+ "key": "departureDate",
+ "value": "{{currentdateplus13}}"
},
{
"key": "numberOfUnits",
"value": "1"
},
+ {
+ "key": "adults",
+ "value": "1",
+ "description": "Number of adults Example: 1. Default: 1."
+ },
+ {
+ "key": "children",
+ "value": "0",
+ "disabled": true
+ },
+ {
+ "key": "childrenAges",
+ "value": "12",
+ "disabled": true
+ },
+ {
+ "key": "roomTypes",
+ "value": "",
+ "disabled": true
+ },
{
"key": "ratePlanCodes",
- "value": "{{RatePlanCode}}"
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "accessCode",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "ratePlanType",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "roomTypeMatchOnly",
+ "value": "",
+ "disabled": true
},
{
"key": "ratePlanCodeMatchOnly",
- "value": "true"
+ "value": "",
+ "disabled": true
},
{
- "key": "arrivalDate",
- "value": "{{currentdateplus10}}"
+ "key": "rateMode",
+ "value": "",
+ "disabled": true
},
{
- "key": "departureDate",
- "value": "{{currentdateplus12}}"
+ "key": "roomAmenity",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "roomAmenityQuantity",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "minRate",
+ "value": "",
+ "description": "Indicates to include property amenities in the response Example: true.",
+ "disabled": true
+ },
+ {
+ "key": "maxRate",
+ "value": "",
+ "disabled": true
}
]
- }
+ },
+ "description": "Get property offers for Public rates"
},
"response": []
},
{
- "name": "get Property Offer",
+ "name": "Get Property Offers (v0) -> include Property amenities",
"event": [
{
"listen": "test",
@@ -2149,14 +3114,7 @@
],
"request": {
"auth": {
- "type": "bearer",
- "bearer": [
- {
- "key": "token",
- "value": "{{Token}}",
- "type": "string"
- }
- ]
+ "type": "noauth"
},
"method": "GET",
"header": [
@@ -2187,7 +3145,7 @@
}
],
"url": {
- "raw": "{{HostName}}/shop/v0/hotels/{{HotelCode}}/offer?adults=1&numberOfUnits=1&ratePlanCode={{RatePlanCode}}&roomType={{RoomTypeCode}}&arrivalDate={{currentdateplus10}}&departureDate={{currentdateplus11}}",
+ "raw": "{{HostName}}/shop/v0/hotels/{{HotelCode1}}/offers?adults=1&numberOfUnits=1&arrivalDate={{currentdateplus10}}&departureDate={{currentdateplus11}}&children=1&childrenAges=12&includeAmenities=true",
"host": [
"{{HostName}}"
],
@@ -2195,8 +3153,8 @@
"shop",
"v0",
"hotels",
- "{{HotelCode}}",
- "offer"
+ "{{HotelCode1}}",
+ "offers"
],
"query": [
{
@@ -2207,14 +3165,6 @@
"key": "numberOfUnits",
"value": "1"
},
- {
- "key": "ratePlanCode",
- "value": "{{RatePlanCode}}"
- },
- {
- "key": "roomType",
- "value": "{{RoomTypeCode}}"
- },
{
"key": "arrivalDate",
"value": "{{currentdateplus10}}"
@@ -2222,15 +3172,27 @@
{
"key": "departureDate",
"value": "{{currentdateplus11}}"
+ },
+ {
+ "key": "children",
+ "value": "1"
+ },
+ {
+ "key": "childrenAges",
+ "value": "12"
+ },
+ {
+ "key": "includeAmenities",
+ "value": "true"
}
]
},
- "description": "get Property Offer -> Offer Details"
+ "description": "Get property offers for Public rates"
},
"response": []
},
{
- "name": "get Property Offer -> Offer Details Negotiated Rate",
+ "name": "Get Property Offers (v0) -> by OTA Rate Plan Type",
"event": [
{
"listen": "test",
@@ -2244,45 +3206,38 @@
],
"request": {
"auth": {
- "type": "bearer",
- "bearer": [
- {
- "key": "token",
- "value": "{{Token}}",
- "type": "string"
- }
- ]
+ "type": "noauth"
},
"method": "GET",
"header": [
{
"key": "Authorization",
- "value": "Bearer {{Token}}",
- "type": "text"
+ "type": "text",
+ "value": "Bearer {{Token}}"
},
{
"key": "Content-Type",
- "value": "application/json",
- "type": "text"
+ "type": "text",
+ "value": "application/json"
},
{
"key": "Accept",
- "value": "application/json",
- "type": "text"
+ "type": "text",
+ "value": "application/json"
},
{
"key": "x-app-key",
- "value": "{{AppKey}}",
- "type": "text"
+ "type": "text",
+ "value": "{{AppKey}}"
},
{
"key": "x-channelCode",
- "value": "{{channelCode}}",
- "type": "text"
+ "type": "text",
+ "value": "{{channelCode}}"
}
],
"url": {
- "raw": "{{HostName}}/shop/v0/hotels/{{HotelCode}}/offer?adults=1&numberOfUnits=1&ratePlanCode={{NegotiatedRatePlanCodes}}&accessCode={{accessCode}}&roomType={{RoomTypeCode}}&arrivalDate={{currentdateplus10}}&departureDate={{currentdateplus12}}",
+ "raw": "{{HostName}}/shop/v0/hotels/{{HotelCode1}}/offers?adults=1&numberOfUnits=1&arrivalDate={{currentdateplus10}}&departureDate={{currentdateplus11}}&children=1&childrenAges=12&includeAmenities=true&ratePlanType=12&ratePlanCodeMatchOnly=True",
"host": [
"{{HostName}}"
],
@@ -2290,8 +3245,8 @@
"shop",
"v0",
"hotels",
- "{{HotelCode}}",
- "offer"
+ "{{HotelCode1}}",
+ "offers"
],
"query": [
{
@@ -2303,242 +3258,46 @@
"value": "1"
},
{
- "key": "ratePlanCode",
- "value": "{{NegotiatedRatePlanCodes}}"
+ "key": "arrivalDate",
+ "value": "{{currentdateplus10}}"
},
{
- "key": "accessCode",
- "value": "{{accessCode}}"
+ "key": "departureDate",
+ "value": "{{currentdateplus11}}"
},
{
- "key": "roomType",
- "value": "{{RoomTypeCode}}"
+ "key": "children",
+ "value": "1"
},
{
- "key": "arrivalDate",
- "value": "{{currentdateplus10}}"
+ "key": "childrenAges",
+ "value": "12"
},
{
- "key": "departureDate",
- "value": "{{currentdateplus12}}"
+ "key": "includeAmenities",
+ "value": "true"
+ },
+ {
+ "key": "ratePlanType",
+ "value": "12"
+ },
+ {
+ "key": "ratePlanCodeMatchOnly",
+ "value": "True"
}
]
- }
+ },
+ "description": "Get property offers for Public rates"
},
"response": []
},
{
- "name": "get Property Calendar",
+ "name": "Get Property Offers (v0) -> Promotion Codes",
"event": [
{
"listen": "test",
"script": {
"exec": [
- "// collect parameters passed for dispaly \r",
- "var arrival = pm.environment.get(\"currentdateplus1\")\r",
- "\r",
- "// Set template for html page \r",
- "// var hotels = pm.environment.get(\"UI-shop-response\")\r",
- "var hotels = \r",
- "`\r",
- "\r",
- "\r",
- " \r",
- " \r",
- " 2 Column Layout — Left Menu\r",
- " \r",
- " \r",
- " \r",
- " \r",
- "
\r",
- " \r",
- "
Available Offers
\r",
- "
\r",
- " \r",
- " Offer code | \r",
- " Availability Status | \r",
- " Price | \r",
- " Rate mode | \r",
- " Changes? | \r",
- " Net Total | \r",
- " Total Tax | \r",
- " Total | \r",
- "
\r",
- " {{#each response.roomStays}} {{#each offers}}\r",
- " \r",
- " {{bookingCode}} | \r",
- " {{availabilityStatus}} | \r",
- " {{rateInformation.rate.base.amountBeforeTax}} | \r",
- " {{rateInformation.rate.rateMode}} | \r",
- " {{rateChangeDuringStay}} | \r",
- " {{total.amountBeforeTax}} | \r",
- " {{total.taxes.totalTax}} | \r",
- " {{total.amountAfterTax}} | \r",
- "
\r",
- " {{/each}} {{/each}}\r",
- "
\r",
- "
\r",
- " \r",
- "
\r",
- "
\r",
- " \r",
- "\r",
- "\r",
- "\r",
- "\r",
- "`\r",
- "\r",
- "\r",
- " \r",
- "// Set visualizer\r",
- "pm.visualizer.set(hotels, {response: pm.response.json()});\r",
- " \r",
- "\r",
""
],
"type": "text/javascript"
@@ -2546,6 +3305,9 @@
}
],
"request": {
+ "auth": {
+ "type": "noauth"
+ },
"method": "GET",
"header": [
{
@@ -2565,276 +3327,1841 @@
},
{
"key": "x-app-key",
- "type": "text",
- "value": "{{AppKey}}"
+ "type": "text",
+ "value": "{{AppKey}}"
+ },
+ {
+ "key": "x-channelCode",
+ "type": "text",
+ "value": "{{channelCode}}"
+ }
+ ],
+ "url": {
+ "raw": "{{HostName}}/shop/v0/hotels/{{HotelCode1}}/offers?adults=1&numberOfUnits=1&arrivalDate={{currentdateplus10}}&departureDate={{currentdateplus13}}&promotionCodes={{PromotionCodes}}",
+ "host": [
+ "{{HostName}}"
+ ],
+ "path": [
+ "shop",
+ "v0",
+ "hotels",
+ "{{HotelCode1}}",
+ "offers"
+ ],
+ "query": [
+ {
+ "key": "adults",
+ "value": "1"
+ },
+ {
+ "key": "numberOfUnits",
+ "value": "1"
+ },
+ {
+ "key": "arrivalDate",
+ "value": "{{currentdateplus10}}"
+ },
+ {
+ "key": "departureDate",
+ "value": "{{currentdateplus13}}"
+ },
+ {
+ "key": "promotionCodes",
+ "value": "{{PromotionCodes}}"
+ }
+ ]
+ },
+ "description": "Get property offers for Public rates"
+ },
+ "response": []
+ },
+ {
+ "name": "Get Property Offers (v0) -> Offer with deposit required",
+ "event": [
+ {
+ "listen": "test",
+ "script": {
+ "exec": [
+ ""
+ ],
+ "type": "text/javascript"
+ }
+ }
+ ],
+ "request": {
+ "auth": {
+ "type": "noauth"
+ },
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "type": "text",
+ "value": "Bearer {{Token}}"
+ },
+ {
+ "key": "Content-Type",
+ "type": "text",
+ "value": "application/json"
+ },
+ {
+ "key": "Accept",
+ "type": "text",
+ "value": "application/json"
+ },
+ {
+ "key": "x-app-key",
+ "type": "text",
+ "value": "{{AppKey}}"
+ },
+ {
+ "key": "x-channelCode",
+ "type": "text",
+ "value": "{{channelCode}}"
+ }
+ ],
+ "url": {
+ "raw": "{{HostName}}/shop/v0/hotels/{{HotelCode1}}/offers?adults=1&numberOfUnits=1&arrivalDate={{currentdateplus10}}&departureDate={{currentdateplus11}}&ratePlanCodes={{DepositRequiredRatecode}}&ratePlanCodeMatchOnly=True",
+ "host": [
+ "{{HostName}}"
+ ],
+ "path": [
+ "shop",
+ "v0",
+ "hotels",
+ "{{HotelCode1}}",
+ "offers"
+ ],
+ "query": [
+ {
+ "key": "adults",
+ "value": "1"
+ },
+ {
+ "key": "numberOfUnits",
+ "value": "1"
+ },
+ {
+ "key": "arrivalDate",
+ "value": "{{currentdateplus10}}"
+ },
+ {
+ "key": "departureDate",
+ "value": "{{currentdateplus11}}"
+ },
+ {
+ "key": "children",
+ "value": "1",
+ "disabled": true
+ },
+ {
+ "key": "childrenAges",
+ "value": "12",
+ "disabled": true
+ },
+ {
+ "key": "ratePlanCodes",
+ "value": "{{DepositRequiredRatecode}}"
+ },
+ {
+ "key": "ratePlanCodeMatchOnly",
+ "value": "True"
+ }
+ ]
+ },
+ "description": "Get property offers for Public rates"
+ },
+ "response": []
+ },
+ {
+ "name": "Get Property Offers (v0) -> Access to Negotiated Rate using Access Code",
+ "event": [
+ {
+ "listen": "test",
+ "script": {
+ "exec": [
+ ""
+ ],
+ "type": "text/javascript"
+ }
+ }
+ ],
+ "request": {
+ "auth": {
+ "type": "noauth"
+ },
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Bearer {{Token}}",
+ "type": "text"
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "type": "text"
+ },
+ {
+ "key": "Accept",
+ "value": "application/json",
+ "type": "text"
+ },
+ {
+ "key": "x-app-key",
+ "value": "{{AppKey}}",
+ "type": "text"
+ },
+ {
+ "key": "x-channelCode",
+ "value": "{{channelCode}}",
+ "type": "text"
+ }
+ ],
+ "url": {
+ "raw": "{{HostName}}/shop/v0/hotels/{{HotelCode1}}/offers?adults=1&numberOfUnits=1&accessCode={{accessCode}}&arrivalDate={{currentdateplus10}}&departureDate={{currentdateplus11}}&ratePlanCodeMatchOnly=True",
+ "host": [
+ "{{HostName}}"
+ ],
+ "path": [
+ "shop",
+ "v0",
+ "hotels",
+ "{{HotelCode1}}",
+ "offers"
+ ],
+ "query": [
+ {
+ "key": "adults",
+ "value": "1"
+ },
+ {
+ "key": "numberOfUnits",
+ "value": "1"
+ },
+ {
+ "key": "ratePlanCodes",
+ "value": "{{NegotiatedRatePlanCodes}}",
+ "disabled": true
+ },
+ {
+ "key": "accessCode",
+ "value": "{{accessCode}}"
+ },
+ {
+ "key": "arrivalDate",
+ "value": "{{currentdateplus10}}"
+ },
+ {
+ "key": "departureDate",
+ "value": "{{currentdateplus11}}"
+ },
+ {
+ "key": "ratePlanCodeMatchOnly",
+ "value": "True"
+ }
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "name": "get Property Offers (v0) -> Specific room type(s) only",
+ "event": [
+ {
+ "listen": "test",
+ "script": {
+ "exec": [
+ ""
+ ],
+ "type": "text/javascript"
+ }
+ }
+ ],
+ "request": {
+ "auth": {
+ "type": "noauth"
+ },
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Bearer {{Token}}",
+ "type": "text"
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "type": "text"
+ },
+ {
+ "key": "Accept",
+ "value": "application/json",
+ "type": "text"
+ },
+ {
+ "key": "x-app-key",
+ "value": "{{AppKey}}",
+ "type": "text"
+ },
+ {
+ "key": "x-channelCode",
+ "value": "{{channelCode}}",
+ "type": "text"
+ }
+ ],
+ "url": {
+ "raw": "{{HostName}}/shop/v0/hotels/{{HotelCode1}}/offers?adults=1&numberOfUnits=1&roomTypes={{RoomTypeCodes}}&roomTypeMatchOnly=True&arrivalDate={{currentdateplus10}}&departureDate={{currentdateplus12}}",
+ "host": [
+ "{{HostName}}"
+ ],
+ "path": [
+ "shop",
+ "v0",
+ "hotels",
+ "{{HotelCode1}}",
+ "offers"
+ ],
+ "query": [
+ {
+ "key": "adults",
+ "value": "1"
+ },
+ {
+ "key": "numberOfUnits",
+ "value": "1"
+ },
+ {
+ "key": "roomTypes",
+ "value": "{{RoomTypeCodes}}"
+ },
+ {
+ "key": "roomTypeMatchOnly",
+ "value": "True"
+ },
+ {
+ "key": "arrivalDate",
+ "value": "{{currentdateplus10}}"
+ },
+ {
+ "key": "departureDate",
+ "value": "{{currentdateplus12}}"
+ }
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "name": "get Property Offers (v0) -> Specific rate plan and room type",
+ "event": [
+ {
+ "listen": "test",
+ "script": {
+ "exec": [
+ ""
+ ],
+ "type": "text/javascript"
+ }
+ }
+ ],
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "{{Token}}",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Bearer {{Token}}",
+ "type": "text"
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "type": "text"
+ },
+ {
+ "key": "Accept",
+ "value": "application/json",
+ "type": "text"
+ },
+ {
+ "key": "x-app-key",
+ "value": "{{AppKey}}",
+ "type": "text"
+ },
+ {
+ "key": "x-channelCode",
+ "value": "{{channelCode}}",
+ "type": "text"
+ }
+ ],
+ "url": {
+ "raw": "{{HostName}}/shop/v0/hotels/{{HotelCode1}}/offers?adults=1&numberOfUnits=1&ratePlanCodes={{RatePlanCodes}}&ratePlanCodeMatchOnly=True&roomTypes={{RoomTypeCodes}}&roomTypeMatchOnly=true&arrivalDate={{currentdateplus10}}&departureDate={{currentdateplus12}}",
+ "host": [
+ "{{HostName}}"
+ ],
+ "path": [
+ "shop",
+ "v0",
+ "hotels",
+ "{{HotelCode1}}",
+ "offers"
+ ],
+ "query": [
+ {
+ "key": "adults",
+ "value": "1"
+ },
+ {
+ "key": "numberOfUnits",
+ "value": "1"
+ },
+ {
+ "key": "ratePlanCodes",
+ "value": "{{RatePlanCodes}}"
+ },
+ {
+ "key": "ratePlanCodeMatchOnly",
+ "value": "True"
+ },
+ {
+ "key": "roomTypes",
+ "value": "{{RoomTypeCodes}}"
+ },
+ {
+ "key": "roomTypeMatchOnly",
+ "value": "true"
+ },
+ {
+ "key": "arrivalDate",
+ "value": "{{currentdateplus10}}"
+ },
+ {
+ "key": "departureDate",
+ "value": "{{currentdateplus12}}"
+ }
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "name": "get Property Offers (v0) -> Date not available",
+ "event": [
+ {
+ "listen": "test",
+ "script": {
+ "exec": [
+ ""
+ ],
+ "type": "text/javascript"
+ }
+ }
+ ],
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "{{Token}}",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Bearer {{Token}}",
+ "type": "text"
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "type": "text"
+ },
+ {
+ "key": "Accept",
+ "value": "application/json",
+ "type": "text"
+ },
+ {
+ "key": "x-app-key",
+ "value": "{{AppKey}}",
+ "type": "text"
+ },
+ {
+ "key": "x-channelCode",
+ "value": "{{channelCode}}",
+ "type": "text"
+ }
+ ],
+ "url": {
+ "raw": "{{HostName}}/shop/v0/hotels/{{HotelCode1}}/offers?adults=1&numberOfUnits=1&arrivalDate=2028-12-31&departureDate=2029-01-01",
+ "host": [
+ "{{HostName}}"
+ ],
+ "path": [
+ "shop",
+ "v0",
+ "hotels",
+ "{{HotelCode1}}",
+ "offers"
+ ],
+ "query": [
+ {
+ "key": "adults",
+ "value": "1"
+ },
+ {
+ "key": "numberOfUnits",
+ "value": "1"
+ },
+ {
+ "key": "ratePlanCodes",
+ "value": "{{RatePlanCodes}}",
+ "disabled": true
+ },
+ {
+ "key": "ratePlanCodeMatchOnly",
+ "value": "True",
+ "disabled": true
+ },
+ {
+ "key": "roomTypes",
+ "value": "{{RoomTypeCodes}}",
+ "disabled": true
+ },
+ {
+ "key": "roomTypeMatchOnly",
+ "value": "true",
+ "disabled": true
+ },
+ {
+ "key": "arrivalDate",
+ "value": "2028-12-31"
+ },
+ {
+ "key": "departureDate",
+ "value": "2029-01-01"
+ }
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "name": "get Property Offer (v0)",
+ "event": [
+ {
+ "listen": "test",
+ "script": {
+ "exec": [
+ ""
+ ],
+ "type": "text/javascript"
+ }
+ }
+ ],
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "{{Token}}",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "GET",
+ "header": [
+ {
+ "warning": "This is a duplicate header and will be overridden by the Authorization header generated by Postman.",
+ "key": "Authorization",
+ "value": "Bearer {{Token}}",
+ "type": "text"
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "type": "text"
+ },
+ {
+ "key": "Accept",
+ "value": "application/json",
+ "type": "text"
+ },
+ {
+ "key": "x-app-key",
+ "value": "{{AppKey}}",
+ "type": "text"
+ },
+ {
+ "key": "x-channelCode",
+ "value": "{{channelCode}}",
+ "type": "text"
+ }
+ ],
+ "url": {
+ "raw": "{{HostName}}/shop/v0/hotels/{{HotelCode1}}/offer?adults=1&numberOfUnits=1&ratePlanCode={{RatePlanCode}}&roomType={{RoomTypeCode}}&arrivalDate={{currentdateplus10}}&departureDate={{currentdateplus13}}&includeAmenities=True",
+ "host": [
+ "{{HostName}}"
+ ],
+ "path": [
+ "shop",
+ "v0",
+ "hotels",
+ "{{HotelCode1}}",
+ "offer"
+ ],
+ "query": [
+ {
+ "key": "adults",
+ "value": "1"
+ },
+ {
+ "key": "numberOfUnits",
+ "value": "1"
+ },
+ {
+ "key": "ratePlanCode",
+ "value": "{{RatePlanCode}}"
+ },
+ {
+ "key": "roomType",
+ "value": "{{RoomTypeCode}}"
+ },
+ {
+ "key": "arrivalDate",
+ "value": "{{currentdateplus10}}"
+ },
+ {
+ "key": "departureDate",
+ "value": "{{currentdateplus13}}"
+ },
+ {
+ "key": "includeAmenities",
+ "value": "True"
+ }
+ ]
+ },
+ "description": "get Property Offer -> Offer Details"
+ },
+ "response": []
+ },
+ {
+ "name": "get Property Offer (v0) -> Offer Details Negotiated Rate",
+ "event": [
+ {
+ "listen": "test",
+ "script": {
+ "exec": [
+ ""
+ ],
+ "type": "text/javascript"
+ }
+ }
+ ],
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "{{Token}}",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Bearer {{Token}}",
+ "type": "text"
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "type": "text"
+ },
+ {
+ "key": "Accept",
+ "value": "application/json",
+ "type": "text"
+ },
+ {
+ "key": "x-app-key",
+ "value": "{{AppKey}}",
+ "type": "text"
+ },
+ {
+ "key": "x-channelCode",
+ "value": "{{channelCode}}",
+ "type": "text"
+ }
+ ],
+ "url": {
+ "raw": "{{HostName}}/shop/v0/hotels/{{HotelCode1}}/offer?adults=1&numberOfUnits=1&ratePlanCode={{NegotiatedRatePlanCodes}}&accessCode={{accessCode}}&roomType={{RoomTypeCode}}&arrivalDate={{currentdateplus10}}&departureDate={{currentdateplus13}}",
+ "host": [
+ "{{HostName}}"
+ ],
+ "path": [
+ "shop",
+ "v0",
+ "hotels",
+ "{{HotelCode1}}",
+ "offer"
+ ],
+ "query": [
+ {
+ "key": "adults",
+ "value": "1"
+ },
+ {
+ "key": "numberOfUnits",
+ "value": "1"
+ },
+ {
+ "key": "ratePlanCode",
+ "value": "{{NegotiatedRatePlanCodes}}"
+ },
+ {
+ "key": "accessCode",
+ "value": "{{accessCode}}"
+ },
+ {
+ "key": "roomType",
+ "value": "{{RoomTypeCode}}"
+ },
+ {
+ "key": "arrivalDate",
+ "value": "{{currentdateplus10}}"
+ },
+ {
+ "key": "departureDate",
+ "value": "{{currentdateplus13}}"
+ }
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "name": "Get Property Calendar (v0)",
+ "event": [
+ {
+ "listen": "test",
+ "script": {
+ "exec": [
+ ""
+ ],
+ "type": "text/javascript"
+ }
+ }
+ ],
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "type": "text",
+ "value": "Bearer {{Token}}"
+ },
+ {
+ "key": "Content-Type",
+ "type": "text",
+ "value": "application/json"
+ },
+ {
+ "key": "Accept",
+ "type": "text",
+ "value": "application/json"
+ },
+ {
+ "key": "x-app-key",
+ "type": "text",
+ "value": "{{AppKey}}"
+ },
+ {
+ "key": "x-channelCode",
+ "type": "text",
+ "value": "{{channelCode}}"
+ }
+ ],
+ "url": {
+ "raw": "{{HostName}}/shop/v0/hotels/{{HotelCode1}}/calendar?arrivalDateFrom={{currentdate}}&arrivalDateTo={{currentdateplus60}}&adults=1&rateMode=Arrival&lengthOfStay=1&numberOfUnits=1",
+ "host": [
+ "{{HostName}}"
+ ],
+ "path": [
+ "shop",
+ "v0",
+ "hotels",
+ "{{HotelCode1}}",
+ "calendar"
+ ],
+ "query": [
+ {
+ "key": "arrivalDateFrom",
+ "value": "{{currentdate}}"
+ },
+ {
+ "key": "arrivalDateTo",
+ "value": "{{currentdateplus60}}"
+ },
+ {
+ "key": "adults",
+ "value": "1"
+ },
+ {
+ "key": "children",
+ "value": "1",
+ "disabled": true
+ },
+ {
+ "key": "childrenAges",
+ "value": "12",
+ "disabled": true
+ },
+ {
+ "key": "rateMode",
+ "value": "Arrival"
+ },
+ {
+ "key": "lengthOfStay",
+ "value": "1"
+ },
+ {
+ "key": "numberOfUnits",
+ "value": "1"
+ }
+ ]
+ },
+ "description": "Get property offers for Public rates"
+ },
+ "response": []
+ },
+ {
+ "name": "Get Property Calendar (v0) -> specific rate Plan",
+ "event": [
+ {
+ "listen": "test",
+ "script": {
+ "exec": [
+ "// collect parameters passed for dispaly \r",
+ "var arrival = pm.environment.get(\"currentdateplus1\")\r",
+ "\r",
+ "// Set template for html page \r",
+ "// var hotels = pm.environment.get(\"UI-shop-response\")\r",
+ "var hotels = \r",
+ "`\r",
+ "\r",
+ "\r",
+ " \r",
+ " \r",
+ " 2 Column Layout — Left Menu\r",
+ " \r",
+ " \r",
+ " \r",
+ " \r",
+ "
\r",
+ " \r",
+ "
Available Offers
\r",
+ "
\r",
+ " \r",
+ " Offer code | \r",
+ " Availability Status | \r",
+ " Price | \r",
+ " Rate mode | \r",
+ " Changes? | \r",
+ " Net Total | \r",
+ " Total Tax | \r",
+ " Total | \r",
+ "
\r",
+ " {{#each response.roomStays}} {{#each offers}}\r",
+ " \r",
+ " {{bookingCode}} | \r",
+ " {{availabilityStatus}} | \r",
+ " {{rateInformation.rate.base.amountBeforeTax}} | \r",
+ " {{rateInformation.rate.rateMode}} | \r",
+ " {{rateChangeDuringStay}} | \r",
+ " {{total.amountBeforeTax}} | \r",
+ " {{total.taxes.totalTax}} | \r",
+ " {{total.amountAfterTax}} | \r",
+ "
\r",
+ " {{/each}} {{/each}}\r",
+ "
\r",
+ "
\r",
+ " \r",
+ "
\r",
+ "
\r",
+ " \r",
+ "\r",
+ "\r",
+ "\r",
+ "\r",
+ "`\r",
+ "\r",
+ "\r",
+ " \r",
+ "// Set visualizer\r",
+ "pm.visualizer.set(hotels, {response: pm.response.json()});\r",
+ " \r",
+ "\r",
+ ""
+ ],
+ "type": "text/javascript"
+ }
+ }
+ ],
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "type": "text",
+ "value": "Bearer {{Token}}"
+ },
+ {
+ "key": "Content-Type",
+ "type": "text",
+ "value": "application/json"
+ },
+ {
+ "key": "Accept",
+ "type": "text",
+ "value": "application/json"
+ },
+ {
+ "key": "x-app-key",
+ "type": "text",
+ "value": "{{AppKey}}"
+ },
+ {
+ "key": "x-channelCode",
+ "type": "text",
+ "value": "{{channelCode}}"
+ }
+ ],
+ "url": {
+ "raw": "{{HostName}}/shop/v0/hotels/{{HotelCode1}}/calendar?arrivalDateFrom={{currentdate}}&arrivalDateTo={{currentdateplus60}}&adults=1&children=1&childrenAges=12&rateMode=Average&lengthOfStay=3&ratePlanCodes={{RatePlanCode}}",
+ "host": [
+ "{{HostName}}"
+ ],
+ "path": [
+ "shop",
+ "v0",
+ "hotels",
+ "{{HotelCode1}}",
+ "calendar"
+ ],
+ "query": [
+ {
+ "key": "arrivalDateFrom",
+ "value": "{{currentdate}}"
+ },
+ {
+ "key": "arrivalDateTo",
+ "value": "{{currentdateplus60}}"
+ },
+ {
+ "key": "adults",
+ "value": "1"
+ },
+ {
+ "key": "children",
+ "value": "1"
+ },
+ {
+ "key": "childrenAges",
+ "value": "12"
+ },
+ {
+ "key": "rateMode",
+ "value": "Average"
+ },
+ {
+ "key": "lengthOfStay",
+ "value": "3"
+ },
+ {
+ "key": "ratePlanCodes",
+ "value": "{{RatePlanCode}}"
+ }
+ ]
+ },
+ "description": "Get property offers for Public rates"
+ },
+ "response": []
+ }
+ ]
+ },
+ {
+ "name": "Distribiution Book (BOOK)",
+ "item": [
+ {
+ "name": "post Reservation (v0)",
+ "request": {
+ "method": "POST",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Bearer {{Token}}",
+ "type": "text"
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json; charset=utf-8",
+ "type": "text"
+ },
+ {
+ "key": "x-channelCode",
+ "value": "{{channelCode}}",
+ "type": "text"
+ },
+ {
+ "key": "x-app-key",
+ "value": "{{AppKey}}",
+ "type": "text"
+ },
+ {
+ "key": "x-hdp-tracing-key",
+ "value": "{{$guid}}",
+ "type": "text",
+ "disabled": true
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"reservations\": [\n {\n \"roomStay\": {\n \"arrivalDate\": \"{{currentdateplus10}}\",\n \"departureDate\": \"{{currentdateplus12}}\",\n \"roomRates\": [\n {\n \"guestCounts\": {\n \"adults\": 1 \n },\n \"roomType\": \"{{RoomTypeCode}}\",\n \"ratePlanCode\": \"{{RatePlanCode}}\",\n \"numberOfUnits\": 1,\n \"start\": \"{{currentdateplus10}}\",\n \"end\": \"{{currentdateplus11}}\"\n }\n ],\n \"guarantee\": {\n \"guaranteeType\": \"5\" \n },\n \"printRate\": true\n },\n \n \"reservationGuests\": [\n {\n \"profileInfo\": {\n \"profile\": {\n \"customer\": {\n \"personName\": [\n {\n \"surname\": \"{{$randomLastName}}\",\n \"givenName\": \"{{$randomFirstName}}\",\n \"nameTitle\": \"Mr and Mrs\",\n \"nameType\": \"Primary\",\n \"email\": \"{{$randomEmail}}\",\n \"phoneNumber\": \"{{$randomPhoneNumber}}\",\n \"address\": {\n \"addressLine\": [\n \"{{$randomStreetAddress}}\"\n ],\n \"cityName\": \"{{$randomCity}}\",\n \"postalCode\": \"CAA-90017\",\n \"country\": {\n \"code\": \"US\"\n },\n \"state\": \"CA\"\n }\n }\n ],\n \"language\": \"en-us\"\n },\n \"profileType\": \"Guest\"\n }\n },\n \"primary\": true\n }\n ],\n \"reservationPaymentMethods\": [\n {\n \"paymentMethod\": \"5\",\n \"folioView\": \"1\",\n \"paymentCard\": {\n \"cardType\": \"AX\",\n \"cardNumber\": \"371449635398431\",\n \"expirationDate\": \"03/29\",\n \"cardHolderName\": \"SomeChannel VirtualCard\"\n }\n }\n ],\n \"hotelCode\": \"{{HotelCode1}}\",\n \"messageId\": \"{{$randomUUID}}\",\n \"comments\": [\n {\n \"comment\": {\n \"text\": {\n \"value\": \"Channel Text note\\n1 king bed\\nNon-Smoking\\nBill guest full stay\"\n },\n \"commentTitle\": \"Notes from channel\",\n \"notificationLocation\": \"RESERVATION\",\n \"type\": \"GEN\",\n \"internal\": true,\n \"confidential\": false,\n \"overrideInternal\": false\n }\n }\n ]\n }\n ]\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{HostName}}/book/v0/hotels/{{HotelCode1}}/reservations",
+ "host": [
+ "{{HostName}}"
+ ],
+ "path": [
+ "book",
+ "v0",
+ "hotels",
+ "{{HotelCode1}}",
+ "reservations"
+ ]
+ },
+ "description": "Sample wiht a single night with guest CC on folio 1"
+ },
+ "response": []
+ },
+ {
+ "name": "post Reservation (v0) -> with Accompanying Guest",
+ "request": {
+ "method": "POST",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Bearer {{Token}}",
+ "type": "text"
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json; charset=utf-8",
+ "type": "text"
+ },
+ {
+ "key": "x-channelCode",
+ "value": "{{channelCode}}",
+ "type": "text"
+ },
+ {
+ "key": "x-app-key",
+ "value": "{{AppKey}}",
+ "type": "text"
+ },
+ {
+ "key": "x-hdp-tracing-key",
+ "value": "{{$guid}}",
+ "type": "text",
+ "disabled": true
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"reservations\": [\n {\n \"roomStay\": {\n \"arrivalDate\": \"2024-02-01\",\n \"departureDate\": \"2024-02-02\",\n \"roomRates\": [\n {\n \"guestCounts\": {\n \"adults\": 1\n },\n \"roomType\": \"{{RoomTypeCode}}\",\n \"ratePlanCode\": \"{{RatePlanCode}}\",\n \"numberOfUnits\": 1,\n \"start\": \"2024-02-02\",\n \"end\": \"2024-02-02\"\n }\n ],\n \"guarantee\": {\n \"guaranteeType\": \"5\"\n },\n \"printRate\": true\n },\n \"reservationGuests\": [\n {\n \"profileInfo\": {\n \"profile\": {\n \"customer\": {\n \"personName\": [\n {\n \"surname\": \"{{$randomLastName}}\",\n \"givenName\": \"{{$randomFirstName}}\",\n \"nameTitle\": \"Mr and Mrs\",\n \"nameType\": \"Primary\",\n \"email\": \"{{$randomEmail}}\",\n \"phoneNumber\": \"{{$randomPhoneNumber}}\",\n \"address\": {\n \"addressLine\": [\n \"{{$randomStreetAddress}}\"\n ],\n \"cityName\": \"{{$randomCity}}\",\n \"postalCode\": \"CAA-90017\",\n \"country\": {\n \"code\": \"US\"\n },\n \"state\": \"CA\"\n }\n }\n ],\n \"language\": \"en-us\"\n },\n \"profileType\": \"Guest\"\n }\n },\n \"primary\": true\n },\n {\n \"profileInfo\": {\n \"profile\": {\n \"customer\": {\n \"personName\": [\n {\n \"surname\": \"Accompanying\",\n \"givenName\": \"John\",\n \"nameTitle\": \"Mr and Mrs\",\n \"nameType\": \"Primary\",\n \"email\": \"{{$randomEmail}}\",\n \"phoneNumber\": \"{{$randomPhoneNumber}}\",\n \"address\": {\n \"addressLine\": [\n \"{{$randomStreetAddress}}\"\n ],\n \"cityName\": \"{{$randomCity}}\",\n \"postalCode\": \"AS 111\",\n \"country\": {\n \"code\": \"{{$randomCountryCode}}\"\n },\n \"state\": \"UT\"\n }\n }\n ],\n \"language\": \"en-us\"\n },\n \"profileType\": \"Guest\"\n }\n },\n \"primary\": false\n }\n ],\n \"reservationPaymentMethods\": [\n {\n \"paymentMethod\": \"5\",\n \"folioView\": \"1\",\n \"paymentCard\": {\n \"cardType\": \"AX\",\n \"cardNumber\": \"371449635398431\",\n \"expirationDate\": \"03/29\",\n \"cardHolderName\": \"SomeChannel VirtualCard\"\n }\n }\n ],\n \"hotelCode\": \"{{HotelCode1}}\",\n \"messageId\": \"{{$randomUUID}}\",\n \"comments\": [\n {\n \"comment\": {\n \"text\": {\n \"value\": \"Channel Text note\\n1 king bed\\nNon-Smoking\\nBill guest full stay\"\n },\n \"commentTitle\": \"Notes from channel\",\n \"notificationLocation\": \"RESERVATION\",\n \"type\": \"GEN\",\n \"internal\": true,\n \"confidential\": false,\n \"overrideInternal\": false\n }\n }\n ]\n }\n ]\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{HostName}}/book/v0/hotels/{{HotelCode1}}/reservations",
+ "host": [
+ "{{HostName}}"
+ ],
+ "path": [
+ "book",
+ "v0",
+ "hotels",
+ "{{HotelCode1}}",
+ "reservations"
+ ]
+ },
+ "description": "Sample wiht a single night with guest CC on folio 1"
+ },
+ "response": []
+ },
+ {
+ "name": "post Reservation (v0) -> with children",
+ "request": {
+ "method": "POST",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Bearer {{Token}}",
+ "type": "text"
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json; charset=utf-8",
+ "type": "text"
+ },
+ {
+ "key": "x-channelCode",
+ "value": "{{channelCode}}",
+ "type": "text"
+ },
+ {
+ "key": "x-app-key",
+ "value": "{{AppKey}}",
+ "type": "text"
+ },
+ {
+ "key": "x-hdp-tracing-key",
+ "value": "{{$guid}}",
+ "type": "text",
+ "disabled": true
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"reservations\": [\n {\n \"roomStay\": {\n \"arrivalDate\": \"{{currentdateplus10}}\",\n \"departureDate\": \"{{currentdateplus12}}\",\n \"roomRates\": [\n {\n \"guestCounts\": {\n \"adults\": 1,\n \"children\": 1,\n \"childAges\": [\n 4\n ]\n },\n \"roomType\": \"{{RoomTypeCode}}\",\n \"ratePlanCode\": \"{{RatePlanCode}}\",\n \"numberOfUnits\": 1,\n \"start\": \"{{currentdateplus10}}\",\n \"end\": \"{{currentdateplus11}}\"\n }\n ],\n \"guarantee\": {\n \"guaranteeType\": \"5\" \n },\n \"printRate\": true\n },\n \n \"reservationGuests\": [\n {\n \"profileInfo\": {\n \"profile\": {\n \"customer\": {\n \"personName\": [\n {\n \"surname\": \"{{$randomLastName}}\",\n \"givenName\": \"{{$randomFirstName}}\",\n \"nameTitle\": \"Mr and Mrs\",\n \"nameType\": \"Primary\",\n \"email\": \"{{$randomEmail}}\",\n \"phoneNumber\": \"{{$randomPhoneNumber}}\",\n \"address\": {\n \"addressLine\": [\n \"{{$randomStreetAddress}}\"\n ],\n \"cityName\": \"{{$randomCity}}\",\n \"postalCode\": \"CAA-90017\",\n \"country\": {\n \"code\": \"US\"\n },\n \"state\": \"CA\"\n }\n }\n ],\n \"language\": \"en-us\"\n },\n \"profileType\": \"Guest\"\n }\n },\n \"primary\": true\n }\n ],\n \"reservationPaymentMethods\": [\n {\n \"paymentMethod\": \"5\",\n \"folioView\": \"1\",\n \"paymentCard\": {\n \"cardType\": \"AX\",\n \"cardNumber\": \"371449635398431\",\n \"expirationDate\": \"03/29\",\n \"cardHolderName\": \"SomeChannel VirtualCard\"\n }\n }\n ],\n \"hotelCode\": \"{{HotelCode1}}\",\n \"messageId\": \"{{$randomUUID}}\",\n \"comments\": [\n {\n \"comment\": {\n \"text\": {\n \"value\": \"Channel Text note\\n1 king bed\\nNon-Smoking\\nBill guest full stay\"\n },\n \"commentTitle\": \"Notes from channel\",\n \"notificationLocation\": \"RESERVATION\",\n \"type\": \"GEN\",\n \"internal\": true,\n \"confidential\": false,\n \"overrideInternal\": false\n }\n }\n ]\n }\n ]\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{HostName}}/book/v0/hotels/{{HotelCode1}}/reservations",
+ "host": [
+ "{{HostName}}"
+ ],
+ "path": [
+ "book",
+ "v0",
+ "hotels",
+ "{{HotelCode1}}",
+ "reservations"
+ ]
+ },
+ "description": "Sample wiht a single night with guest CC on folio 1"
+ },
+ "response": []
+ },
+ {
+ "name": "post Reservation (v0) -> Deposit Guarantee",
+ "event": [
+ {
+ "listen": "test",
+ "script": {
+ "exec": [
+ ""
+ ],
+ "type": "text/javascript"
+ }
+ }
+ ],
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "{{Token}}",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "POST",
+ "header": [
+ {
+ "warning": "This is a duplicate header and will be overridden by the Authorization header generated by Postman.",
+ "key": "Authorization",
+ "value": "Bearer {{Token}}",
+ "type": "text"
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json; charset=utf-8",
+ "type": "text"
+ },
+ {
+ "key": "x-channelCode",
+ "value": "{{channelCode}}",
+ "type": "text"
+ },
+ {
+ "key": "x-app-key",
+ "value": "{{AppKey}}",
+ "type": "text"
+ },
+ {
+ "key": "x-hdp-tracing-key",
+ "value": "JP1111",
+ "type": "text",
+ "disabled": true
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"reservations\": [\n {\n \"roomStay\": {\n \"arrivalDate\": \"{{currentdateplus10}}\",\n \"departureDate\": \"{{currentdateplus11}}\",\n \"roomRates\": [\n {\n \"guestCounts\": {\n \"adults\": 1,\n \"children\": 1,\n \"childAges\": [\n 4\n ]\n },\n \"roomType\": \"{{RoomTypeCode}}\",\n \"ratePlanCode\": \"{{DepositRequiredRatecode}}\",\n \"numberOfUnits\": 1,\n \"start\": \"{{currentdateplus10}}\",\n \"end\": \"{{currentdateplus10}}\"\n }\n ],\n \"guarantee\": {\n \"guaranteeType\": \"8\" \n },\n \"printRate\": true\n },\n \"reservationGuests\": [\n {\n \"profileInfo\": {\n \"profile\": {\n \"customer\": {\n \"personName\": [\n {\n \"surname\": \"{{$randomLastName}}\",\n \"givenName\": \"{{$randomFirstName}}\",\n \"nameTitle\": \"Mr and Mrs\",\n \"nameType\": \"Primary\",\n \"email\": \"{{$randomEmail}}\",\n \"phoneNumber\": \"{{$randomPhoneNumber}}\",\n \"address\": {\n \"addressLine\": [\n \"{{$randomStreetAddress}}\"\n ],\n \"cityName\": \"{{$randomCity}}\",\n \"postalCode\": \"CAA-90017\",\n \"country\": {\n \"code\": \"US\"\n },\n \"state\": \"CA\"\n }\n }\n ],\n \"language\": \"en-us\"\n },\n \"profileType\": \"Guest\"\n }\n },\n \"primary\": true\n }\n ],\n \"reservationPaymentMethods\": [\n {\n \"paymentMethod\": \"5\",\n \"folioView\": \"1\",\n \"paymentCard\": {\n \"cardType\": \"AX\",\n \"cardNumber\": \"371449635398431\",\n \"expirationDate\": \"06/29\",\n \"cardHolderName\": \"SomeChannel VirtualCard\"\n }\n }\n ],\n \"hotelCode\": \"{{HotelCode1}}\",\n \"messageId\": \"{{$randomUUID}}\",\n \"comments\": [\n {\n \"comment\": {\n \"text\": {\n \"value\": \"Channel Text note\\n1 king bed\\nNon-Smoking\\nBill guest full stay\"\n },\n \"commentTitle\": \"Notes from channel\",\n \"notificationLocation\": \"RESERVATION\",\n \"type\": \"GEN\",\n \"internal\": true,\n \"confidential\": false,\n \"overrideInternal\": false\n }\n }\n ]\n }\n ]\n}"
+ },
+ "url": {
+ "raw": "{{HostName}}/book/v0/hotels/{{HotelCode1}}/reservations",
+ "host": [
+ "{{HostName}}"
+ ],
+ "path": [
+ "book",
+ "v0",
+ "hotels",
+ "{{HotelCode1}}",
+ "reservations"
+ ]
+ },
+ "description": "Sample wiht a single night with guest CC on folio 1"
+ },
+ "response": []
+ },
+ {
+ "name": "post Reservation (v0) -> with Transport Information",
+ "event": [
+ {
+ "listen": "test",
+ "script": {
+ "exec": [
+ ""
+ ],
+ "type": "text/javascript"
+ }
+ }
+ ],
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "{{Token}}",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "POST",
+ "header": [
+ {
+ "warning": "This is a duplicate header and will be overridden by the Authorization header generated by Postman.",
+ "key": "Authorization",
+ "value": "Bearer {{Token}}",
+ "type": "text"
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json; charset=utf-8",
+ "type": "text"
+ },
+ {
+ "key": "x-channelCode",
+ "value": "{{channelCode}}",
+ "type": "text"
+ },
+ {
+ "key": "x-app-key",
+ "value": "{{AppKey}}",
+ "type": "text"
+ },
+ {
+ "key": "x-hdp-tracing-key",
+ "value": "{{$guid}}",
+ "type": "text",
+ "disabled": true
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"reservations\": [\n {\n \"roomStay\": {\n \"arrivalDate\": \"{{currentdateplus10}}\",\n \"departureDate\": \"{{currentdateplus11}}\",\n \"roomRates\": [\n {\n \"guestCounts\": {\n \"adults\": 1,\n \"children\": 1,\n \"childAges\": [\n 4\n ]\n },\n \"roomType\": \"{{RoomTypeCode}}\",\n \"ratePlanCode\": \"{{RatePlanCode}}\",\n \"numberOfUnits\": 1,\n \"start\": \"{{currentdateplus10}}\",\n \"end\": \"{{currentdateplus10}}\"\n }\n ],\n \"guarantee\": {\n \"guaranteeType\": \"5\" \n },\n \"printRate\": true\n },\n \"reservationGuests\": [\n {\n \"profileInfo\": {\n \"profile\": {\n \"customer\": {\n \"personName\": [\n {\n \"surname\": \"{{$randomLastName}}\",\n \"givenName\": \"{{$randomFirstName}}\",\n \"nameTitle\": \"Mr and Mrs\",\n \"nameType\": \"Primary\",\n \"email\": \"{{$randomEmail}}\",\n \"phoneNumber\": \"{{$randomPhoneNumber}}\",\n \"address\": {\n \"addressLine\": [\n \"{{$randomStreetAddress}}\"\n ],\n \"cityName\": \"{{$randomCity}}\",\n \"postalCode\": \"CAA-90017\",\n \"country\": {\n \"code\": \"US\"\n },\n \"state\": \"CA\"\n }\n }\n ],\n \"language\": \"en-us\"\n },\n \"profileType\": \"Guest\"\n }\n },\n \"arrivalTransport\": {\n \"comments\": \"Arrival by flight\",\n \"type\": \"AIR\",\n \"transportCode\": \"123\",\n \"carrierCode\": \"AI\",\n \"stationCode\": \"BLR\",\n \"dateTime\": \"{{currentdateplus10}}T19:21:00.000Z\",\n \"transportationReqd\": true\n },\n \"departureTransport\": {\n \"comments\": \"Departure by flight\",\n \"type\": \"AIR\",\n \"transportCode\": \"123\",\n \"carrierCode\": \"AI\",\n \"stationCode\": \"BLR\",\n \"dateTime\": \"{{currentdateplus11}}T19:21:00.000Z\",\n \"transportationReqd\": true\n },\n \"primary\": true\n }\n ],\n \"reservationPaymentMethods\": [\n {\n \"paymentMethod\": \"5\",\n \"folioView\": \"1\",\n \"paymentCard\": {\n \"cardType\": \"AX\",\n \"cardNumber\": \"371449635398431\",\n \"expirationDate\": \"06/29\",\n \"cardHolderName\": \"SomeChannel VirtualCard\"\n }\n }\n ],\n \"hotelCode\": \"{{HotelCode1}}\",\n \"messageId\": \"{{$randomUUID}}\",\n \"comments\": [\n {\n \"comment\": {\n \"text\": {\n \"value\": \"Channel Text note\\n1 king bed\\nNon-Smoking\\nBill guest full stay\"\n },\n \"commentTitle\": \"Notes from channel\",\n \"notificationLocation\": \"RESERVATION\",\n \"type\": \"GEN\",\n \"internal\": true,\n \"confidential\": false,\n \"overrideInternal\": false\n }\n }\n ]\n }\n ]\n}"
+ },
+ "url": {
+ "raw": "{{HostName}}/book/v0/hotels/{{HotelCode1}}/reservations",
+ "host": [
+ "{{HostName}}"
+ ],
+ "path": [
+ "book",
+ "v0",
+ "hotels",
+ "{{HotelCode1}}",
+ "reservations"
+ ]
+ },
+ "description": "Sample wiht a single night with guest CC on folio 1"
+ },
+ "response": []
+ },
+ {
+ "name": "post Reservation (v0) -> with Membership",
+ "event": [
+ {
+ "listen": "test",
+ "script": {
+ "exec": [
+ ""
+ ],
+ "type": "text/javascript"
+ }
+ }
+ ],
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "{{Token}}",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "POST",
+ "header": [
+ {
+ "warning": "This is a duplicate header and will be overridden by the Authorization header generated by Postman.",
+ "key": "Authorization",
+ "value": "Bearer {{Token}}",
+ "type": "text"
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json; charset=utf-8",
+ "type": "text"
+ },
+ {
+ "key": "x-channelCode",
+ "value": "{{channelCode}}",
+ "type": "text"
+ },
+ {
+ "key": "x-app-key",
+ "value": "{{AppKey}}",
+ "type": "text"
+ },
+ {
+ "key": "x-hdp-tracing-key",
+ "value": "{{$guid}}",
+ "type": "text",
+ "disabled": true
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"reservations\": [\n {\n \"roomStay\": {\n \"arrivalDate\": \"{{currentdateplus10}}\",\n \"departureDate\": \"{{currentdateplus11}}\",\n \"roomRates\": [\n {\n \"guestCounts\": {\n \"adults\": 1,\n \"children\": 1,\n \"childAges\": [\n 4\n ]\n },\n \"roomType\": \"{{RoomTypeCode}}\",\n \"ratePlanCode\": \"{{RatePlanCode}}\",\n \"numberOfUnits\": 1,\n \"start\": \"{{currentdateplus10}}\",\n \"end\": \"{{currentdateplus10}}\"\n }\n ],\n \"guarantee\": {\n \"guaranteeType\": \"5\"\n },\n \"printRate\": true\n },\n \"reservationGuests\": [\n {\n \"profileInfo\": {\n \"profile\": {\n \"customer\": {\n \"personName\": [\n {\n \"surname\": \"{{$randomLastName}}\",\n \"givenName\": \"{{$randomFirstName}}\",\n \"nameTitle\": \"Mr and Mrs\",\n \"nameType\": \"Primary\",\n \"email\": \"{{$randomEmail}}\",\n \"phoneNumber\": \"{{$randomPhoneNumber}}\",\n \"address\": {\n \"addressLine\": [\n \"{{$randomStreetAddress}}\"\n ],\n \"cityName\": \"{{$randomCity}}\",\n \"postalCode\": \"CAA-90017\",\n \"country\": {\n \"code\": \"US\"\n },\n \"state\": \"CA\"\n }\n }\n ],\n \"language\": \"en-us\"\n },\n \"profileType\": \"Guest\"\n }\n },\n \"primary\": true\n }\n ],\n \"reservationPaymentMethods\": [\n {\n \"paymentMethod\": \"5\",\n \"folioView\": \"1\",\n \"paymentCard\": {\n \"cardType\": \"AX\",\n \"cardNumber\": \"371449635398431\",\n \"expirationDate\": \"06/29\",\n \"cardHolderName\": \"SomeChannel VirtualCard\"\n }\n }\n ],\n \"reservationMemberships\": [\n {\n \"membershipLevel\": \"{{membershipLevel}}\",\n \"membershipId\": \"{{membershipId}}\",\n \"membershipType\": \"{{membershipType}}\"\n }\n ],\n \"hotelCode\": \"{{HotelCode1}}\",\n \"messageId\": \"{{$randomUUID}}\",\n \"comments\": [\n {\n \"comment\": {\n \"text\": {\n \"value\": \"Channel Text note\\n1 king bed\\nNon-Smoking\\nBill guest full stay\"\n },\n \"commentTitle\": \"Notes from channel\",\n \"notificationLocation\": \"RESERVATION\",\n \"type\": \"GEN\",\n \"internal\": true,\n \"confidential\": false,\n \"overrideInternal\": false\n }\n }\n ]\n }\n ]\n}"
+ },
+ "url": {
+ "raw": "{{HostName}}/book/v0/hotels/{{HotelCode1}}/reservations",
+ "host": [
+ "{{HostName}}"
+ ],
+ "path": [
+ "book",
+ "v0",
+ "hotels",
+ "{{HotelCode1}}",
+ "reservations"
+ ]
+ },
+ "description": "Sample wiht a single night with guest CC on folio 1"
+ },
+ "response": []
+ },
+ {
+ "name": "post Reservation (v0) -> with Membership (basic)",
+ "event": [
+ {
+ "listen": "test",
+ "script": {
+ "exec": [
+ ""
+ ],
+ "type": "text/javascript"
+ }
+ }
+ ],
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "{{Token}}",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "POST",
+ "header": [
+ {
+ "warning": "This is a duplicate header and will be overridden by the Authorization header generated by Postman.",
+ "key": "Authorization",
+ "value": "Bearer {{Token}}",
+ "type": "text"
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json; charset=utf-8",
+ "type": "text"
+ },
+ {
+ "key": "x-channelCode",
+ "value": "{{channelCode}}",
+ "type": "text"
+ },
+ {
+ "key": "x-app-key",
+ "value": "{{AppKey}}",
+ "type": "text"
+ },
+ {
+ "key": "x-hdp-tracing-key",
+ "value": "{{$guid}}",
+ "type": "text",
+ "disabled": true
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"reservations\": [\n {\n \"roomStay\": {\n \"arrivalDate\": \"{{currentdateplus10}}\",\n \"departureDate\": \"{{currentdateplus11}}\",\n \"roomRates\": [\n {\n \"guestCounts\": {\n \"adults\": 1,\n \"children\": 1,\n \"childAges\": [\n 4\n ]\n },\n \"roomType\": \"{{RoomTypeCode}}\",\n \"ratePlanCode\": \"{{RatePlanCode}}\",\n \"numberOfUnits\": 1,\n \"start\": \"{{currentdateplus10}}\",\n \"end\": \"{{currentdateplus10}}\"\n }\n ],\n \"guarantee\": {\n \"guaranteeType\": \"5\"\n },\n \"printRate\": true\n },\n \"reservationGuests\": [\n {\n \"profileInfo\": {\n \"profile\": {\n \"customer\": {\n \"personName\": [\n {\n \"surname\": \"{{$randomLastName}}\",\n \"givenName\": \"{{$randomFirstName}}\",\n \"nameTitle\": \"Mr and Mrs\",\n \"nameType\": \"Primary\",\n \"email\": \"{{$randomEmail}}\",\n \"phoneNumber\": \"{{$randomPhoneNumber}}\",\n \"address\": {\n \"addressLine\": [\n \"{{$randomStreetAddress}}\"\n ],\n \"cityName\": \"{{$randomCity}}\",\n \"postalCode\": \"CAA-90017\",\n \"country\": {\n \"code\": \"US\"\n },\n \"state\": \"CA\"\n }\n }\n ],\n \"language\": \"en-us\"\n },\n \"profileType\": \"Guest\"\n }\n },\n \"primary\": true\n }\n ],\n \"reservationPaymentMethods\": [\n {\n \"paymentMethod\": \"5\",\n \"folioView\": \"1\",\n \"paymentCard\": {\n \"cardType\": \"AX\",\n \"cardNumber\": \"371449635398431\",\n \"expirationDate\": \"06/29\",\n \"cardHolderName\": \"SomeChannel VirtualCard\"\n }\n }\n ],\n \"reservationMemberships\": [\n {\n \n \"membershipId\": \"{{membershipId}}\" \n }\n ],\n \"hotelCode\": \"{{HotelCode1}}\",\n \"messageId\": \"{{$randomUUID}}\",\n \"comments\": [\n {\n \"comment\": {\n \"text\": {\n \"value\": \"Channel Text note\\n1 king bed\\nNon-Smoking\\nBill guest full stay\"\n },\n \"commentTitle\": \"Notes from channel\",\n \"notificationLocation\": \"RESERVATION\",\n \"type\": \"GEN\",\n \"internal\": true,\n \"confidential\": false,\n \"overrideInternal\": false\n }\n }\n ]\n }\n ]\n}"
+ },
+ "url": {
+ "raw": "{{HostName}}/book/v0/hotels/{{HotelCode1}}/reservations",
+ "host": [
+ "{{HostName}}"
+ ],
+ "path": [
+ "book",
+ "v0",
+ "hotels",
+ "{{HotelCode1}}",
+ "reservations"
+ ]
+ },
+ "description": "Sample wiht a single night with guest CC on folio 1"
+ },
+ "response": []
+ },
+ {
+ "name": "post Reservation (v0) -> Non Guaranteed",
+ "event": [
+ {
+ "listen": "test",
+ "script": {
+ "exec": [
+ ""
+ ],
+ "type": "text/javascript"
+ }
+ }
+ ],
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "{{Token}}",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "POST",
+ "header": [
+ {
+ "warning": "This is a duplicate header and will be overridden by the Authorization header generated by Postman.",
+ "key": "Authorization",
+ "value": "Bearer {{Token}}",
+ "type": "text"
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json; charset=utf-8",
+ "type": "text"
+ },
+ {
+ "key": "x-channelCode",
+ "value": "{{channelCode}}",
+ "type": "text"
+ },
+ {
+ "key": "x-app-key",
+ "value": "{{AppKey}}",
+ "type": "text"
+ },
+ {
+ "key": "x-hdp-tracing-key",
+ "value": "{{$guid}}",
+ "type": "text",
+ "disabled": true
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"reservations\": [\n {\n \"roomStay\": {\n \"arrivalDate\": \"{{currentdateplus10}}\",\n \"departureDate\": \"{{currentdateplus11}}\",\n \"roomRates\": [\n {\n \"guestCounts\": {\n \"adults\": 1,\n \"children\": 1,\n \"childAges\": [\n 4\n ]\n },\n \"roomType\": \"{{RoomTypeCode}}\",\n \"ratePlanCode\": \"{{RatePlanCode}}\",\n \"numberOfUnits\": 1,\n \"start\": \"{{currentdateplus10}}\",\n \"end\": \"{{currentdateplus10}}\"\n }\n ],\n \"guarantee\": {\n \"guaranteeType\": \"38\"\n },\n \"printRate\": true\n },\n \"reservationGuests\": [\n {\n \"profileInfo\": {\n \"profile\": {\n \"customer\": {\n \"personName\": [\n {\n \"surname\": \"{{$randomLastName}}\",\n \"givenName\": \"{{$randomFirstName}}\",\n \"nameTitle\": \"Mr and Mrs\",\n \"nameType\": \"Primary\",\n \"email\": \"{{$randomEmail}}\",\n \"phoneNumber\": \"{{$randomPhoneNumber}}\",\n \"address\": {\n \"addressLine\": [\n \"{{$randomStreetAddress}}\"\n ],\n \"cityName\": \"{{$randomCity}}\",\n \"postalCode\": \"CAA-90017\",\n \"country\": {\n \"code\": \"US\"\n },\n \"state\": \"CA\"\n }\n }\n ],\n \"language\": \"en-us\"\n },\n \"profileType\": \"Guest\"\n }\n },\n \"primary\": true\n }\n ],\n \"reservationPaymentMethods\": [\n {\n \"paymentMethod\": \"1\"\n }\n ],\n \"hotelCode\": \"{{HotelCode1}}\",\n \"messageId\": \"{{$randomUUID}}\",\n \"comments\": [\n {\n \"comment\": {\n \"text\": {\n \"value\": \"Channel Text note\\n1 king bed\\nNon-Smoking\\nBill guest full stay\"\n },\n \"commentTitle\": \"Notes from channel\",\n \"notificationLocation\": \"RESERVATION\",\n \"type\": \"GEN\",\n \"internal\": true,\n \"confidential\": false,\n \"overrideInternal\": false\n }\n }\n ]\n }\n ]\n}"
+ },
+ "url": {
+ "raw": "{{HostName}}/book/v0/hotels/{{HotelCode1}}/reservations",
+ "host": [
+ "{{HostName}}"
+ ],
+ "path": [
+ "book",
+ "v0",
+ "hotels",
+ "{{HotelCode1}}",
+ "reservations"
+ ]
+ },
+ "description": "Sample wiht a single night with guest CC on folio 1"
+ },
+ "response": []
+ },
+ {
+ "name": "post Reservation (v0) -> with Travel Agent, Company and Source",
+ "event": [
+ {
+ "listen": "test",
+ "script": {
+ "exec": [
+ ""
+ ],
+ "type": "text/javascript"
+ }
+ }
+ ],
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "{{Token}}",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "POST",
+ "header": [
+ {
+ "warning": "This is a duplicate header and will be overridden by the Authorization header generated by Postman.",
+ "key": "Authorization",
+ "value": "Bearer {{Token}}",
+ "type": "text"
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json; charset=utf-8",
+ "type": "text"
+ },
+ {
+ "key": "x-channelCode",
+ "value": "{{channelCode}}",
+ "type": "text"
+ },
+ {
+ "key": "x-app-key",
+ "value": "{{AppKey}}",
+ "type": "text"
+ },
+ {
+ "key": "x-hdp-tracing-key",
+ "value": "{{$guid}}",
+ "type": "text",
+ "disabled": true
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"reservations\": [\n {\n \"reservationIdList\": [\n {\n \"id\": \"{{$randomUUID}}\",\n \"idExtension\": \"1\"\n }\n ],\n \"lastModifyDateTime\": \"2020-09-17T12:21:00-07:00\",\n \"roomStay\": {\n \"arrivalDate\": \"{{currentdateplus10}}\",\n \"departureDate\": \"{{currentdateplus11}}\",\n \"roomRates\": [\n {\n \"rates\": {\n \"rate\": [\n {\n \"base\": {\n \"amountBeforeTax\": 200,\n \"currencyCode\": \"{{currencyCode}}\"\n },\n \"start\": \"{{currentdateplus10}}\",\n \"end\": \"{{currentdateplus10}}\"\n }\n ]\n },\n \"guestCounts\": {\n \"adults\": 1,\n \"children\": 1,\n \"childAges\": [\n 4\n ]\n },\n \"roomType\": \"{{RoomTypeCode}}\",\n \"ratePlanCode\": \"{{RatePlanCode}}\",\n \"numberOfUnits\": 1,\n \"start\": \"{{currentdateplus10}}\",\n \"end\": \"{{currentdateplus10}}\"\n }\n ],\n \"total\": {\n \"amountAfterTax\": 200,\n \"amountBeforeTax\": 20.09,\n \"currencyCode\": \"{{currencyCode}}\"\n },\n \"guarantee\": {\n \"guaranteeType\": \"5\"\n },\n \"printRate\": false\n },\n \"reservationGuests\": [\n {\n \"profileInfo\": {\n \"profile\": {\n \"customer\": {\n \"personName\": [\n {\n \"surname\": \"{{$randomLastName}}\",\n \"givenName\": \"{{$randomFirstName}}\",\n \"nameTitle\": \"Mr and Mrs\",\n \"nameType\": \"Primary\",\n \"email\": \"{{$randomEmail}}\",\n \"phoneNumber\": \"{{$randomPhoneNumber}}\",\n \"address\": {\n \"addressLine\": [\n \"{{$randomStreetAddress}}\"\n ],\n \"cityName\": \"{{$randomCity}}\",\n \"postalCode\": \"CAA-90017\",\n \"country\": {\n \"code\": \"US\"\n },\n \"state\": \"CA\"\n }\n }\n ],\n \"language\": \"en-us\"\n },\n \"profileType\": \"Guest\"\n }\n },\n \"arrivalTransport\": {\n \"comments\": \"Arrival by flight\",\n \"type\": \"AIR\",\n \"transportCode\": \"123\",\n \"carrierCode\": \"AI\",\n \"stationCode\": \"BLR\",\n \"dateTime\": \"{{currentdateplus10}}T19:21:00.000Z\",\n \"transportationReqd\": true\n },\n \"departureTransport\": {\n \"comments\": \"Departure by flight\",\n \"type\": \"AIR\",\n \"transportCode\": \"123\",\n \"carrierCode\": \"AI\",\n \"stationCode\": \"BLR\",\n \"dateTime\": \"{{currentdateplus11}}T19:21:00.000Z\",\n \"transportationReqd\": true\n },\n \"primary\": true\n },\n {\n \"profileInfo\": {\n \"profileIdList\": [\n {\n \"id\": \"2A4B6C8D\",\n \"idContext\": \"Central\",\n \"type\": \"TravelAgent\"\n }\n ],\n \"profile\": {\n \"profileType\": \"TravelAgent\",\n \"companyInfo\": {\n \"companyName\": \"Smith Travel\",\n \"email\": \"customer@email.com\",\n \"phoneNumber\": \"415.555.0100\",\n \"address\": {\n \"addressLine\": [\n \"Street 7031 Columbia Gateway Dr.\"\n ],\n \"cityName\": \"Columbia\",\n \"postalCode\": 21046,\n \"country\": {\n \"code\": \"US\"\n },\n \"state\": \"MD\"\n }\n }\n }\n },\n \"primary\": true\n },\n {\n \"profileInfo\": {\n \"profileIdList\": [\n {\n \"id\": \"A2B4C6D8\",\n \"idContext\": \"Central\",\n \"type\": \"Source\"\n }\n ],\n \"profile\": {\n \"profileType\": \"Source\",\n \"companyInfo\": {\n \"companyName\": \"Smith Travel POS\",\n \"email\": \"customer@email.com\",\n \"phoneNumber\": \"415.555.0100\",\n \"address\": {\n \"addressLine\": [\n \"Street 7031 Columbia Gateway Dr.\"\n ],\n \"cityName\": \"Columbia\",\n \"postalCode\": 21046,\n \"country\": {\n \"code\": \"US\"\n },\n \"state\": \"MD\"\n }\n }\n }\n },\n \"primary\": true\n },\n {\n \"profileInfo\": {\n \"profileIdList\": [\n {\n \"id\": \"ORACLE-N\",\n \"idContext\": \"Central\",\n \"type\": \"Company\"\n }\n ],\n \"profile\": {\n \"profileType\": \"Company\",\n \"companyInfo\": {\n \"companyName\": \"Oracle Hospitality\",\n \"email\": \"customer@email.com\",\n \"phoneNumber\": \"415.555.0100\",\n \"address\": {\n \"addressLine\": [\n \"Street 7031 Columbia Gateway Dr.\"\n ],\n \"cityName\": \"Columbia\",\n \"postalCode\": 21046,\n \"country\": {\n \"code\": \"US\"\n },\n \"state\": \"MD\"\n }\n }\n }\n },\n \"primary\": true\n }\n ],\n \"reservationPaymentMethods\": [\n {\n \"paymentMethod\": \"5\",\n \"folioView\": \"1\",\n \"paymentCard\": {\n \"cardType\": \"AX\",\n \"cardNumber\": \"371449635398431\",\n \"expirationDate\": \"06/25\",\n \"cardHolderName\": \"No Name provided\"\n }\n }\n ],\n \"reservationMemberships\": [\n {\n \"membershipLevel\": \"ENTRY\",\n \"membershipId\": \"O137446L\",\n \"membershipType\": \"MICROS\"\n }\n ],\n \"guestMemberships\": [\n {\n \"membershipLevel\": \"ENTRY\",\n \"membershipId\": \"O12345F\",\n \"membershipType\": \"MF\"\n }\n ],\n \"hotelCode\": \"{{HotelCode1}}\",\n \"messageId\": \"{{$randomUUID}}\",\n \"comments\": [\n {\n \"comment\": {\n \"text\": {\n \"value\": \"Channel Text note\\n1 king bed\\nNon-Smoking\\nBill guest full stay\"\n },\n \"commentTitle\": \"Notes from Channel\",\n \"notificationLocation\": \"RESERVATION\",\n \"type\": \"GEN\",\n \"internal\": true,\n \"confidential\": false,\n \"overrideInternal\": false\n }\n }\n ],\n \"optedForCommunication\": false\n }\n ]\n}"
+ },
+ "url": {
+ "raw": "{{HostName}}/book/v0/hotels/{{HotelCode1}}/reservations",
+ "host": [
+ "{{HostName}}"
+ ],
+ "path": [
+ "book",
+ "v0",
+ "hotels",
+ "{{HotelCode1}}",
+ "reservations"
+ ]
+ },
+ "description": "Sample wiht a single night with guest CC on folio 1"
+ },
+ "response": []
+ },
+ {
+ "name": "post Reservation (v0) -> auto attach travel agent by IATA code",
+ "event": [
+ {
+ "listen": "test",
+ "script": {
+ "exec": [
+ ""
+ ],
+ "type": "text/javascript"
+ }
+ }
+ ],
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "{{Token}}",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "POST",
+ "header": [
+ {
+ "warning": "This is a duplicate header and will be overridden by the Authorization header generated by Postman.",
+ "key": "Authorization",
+ "value": "Bearer {{Token}}",
+ "type": "text"
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json; charset=utf-8",
+ "type": "text"
+ },
+ {
+ "key": "x-channelCode",
+ "value": "{{channelCode}}",
+ "type": "text"
+ },
+ {
+ "key": "x-app-key",
+ "value": "{{AppKey}}",
+ "type": "text"
},
{
- "key": "x-channelCode",
+ "key": "x-hdp-tracing-key",
+ "value": "{{$guid}}",
"type": "text",
- "value": "{{channelCode}}"
+ "disabled": true
}
],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"reservations\": [\n {\n \"roomStay\": {\n \"arrivalDate\": \"{{currentdateplus10}}\",\n \"departureDate\": \"{{currentdateplus11}}\",\n \"roomRates\": [\n {\n \"rates\": {\n \"rate\": [\n {\n \"base\": {\n \"amountBeforeTax\": 200,\n \"currencyCode\": \"USD\"\n },\n \"start\": \"{{currentdateplus10}}\",\n \"end\": \"{{currentdateplus10}}\"\n }\n ]\n },\n \"guestCounts\": {\n \"adults\": 1,\n \"children\": 1,\n \"childAges\": [\n 4\n ]\n },\n \"roomType\": \"{{RoomTypeCode}}\",\n \"ratePlanCode\": \"{{RatePlanCode}}\",\n \"numberOfUnits\": 1,\n \"start\": \"{{currentdateplus10}}\",\n \"end\": \"{{currentdateplus10}}\"\n }\n ],\n \"total\": {\n \"amountAfterTax\": 200,\n \"amountBeforeTax\": 20.09,\n \"currencyCode\": \"{{currencyCode}}\"\n },\n \"guarantee\": {\n \"guaranteeType\": \"5\"\n },\n \"printRate\": false\n },\n \"reservationGuests\": [\n {\n \"profileInfo\": {\n \"profile\": {\n \"customer\": {\n \"personName\": [\n {\n \"surname\": \"{{$randomLastName}}\",\n \"givenName\": \"{{$randomFirstName}}\",\n \"nameTitle\": \"Mr and Mrs\",\n \"nameType\": \"Primary\",\n \"email\": \"{{$randomEmail}}\",\n \"phoneNumber\": \"{{$randomPhoneNumber}}\",\n \"address\": {\n \"addressLine\": [\n \"{{$randomStreetAddress}}\"\n ],\n \"cityName\": \"{{$randomCity}}\",\n \"postalCode\": \"CAA-90017\",\n \"country\": {\n \"code\": \"US\"\n },\n \"state\": \"CA\"\n }\n }\n ],\n \"language\": \"en-us\"\n },\n \"profileType\": \"Guest\"\n }\n },\n \"primary\": true\n },\n {\n \"profileInfo\": {\n \"profileIdList\": [\n {\n \"id\": \"12345675\",\n \"type\": \"TravelAgent\"\n }\n ],\n \"profile\": {\n \"profileType\": \"TravelAgent\" \n \n }\n }\n },\n {\n \"profileInfo\": {\n \"profileIdList\": [\n {\n \"id\": \"12345672\",\n \"type\": \"Source\"\n }\n ],\n \"profile\": {\n \"profileType\": \"Source\",\n \"companyInfo\": {\n \"companyName\": \"Smith Travel POS\"\n }\n }\n }\n },\n {\n \"profileInfo\": {\n \"profileIdList\": [\n {\n \"id\": \"ORACLE\",\n \"idContext\": \"Central\",\n \"type\": \"Company\"\n }\n ],\n \"profile\": {\n \"profileType\": \"Company\",\n \"companyInfo\": {\n \"companyName\": \"Oracle Corporation\"\n },\n \"primary\": true\n }\n }\n }\n ],\n \"reservationPaymentMethods\": [\n {\n \"paymentMethod\": \"5\",\n \"folioView\": \"1\",\n \"paymentCard\": {\n \"cardType\": \"AX\",\n \"cardNumber\": \"371449635398431\",\n \"expirationDate\": \"06/25\",\n \"cardHolderName\": \"No Name provided\"\n }\n }\n ],\n \"hotelCode\": \"{{HotelCode1}}\",\n \"messageId\": \"{{$randomUUID}}\",\n \"comments\": [\n {\n \"comment\": {\n \"text\": {\n \"value\": \"Channel Text note\\n1 king bed\\nNon-Smoking\\nBill guest full stay\"\n },\n \"commentTitle\": \"Notes from Channel\",\n \"notificationLocation\": \"RESERVATION\",\n \"type\": \"GEN\",\n \"internal\": true,\n \"confidential\": false,\n \"overrideInternal\": false\n }\n }\n ],\n \"optedForCommunication\": false\n }\n ]\n}"
+ },
"url": {
- "raw": "{{HostName}}/shop/v0/hotels/{{HotelCode}}/calendar?arrivalDateFrom={{currentdate}}&arrivalDateTo={{currentdateplus60}}&adults=2&rateMode=Average&lengthOfStay=1",
+ "raw": "{{HostName}}/book/v0/hotels/{{HotelCode1}}/reservations",
"host": [
"{{HostName}}"
],
"path": [
- "shop",
+ "book",
"v0",
"hotels",
- "{{HotelCode}}",
- "calendar"
- ],
- "query": [
- {
- "key": "arrivalDateFrom",
- "value": "{{currentdate}}"
- },
- {
- "key": "arrivalDateTo",
- "value": "{{currentdateplus60}}"
- },
- {
- "key": "adults",
- "value": "2"
- },
- {
- "key": "children",
- "value": "1",
- "disabled": true
- },
- {
- "key": "childrenAges",
- "value": "12",
- "disabled": true
- },
- {
- "key": "rateMode",
- "value": "Average"
- },
- {
- "key": "lengthOfStay",
- "value": "1"
- }
+ "{{HotelCode1}}",
+ "reservations"
]
},
- "description": "Get property offers for Public rates"
+ "description": "Sample wiht a single night with guest CC on folio 1"
},
"response": []
},
{
- "name": "get Property Calendar -> specific rate Plan",
+ "name": "post Reservation (v0) -> with external res ID",
"event": [
{
"listen": "test",
"script": {
"exec": [
- "// collect parameters passed for dispaly \r",
- "var arrival = pm.environment.get(\"currentdateplus1\")\r",
- "\r",
- "// Set template for html page \r",
- "// var hotels = pm.environment.get(\"UI-shop-response\")\r",
- "var hotels = \r",
- "`\r",
- "\r",
- "\r",
- " \r",
- " \r",
- " 2 Column Layout — Left Menu\r",
- " \r",
- " \r",
- " \r",
- " \r",
- "
\r",
- " \r",
- "
Available Offers
\r",
- "
\r",
- " \r",
- " Offer code | \r",
- " Availability Status | \r",
- " Price | \r",
- " Rate mode | \r",
- " Changes? | \r",
- " Net Total | \r",
- " Total Tax | \r",
- " Total | \r",
- "
\r",
- " {{#each response.roomStays}} {{#each offers}}\r",
- " \r",
- " {{bookingCode}} | \r",
- " {{availabilityStatus}} | \r",
- " {{rateInformation.rate.base.amountBeforeTax}} | \r",
- " {{rateInformation.rate.rateMode}} | \r",
- " {{rateChangeDuringStay}} | \r",
- " {{total.amountBeforeTax}} | \r",
- " {{total.taxes.totalTax}} | \r",
- " {{total.amountAfterTax}} | \r",
- "
\r",
- " {{/each}} {{/each}}\r",
- "
\r",
- "
\r",
- " \r",
- "
\r",
- "
\r",
- " \r",
- "\r",
- "\r",
- "\r",
- "\r",
- "`\r",
- "\r",
- "\r",
- " \r",
- "// Set visualizer\r",
- "pm.visualizer.set(hotels, {response: pm.response.json()});\r",
- " \r",
- "\r",
""
],
"type": "text/javascript"
@@ -2842,92 +5169,62 @@
}
],
"request": {
- "method": "GET",
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "{{Token}}",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "POST",
"header": [
{
"key": "Authorization",
- "type": "text",
- "value": "Bearer {{Token}}"
+ "value": "Bearer {{Token}}",
+ "type": "text"
},
{
"key": "Content-Type",
- "type": "text",
- "value": "application/json"
+ "value": "application/json; charset=utf-8",
+ "type": "text"
},
{
- "key": "Accept",
- "type": "text",
- "value": "application/json"
+ "key": "x-channelCode",
+ "value": "{{channelCode}}",
+ "type": "text"
},
{
"key": "x-app-key",
- "type": "text",
- "value": "{{AppKey}}"
- },
- {
- "key": "x-channelCode",
- "type": "text",
- "value": "{{channelCode}}"
+ "value": "{{AppKey}}",
+ "type": "text"
}
],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"reservations\": [\n {\n \"reservationIdList\": [\n {\n \"id\": \"{{$randomUUID}}\",\n \"idExtension\": \"1\"\n }\n ],\n \"roomStay\": {\n \"arrivalDate\": \"{{currentdateplus10}}\",\n \"departureDate\": \"{{currentdateplus11}}\",\n \"roomRates\": [\n {\n \"guestCounts\": {\n \"adults\": 1,\n \"children\": 1,\n \"childAges\": [\n 4\n ]\n },\n \"roomType\": \"{{RoomTypeCode}}\",\n \"ratePlanCode\": \"{{RatePlanCode}}\",\n \"numberOfUnits\": 1,\n \"start\": \"{{currentdateplus10}}\",\n \"end\": \"{{currentdateplus10}}\"\n }\n ],\n \"guarantee\": {\n \"guaranteeType\": \"5\"\n },\n \"printRate\": true\n },\n \"reservationGuests\": [\n {\n \"profileInfo\": {\n \"profile\": {\n \"customer\": {\n \"personName\": [\n {\n \"surname\": \"{{$randomLastName}}\",\n \"givenName\": \"{{$randomFirstName}}\",\n \"nameTitle\": \"Mr and Mrs\",\n \"nameType\": \"Primary\",\n \"email\": \"{{$randomEmail}}\",\n \"phoneNumber\": \"{{$randomPhoneNumber}}\",\n \"address\": {\n \"addressLine\": [\n \"{{$randomStreetAddress}}\"\n ],\n \"cityName\": \"{{$randomCity}}\",\n \"postalCode\": \"CAA-90017\",\n \"country\": {\n \"code\": \"US\"\n },\n \"state\": \"CA\"\n }\n }\n ],\n \"language\": \"en-us\"\n },\n \"profileType\": \"Guest\"\n }\n },\n \"primary\": true\n }\n ],\n \"reservationPaymentMethods\": [\n {\n \"paymentMethod\": \"5\",\n \"folioView\": \"1\",\n \"paymentCard\": {\n \"cardType\": \"AX\",\n \"cardNumber\": \"371449635398431\",\n \"expirationDate\": \"06/25\",\n \"cardHolderName\": \"SomeChannel VirtualCard\"\n }\n }\n ],\n \"hotelCode\": \"{{HotelCode1}}\",\n \"messageId\": \"{{$randomUUID}}\",\n \"comments\": [\n {\n \"comment\": {\n \"text\": {\n \"value\": \"Channel Text note\\n1 king bed\\nNon-Smoking\\nBill guest full stay\"\n },\n \"commentTitle\": \"Notes from channel\",\n \"notificationLocation\": \"RESERVATION\",\n \"type\": \"GEN\",\n \"internal\": true,\n \"confidential\": false,\n \"overrideInternal\": false\n }\n }\n ]\n }\n ]\n}"
+ },
"url": {
- "raw": "{{HostName}}/shop/v0/hotels/{{HotelCode}}/calendar?arrivalDateFrom={{currentdate}}&arrivalDateTo={{currentdateplus60}}&adults=1&children=1&childrenAges=12&rateMode=Average&lengthOfStay=1&ratePlanCodes={{RatePlanCode}}",
+ "raw": "{{HostName}}/book/v0/hotels/{{HotelCode1}}/reservations",
"host": [
"{{HostName}}"
],
"path": [
- "shop",
+ "book",
"v0",
"hotels",
- "{{HotelCode}}",
- "calendar"
- ],
- "query": [
- {
- "key": "arrivalDateFrom",
- "value": "{{currentdate}}"
- },
- {
- "key": "arrivalDateTo",
- "value": "{{currentdateplus60}}"
- },
- {
- "key": "adults",
- "value": "1"
- },
- {
- "key": "children",
- "value": "1"
- },
- {
- "key": "childrenAges",
- "value": "12"
- },
- {
- "key": "rateMode",
- "value": "Average"
- },
- {
- "key": "lengthOfStay",
- "value": "1"
- },
- {
- "key": "ratePlanCodes",
- "value": "{{RatePlanCode}}"
- }
+ "{{HotelCode1}}",
+ "reservations"
]
},
- "description": "Get property offers for Public rates"
+ "description": "Sample wiht a single night with guest CC on folio 1"
},
"response": []
- }
- ]
- },
- {
- "name": "Distribiution Book (BOOK)",
- "item": [
+ },
{
- "name": "get Reservation",
+ "name": "get Reservation (v0) -> Retrieve Reservation",
"event": [
{
"listen": "test",
@@ -2941,14 +5238,7 @@
],
"request": {
"auth": {
- "type": "bearer",
- "bearer": [
- {
- "key": "token",
- "value": "{{Token}}",
- "type": "string"
- }
- ]
+ "type": "noauth"
},
"method": "GET",
"header": [
@@ -2974,7 +5264,7 @@
}
],
"url": {
- "raw": "{{HostName}}/book/v0/hotels/{{HotelCode}}/reservations/{{ConfirmationNum}}",
+ "raw": "{{HostName}}/book/v0/hotels/{{HotelCode1}}/reservations/{{ConfirmationNum}}",
"host": [
"{{HostName}}"
],
@@ -2982,7 +5272,7 @@
"book",
"v0",
"hotels",
- "{{HotelCode}}",
+ "{{HotelCode1}}",
"reservations",
"{{ConfirmationNum}}"
]
@@ -2992,7 +5282,7 @@
"response": []
},
{
- "name": "post Reservation",
+ "name": "put Reservation (v0) -> Modify Reservation full overlay",
"event": [
{
"listen": "test",
@@ -3015,10 +5305,9 @@
}
]
},
- "method": "POST",
+ "method": "PUT",
"header": [
{
- "warning": "This is a duplicate header and will be overridden by the Authorization header generated by Postman.",
"key": "Authorization",
"value": "Bearer {{Token}}",
"type": "text"
@@ -3037,20 +5326,14 @@
"key": "x-app-key",
"value": "{{AppKey}}",
"type": "text"
- },
- {
- "key": "x-hdp-tracing-key",
- "value": "{{$guid}}",
- "type": "text",
- "disabled": true
}
],
"body": {
"mode": "raw",
- "raw": "{\n \"reservations\": [\n {\n \"roomStay\": {\n \"arrivalDate\": \"{{currentdateplus10}}\",\n \"departureDate\": \"{{currentdateplus11}}\",\n \"roomRates\": [\n {\n \"guestCounts\": {\n \"adults\": 1,\n \"children\": 1,\n \"childAges\": [\n 4\n ]\n },\n \"roomType\": \"{{RoomTypeCode}}\",\n \"ratePlanCode\": \"{{RatePlanCode}}\",\n \"numberOfUnits\": 1,\n \"start\": \"{{currentdateplus10}}\",\n \"end\": \"{{currentdateplus10}}\"\n }\n ],\n \"guarantee\": {\n \"guaranteeCode\": \"GX\"\n },\n \"printRate\": true\n },\n \"reservationGuests\": [\n {\n \"profileInfo\": {\n \"profile\": {\n \"customer\": {\n \"personName\": [\n {\n \"surname\": \"{{$randomLastName}}\",\n \"givenName\": \"{{$randomFirstName}}\",\n \"nameTitle\": \"Mr and Mrs\",\n \"nameType\": \"Primary\",\n \"email\": \"{{$randomEmail}}\",\n \"phoneNumber\": \"{{$randomPhoneNumber}}\",\n \"address\": {\n \"addressLine\": [\n \"{{$randomStreetAddress}}\"\n ],\n \"cityName\": \"{{$randomCity}}\",\n \"postalCode\": \"CAA-90017\",\n \"country\": {\n \"code\": \"US\"\n },\n \"state\": \"CA\"\n }\n }\n ],\n \"language\": \"en-us\"\n },\n \"profileType\": \"Guest\"\n }\n },\n \"primary\": true\n }\n ],\n \"reservationPaymentMethods\": [\n {\n \"paymentMethod\": \"5\",\n \"folioView\": \"1\",\n \"paymentCard\": {\n \"cardType\": \"AX\",\n \"cardNumber\": \"371449635398431\",\n \"expirationDate\": \"06/25\",\n \"cardHolderName\": \"SomeChannel VirtualCard\"\n }\n }\n ],\n \"hotelCode\": \"{{HotelCode1}}\",\n \"messageId\": \"{{$randomUUID}}\",\n \"comments\": [\n {\n \"comment\": {\n \"text\": {\n \"value\": \"Channel Text note\\n1 king bed\\nNon-Smoking\\nBill guest full stay\"\n },\n \"commentTitle\": \"Notes from channel\",\n \"notificationLocation\": \"RESERVATION\",\n \"type\": \"GEN\",\n \"internal\": true,\n \"confidential\": false,\n \"overrideInternal\": false\n }\n }\n ]\n }\n ]\n}"
+ "raw": "{\n \"reservations\": [\n {\n \"reservationIdList\": [\n {\n \"id\": \"{{ConfirmationNum}}\",\n \"type\": \"Confirmation\",\n \"idContext\": \"Central\",\n \"idExtension\": \"1\"\n }\n ],\n \"roomStay\": {\n \"arrivalDate\": \"{{currentdateplus1}}\",\n \"departureDate\": \"{{currentdateplus3}}\",\n \"roomRates\": [\n {\n \"guestCounts\": {\n \"adults\": 2\n },\n \"roomType\": \"{{RoomTypeCode}}\",\n \"ratePlanCode\": \"{{RatePlanCode}}\",\n \"numberOfUnits\": 1,\n \"start\": \"{{currentdateplus1}}\",\n \"end\": \"{{currentdateplus2}}\"\n }\n ],\n \"guarantee\": {\n \"guaranteeType\": \"5\"\n },\n \"printRate\": true\n },\n \"reservationGuests\": [\n {\n \"profileInfo\": {\n \"profile\": {\n \"customer\": {\n \"personName\": [\n {\n \"surname\": \"{{$randomLastName}}\",\n \"givenName\": \"{{$randomFirstName}}\",\n \"nameTitle\": \"Mr and Mrs\",\n \"nameType\": \"Primary\",\n \"email\": \"{{$randomEmail}}\",\n \"phoneNumber\": \"{{$randomPhoneNumber}}\",\n \"address\": {\n \"addressLine\": [\n \"{{$randomStreetAddress}}\"\n ],\n \"cityName\": \"{{$randomCity}}\",\n \"postalCode\": \"CAA-90017\",\n \"country\": {\n \"code\": \"US\"\n },\n \"state\": \"CA\"\n }\n }\n ],\n \"language\": \"en-us\"\n },\n \"profileType\": \"Guest\"\n }\n },\n \"primary\": true\n }\n ],\n \"reservationPaymentMethods\": [\n {\n \"paymentMethod\": \"5\",\n \"folioView\": \"1\",\n \"paymentCard\": {\n \"cardType\": \"AX\",\n \"cardNumber\": \"371449635398431\",\n \"expirationDate\": \"06/29\",\n \"cardHolderName\": \"SomeChannel VirtualCard\"\n }\n }\n ],\n \"hotelCode\": \"{{HotelCode1}}\",\n \"messageId\": \"{{$randomUUID}}\",\n \"comments\": [\n {\n \"comment\": {\n \"text\": {\n \"value\": \"Channel Text note\\n1 king bed\\nNon-Smoking\\nBill guest full stay\"\n },\n \"commentTitle\": \"Notes from channel\",\n \"notificationLocation\": \"RESERVATION\",\n \"type\": \"GEN\",\n \"internal\": true,\n \"confidential\": false,\n \"overrideInternal\": false\n }\n }\n ]\n }\n ]\n}"
},
"url": {
- "raw": "{{HostName}}/book/v0/hotels/{{HotelCode}}/reservations",
+ "raw": "{{HostName}}/book/v0/hotels/{{HotelCode1}}/reservations/{{ConfirmationNum}}",
"host": [
"{{HostName}}"
],
@@ -3058,16 +5341,17 @@
"book",
"v0",
"hotels",
- "{{HotelCode}}",
- "reservations"
+ "{{HotelCode1}}",
+ "reservations",
+ "{{ConfirmationNum}}"
]
},
- "description": "Sample wiht a single night with guest CC on folio 1"
+ "description": "Sample message to modify to 2 nights, with rate changes"
},
"response": []
},
{
- "name": "post Reservation -> auto attach travel agent by IATA code",
+ "name": "put Reservation (v0) -> Soft Modify Reservation full overlay",
"event": [
{
"listen": "test",
@@ -3090,10 +5374,9 @@
}
]
},
- "method": "POST",
+ "method": "PUT",
"header": [
{
- "warning": "This is a duplicate header and will be overridden by the Authorization header generated by Postman.",
"key": "Authorization",
"value": "Bearer {{Token}}",
"type": "text"
@@ -3112,20 +5395,14 @@
"key": "x-app-key",
"value": "{{AppKey}}",
"type": "text"
- },
- {
- "key": "x-hdp-tracing-key",
- "value": "{{$guid}}",
- "type": "text",
- "disabled": true
}
],
"body": {
"mode": "raw",
- "raw": "{\n \"reservations\": [\n {\n \"roomStay\": {\n \"arrivalDate\": \"{{currentdateplus10}}\",\n \"departureDate\": \"{{currentdateplus11}}\",\n \"roomRates\": [\n {\n \"rates\": {\n \"rate\": [\n {\n \"base\": {\n \"amountBeforeTax\": 200,\n \"currencyCode\": \"USD\"\n },\n \"start\": \"{{currentdateplus10}}\",\n \"end\": \"{{currentdateplus10}}\"\n }\n ]\n },\n \"guestCounts\": {\n \"adults\": 1,\n \"children\": 1,\n \"childAges\": [\n 4\n ]\n },\n \"roomType\": \"{{RoomTypeCode}}\",\n \"ratePlanCode\": \"{{RatePlanCode}}\",\n \"numberOfUnits\": 1,\n \"start\": \"{{currentdateplus10}}\",\n \"end\": \"{{currentdateplus10}}\"\n }\n ],\n \"total\": {\n \"amountAfterTax\": 200,\n \"amountBeforeTax\": 20.09,\n \"currencyCode\": \"{{currencyCode}}\"\n },\n \"guarantee\": {\n \"guaranteeCode\": \"5\"\n },\n \"printRate\": false\n },\n \"reservationGuests\": [\n {\n \"profileInfo\": {\n \"profile\": {\n \"customer\": {\n \"personName\": [\n {\n \"surname\": \"{{$randomLastName}}\",\n \"givenName\": \"{{$randomFirstName}}\",\n \"nameTitle\": \"Mr and Mrs\",\n \"nameType\": \"Primary\",\n \"email\": \"{{$randomEmail}}\",\n \"phoneNumber\": \"{{$randomPhoneNumber}}\",\n \"address\": {\n \"addressLine\": [\n \"{{$randomStreetAddress}}\"\n ],\n \"cityName\": \"{{$randomCity}}\",\n \"postalCode\": \"CAA-90017\",\n \"country\": {\n \"code\": \"US\"\n },\n \"state\": \"CA\"\n }\n }\n ],\n \"language\": \"en-us\"\n },\n \"profileType\": \"Guest\"\n }\n },\n \"primary\": true\n },\n {\n \"profileInfo\": {\n \"profileIdList\": [\n {\n \"id\": \"96123506\",\n \"type\": \"TravelAgent\"\n }\n ],\n \"profile\": {\n \"profileType\": \"TravelAgent\" \n \n }\n }\n },\n {\n \"profileInfo\": {\n \"profileIdList\": [\n {\n \"id\": \"12345672\",\n \"type\": \"Source\"\n }\n ],\n \"profile\": {\n \"profileType\": \"Source\",\n \"companyInfo\": {\n \"companyName\": \"Smith Travel POS\"\n }\n }\n }\n },\n {\n \"profileInfo\": {\n \"profileIdList\": [\n {\n \"id\": \"ORACLE\",\n \"idContext\": \"Central\",\n \"type\": \"Company\"\n }\n ],\n \"profile\": {\n \"profileType\": \"Company\",\n \"companyInfo\": {\n \"companyName\": \"Oracle Corporation\"\n },\n \"primary\": true\n }\n }\n }\n ],\n \"reservationPaymentMethods\": [\n {\n \"paymentMethod\": \"5\",\n \"folioView\": \"1\",\n \"paymentCard\": {\n \"cardType\": \"AX\",\n \"cardNumber\": \"371449635398431\",\n \"expirationDate\": \"06/25\",\n \"cardHolderName\": \"No Name provided\"\n }\n }\n ],\n \"hotelCode\": \"{{HotelCode1}}\",\n \"messageId\": \"{{$randomUUID}}\",\n \"comments\": [\n {\n \"comment\": {\n \"text\": {\n \"value\": \"Channel Text note\\n1 king bed\\nNon-Smoking\\nBill guest full stay\"\n },\n \"commentTitle\": \"Notes from Channel\",\n \"notificationLocation\": \"RESERVATION\",\n \"type\": \"GEN\",\n \"internal\": true,\n \"confidential\": false,\n \"overrideInternal\": false\n }\n }\n ],\n \"optedForCommunication\": false\n }\n ]\n}"
+ "raw": "{\n \"reservations\": [\n {\n \"reservationIdList\": [\n {\n \"id\": \"{{ConfirmationNum}}\",\n \"type\": \"Confirmation\",\n \"idContext\": \"Central\",\n \"idExtension\": \"1\"\n }\n ],\n \"roomStay\": {\n \"arrivalDate\": \"{{currentdateplus10}}\",\n \"departureDate\": \"{{currentdateplus11}}\",\n \"roomRates\": [\n {\n \"guestCounts\": {\n \"adults\": 1,\n \"children\": 1,\n \"childAges\": [\n 4\n ]\n },\n \"roomType\": \"{{RoomTypeCode}}\",\n \"ratePlanCode\": \"{{RatePlanCode}}\",\n \"numberOfUnits\": 1,\n \"start\": \"{{currentdateplus10}}\",\n \"end\": \"{{currentdateplus10}}\"\n }\n ],\n \"guarantee\": {\n \"guaranteeType\": \"5\"\n },\n \"printRate\": true\n },\n \"reservationGuests\": [\n {\n \"profileInfo\": {\n \"profile\": {\n \"customer\": {\n \"personName\": [\n {\n \"surname\": \"{{$randomLastName}}\",\n \"givenName\": \"{{$randomFirstName}}\",\n \"nameTitle\": \"Mr and Mrs\",\n \"nameType\": \"Primary\",\n \"email\": \"{{$randomEmail}}\",\n \"phoneNumber\": \"{{$randomPhoneNumber}}\",\n \"address\": {\n \"addressLine\": [\n \"{{$randomStreetAddress}}\"\n ],\n \"cityName\": \"{{$randomCity}}\",\n \"postalCode\": \"CAA-90017\",\n \"country\": {\n \"code\": \"US\"\n },\n \"state\": \"CA\"\n }\n }\n ],\n \"language\": \"en-us\"\n },\n \"profileType\": \"Guest\"\n }\n },\n \"primary\": true\n }\n ],\n \"reservationPaymentMethods\": [\n {\n \"paymentMethod\": \"5\",\n \"folioView\": \"1\",\n \"paymentCard\": {\n \"cardType\": \"AX\",\n \"cardNumber\": \"371449635398431\",\n \"expirationDate\": \"06/29\",\n \"cardHolderName\": \"SomeChannel VirtualCard\"\n }\n }\n ],\n \"hotelCode\": \"{{HotelCode1}}\",\n \"messageId\": \"{{$randomUUID}}\",\n \"comments\": [\n {\n \"comment\": {\n \"text\": {\n \"value\": \"Channel Text note\\n1 king bed\\nNon-Smoking\\nBill guest full stay\"\n },\n \"commentTitle\": \"Notes from channel\",\n \"notificationLocation\": \"RESERVATION\",\n \"type\": \"GEN\",\n \"internal\": true,\n \"confidential\": false,\n \"overrideInternal\": false\n }\n }\n ]\n }\n ]\n}"
},
"url": {
- "raw": "{{HostName}}/book/v0/hotels/{{HotelCode1}}/reservations",
+ "raw": "{{HostName}}/book/v0/hotels/{{HotelCode1}}/reservations/{{ConfirmationNum}}",
"host": [
"{{HostName}}"
],
@@ -3134,15 +5411,16 @@
"v0",
"hotels",
"{{HotelCode1}}",
- "reservations"
+ "reservations",
+ "{{ConfirmationNum}}"
]
},
- "description": "Sample wiht a single night with guest CC on folio 1"
+ "description": "Sample message to modify to 2 nights, with rate changes"
},
"response": []
},
{
- "name": "post Reservation -> Non Guaranteed",
+ "name": "post Cancel Reservation (v0) -> Cancel booking",
"event": [
{
"listen": "test",
@@ -3168,7 +5446,6 @@
"method": "POST",
"header": [
{
- "warning": "This is a duplicate header and will be overridden by the Authorization header generated by Postman.",
"key": "Authorization",
"value": "Bearer {{Token}}",
"type": "text"
@@ -3187,20 +5464,14 @@
"key": "x-app-key",
"value": "{{AppKey}}",
"type": "text"
- },
- {
- "key": "x-hdp-tracing-key",
- "value": "{{$guid}}",
- "type": "text",
- "disabled": true
}
],
"body": {
"mode": "raw",
- "raw": "{\n \"reservations\": [\n {\n \"roomStay\": {\n \"arrivalDate\": \"{{currentdateplus10}}\",\n \"departureDate\": \"{{currentdateplus11}}\",\n \"roomRates\": [\n {\n \"guestCounts\": {\n \"adults\": 1,\n \"children\": 1,\n \"childAges\": [\n 4\n ]\n },\n \"roomType\": \"{{RoomTypeCode}}\",\n \"ratePlanCode\": \"{{RatePlanCode}}\",\n \"numberOfUnits\": 1,\n \"start\": \"{{currentdateplus10}}\",\n \"end\": \"{{currentdateplus10}}\"\n }\n ],\n \"guarantee\": {\n \"guaranteeCode\": \"6PM\"\n },\n \"printRate\": true\n },\n \"reservationGuests\": [\n {\n \"profileInfo\": {\n \"profile\": {\n \"customer\": {\n \"personName\": [\n {\n \"surname\": \"{{$randomLastName}}\",\n \"givenName\": \"{{$randomFirstName}}\",\n \"nameTitle\": \"Mr and Mrs\",\n \"nameType\": \"Primary\",\n \"email\": \"{{$randomEmail}}\",\n \"phoneNumber\": \"{{$randomPhoneNumber}}\",\n \"address\": {\n \"addressLine\": [\n \"{{$randomStreetAddress}}\"\n ],\n \"cityName\": \"{{$randomCity}}\",\n \"postalCode\": \"CAA-90017\",\n \"country\": {\n \"code\": \"US\"\n },\n \"state\": \"CA\"\n }\n }\n ],\n \"language\": \"en-us\"\n },\n \"profileType\": \"Guest\"\n }\n },\n \"primary\": true\n }\n ],\n \"reservationPaymentMethods\": [\n {\n \"paymentMethod\": \"1\"\n }\n ],\n \"hotelCode\": \"{{HotelCode1}}\",\n \"messageId\": \"{{$randomUUID}}\",\n \"comments\": [\n {\n \"comment\": {\n \"text\": {\n \"value\": \"Channel Text note\\n1 king bed\\nNon-Smoking\\nBill guest full stay\"\n },\n \"commentTitle\": \"Notes from channel\",\n \"notificationLocation\": \"RESERVATION\",\n \"type\": \"GEN\",\n \"internal\": true,\n \"confidential\": false,\n \"overrideInternal\": false\n }\n }\n ]\n }\n ]\n}"
+ "raw": "{\n \"reservations\": [\n {\n \"reservationIdList\": [\n {\n \"id\": \"{{ConfirmationNum}}\",\n \"type\": \"Confirmation\",\n \"idContext\": \"Central\",\n \"idExtension\": \"1\"\n }\n ],\n \"hotelCode\": \"{{HotelCode1}}\",\n \"messageId\": \"{{$randomUUID}}\"\n }\n ]\n}"
},
"url": {
- "raw": "{{HostName}}/book/v0/hotels/{{HotelCode}}/reservations",
+ "raw": "{{HostName}}/book/v0/hotels/{{HotelCode1}}/reservations/{{ConfirmationNum}}/cancellations",
"host": [
"{{HostName}}"
],
@@ -3208,16 +5479,17 @@
"book",
"v0",
"hotels",
- "{{HotelCode}}",
- "reservations"
+ "{{HotelCode1}}",
+ "reservations",
+ "{{ConfirmationNum}}",
+ "cancellations"
]
- },
- "description": "Sample wiht a single night with guest CC on folio 1"
+ }
},
"response": []
},
{
- "name": "post Reservation -> providing rates",
+ "name": "post Reservation (v0) -> Create on Hold reservation",
"event": [
{
"listen": "test",
@@ -3243,7 +5515,6 @@
"method": "POST",
"header": [
{
- "warning": "This is a duplicate header and will be overridden by the Authorization header generated by Postman.",
"key": "Authorization",
"value": "Bearer {{Token}}",
"type": "text"
@@ -3262,20 +5533,14 @@
"key": "x-app-key",
"value": "{{AppKey}}",
"type": "text"
- },
- {
- "key": "x-hdp-tracing-key",
- "value": "{{$guid}}",
- "type": "text",
- "disabled": true
}
],
"body": {
"mode": "raw",
- "raw": "{\n \"reservations\": [\n {\n \"roomStay\": {\n \"arrivalDate\": \"{{currentdateplus10}}\",\n \"departureDate\": \"{{currentdateplus11}}\",\n \"roomRates\": [\n {\n \"rates\": {\n \"rate\": [\n {\n \"base\": {\n \"amountBeforeTax\": 200,\n \"currencyCode\": \"{{currencyCode}}\"\n },\n \"start\": \"{{currentdateplus10}}\",\n \"end\": \"{{currentdateplus10}}\"\n }\n ]\n },\n \"guestCounts\": {\n \"childAges\": [\n 4\n ],\n \"adults\": 1,\n \"children\": 1\n },\n \"roomType\": \"{{RoomTypeCode}}\",\n \"ratePlanCode\": \"{{RatePlanCode}}\",\n \n \"numberOfUnits\": 1,\n \"start\": \"{{currentdateplus10}}\",\n \"end\": \"{{currentdateplus10}}\"\n }\n ],\n \n \"total\": {\n \"amountAfterTax\": 200,\n \"amountBeforeTax\": 20.09,\n \"currencyCode\": \"{{currencyCode}}\"\n },\n \"guarantee\": {\n \"guaranteeCode\": \"GX\",\n \"onHold\": false\n },\n \"printRate\": false\n },\n \"reservationGuests\": [\n {\n \"profileInfo\": {\n \"profile\": {\n \"customer\": {\n \"personName\": [\n {\n \"surname\": \"{{$randomLastName}}\",\n \"givenName\": \"{{$randomFirstName}}\",\n \"nameTitle\": \"Mr and Mrs\",\n \"nameType\": \"Primary\",\n \"email\": \"{{$randomEmail}}\",\n \"phoneNumber\": \"{{$randomPhoneNumber}}\",\n \"address\": {\n \"addressLine\": [\n \"{{$randomStreetAddress}}\"\n ],\n \"cityName\": \"{{$randomCity}}\",\n \"postalCode\": \"90000\",\n \"country\": {\n \"code\": \"US\"\n },\n \"state\": \"CA\"\n }\n }\n ],\n \"language\": \"en-us\"\n },\n \"profileType\": \"Guest\"\n }\n },\n \"primary\": true\n }\n ],\n \"reservationPaymentMethods\": [\n {\n \"paymentMethod\": \"5\",\n \"folioView\": \"1\",\n \"paymentCard\": {\n \"cardType\": \"AX\",\n \"cardNumber\": \"371000011110000\",\n \"expirationDate\": \"06/25\",\n \"cardHolderName\": \"XXChannel VirtualCard\"\n }\n }\n ],\n \"hotelCode\": \"{{HotelCode1}}\",\n \"messageId\": \"{{$randomUUID}}\",\n \"comments\": [\n {\n \"comment\": {\n \"text\": {\n \"value\": \"Channel Text note\\n1 king bed\\nNon-Smoking\\nBill guest full stay\"\n },\n \"commentTitle\": \"Notes from Channel\",\n \"notificationLocation\": \"RESERVATION\",\n \"type\": \"GEN\",\n \"internal\": true,\n \"confidential\": false,\n \"overrideInternal\": false\n }\n }\n ],\n \"printRate\": false,\n \"optedForCommunication\": false\n }\n ]\n}"
+ "raw": "{\n \"reservations\": [\n {\n \"roomStay\": {\n \"arrivalDate\": \"{{currentdateplus10}}\",\n \"departureDate\": \"{{currentdateplus11}}\",\n \"roomRates\": [\n {\n \"guestCounts\": {\n \"adults\": 1,\n \"children\": 1,\n \"childAges\": [\n 4\n ]\n },\n \"roomType\": \"{{RoomTypeCode}}\",\n \"ratePlanCode\": \"{{RatePlanCode}}\",\n \"numberOfUnits\": 1,\n \"start\": \"{{currentdateplus10}}\",\n \"end\": \"{{currentdateplus10}}\"\n }\n ],\n \"guarantee\": {\n \"guaranteeType\": \"5\"\n },\n \"printRate\": true\n },\n \"reservationGuests\": [\n {\n \"profileInfo\": {\n \"profile\": {\n \"customer\": {\n \"personName\": [\n {\n \"surname\": \"{{$randomLastName}}\",\n \"givenName\": \"{{$randomFirstName}}\",\n \"nameTitle\": \"Mr and Mrs\",\n \"nameType\": \"Primary\",\n \"email\": \"{{$randomEmail}}\",\n \"phoneNumber\": \"{{$randomPhoneNumber}}\",\n \"address\": {\n \"addressLine\": [\n \"{{$randomStreetAddress}}\"\n ],\n \"cityName\": \"{{$randomCity}}\",\n \"postalCode\": \"CAA-90017\",\n \"country\": {\n \"code\": \"US\"\n },\n \"state\": \"CA\"\n }\n }\n ],\n \"language\": \"en-us\"\n },\n \"profileType\": \"Guest\"\n }\n },\n \"primary\": true\n }\n ],\n \"reservationPaymentMethods\": [\n {\n \"paymentMethod\": \"5\",\n \"folioView\": \"1\",\n \"paymentCard\": {\n \"cardType\": \"AX\",\n \"cardNumber\": \"371449635398431\",\n \"expirationDate\": \"06/25\",\n \"cardHolderName\": \"SomeChannel VirtualCard\"\n }\n }\n ],\n \"hotelCode\": \"{{HotelCode1}}\",\n \"messageId\": \"{{$randomUUID}}\",\n \"comments\": [\n {\n \"comment\": {\n \"text\": {\n \"value\": \"Channel Text note\\n1 king bed\\nNon-Smoking\\nBill guest full stay\"\n },\n \"commentTitle\": \"Notes from channel\",\n \"notificationLocation\": \"RESERVATION\",\n \"type\": \"GEN\",\n \"internal\": true,\n \"confidential\": false,\n \"overrideInternal\": false\n }\n }\n ],\n \"isSessionRequest\": true\n }\n ]\n}\n \n "
},
"url": {
- "raw": "{{HostName}}/book/v0/hotels/{{HotelCode}}/reservations",
+ "raw": "{{HostName}}/book/v0/hotels/{{HotelCode1}}/reservations",
"host": [
"{{HostName}}"
],
@@ -3283,7 +5548,7 @@
"book",
"v0",
"hotels",
- "{{HotelCode}}",
+ "{{HotelCode1}}",
"reservations"
]
},
@@ -3292,7 +5557,7 @@
"response": []
},
{
- "name": "post Reservation -> with external res ID",
+ "name": "post On Hold Reservation (v0) -> Commit on Hold reservation",
"event": [
{
"listen": "test",
@@ -3340,10 +5605,10 @@
],
"body": {
"mode": "raw",
- "raw": "{\n \"reservations\": [\n {\n \"reservationIdList\": [\n {\n \"id\": \"{{$randomUUID}}\",\n \"idExtension\": \"1\"\n }\n ],\n \"roomStay\": {\n \"arrivalDate\": \"{{currentdateplus10}}\",\n \"departureDate\": \"{{currentdateplus11}}\",\n \"roomRates\": [\n {\n \"guestCounts\": {\n \"adults\": 1,\n \"children\": 1,\n \"childAges\": [\n 4\n ]\n },\n \"roomType\": \"{{RoomTypeCode}}\",\n \"ratePlanCode\": \"{{RatePlanCode}}\",\n \"numberOfUnits\": 1,\n \"start\": \"{{currentdateplus10}}\",\n \"end\": \"{{currentdateplus10}}\"\n }\n ],\n \"guarantee\": {\n \"guaranteeCode\": \"GX\"\n },\n \"printRate\": true\n },\n \"reservationGuests\": [\n {\n \"profileInfo\": {\n \"profile\": {\n \"customer\": {\n \"personName\": [\n {\n \"surname\": \"{{$randomLastName}}\",\n \"givenName\": \"{{$randomFirstName}}\",\n \"nameTitle\": \"Mr and Mrs\",\n \"nameType\": \"Primary\",\n \"email\": \"{{$randomEmail}}\",\n \"phoneNumber\": \"{{$randomPhoneNumber}}\",\n \"address\": {\n \"addressLine\": [\n \"{{$randomStreetAddress}}\"\n ],\n \"cityName\": \"{{$randomCity}}\",\n \"postalCode\": \"90000\",\n \"country\": {\n \"code\": \"US\"\n },\n \"state\": \"CA\"\n }\n }\n ],\n \"language\": \"en-us\"\n },\n \"profileType\": \"Guest\"\n }\n },\n \"primary\": true\n }\n ],\n \"reservationPaymentMethods\": [\n {\n \"paymentMethod\": \"5\",\n \"folioView\": \"1\",\n \"paymentCard\": {\n \"cardType\": \"AX\",\n \"cardNumber\": \"311111111111111\",\n \"expirationDate\": \"06/25\",\n \"cardHolderName\": \"SomeChannel VirtualCard\"\n }\n }\n ],\n \"hotelCode\": \"{{HotelCode1}}\",\n \"messageId\": \"{{$randomUUID}}\",\n \"comments\": [\n {\n \"comment\": {\n \"text\": {\n \"value\": \"Channel Text note\\n1 king bed\\nNon-Smoking\\nBill guest full stay\"\n },\n \"commentTitle\": \"Notes from channel\",\n \"notificationLocation\": \"RESERVATION\",\n \"type\": \"GEN\",\n \"internal\": true,\n \"confidential\": false,\n \"overrideInternal\": false\n }\n }\n ]\n }\n ]\n}"
+ "raw": "{\n \"reservations\": [\n {\n \"reservationIdList\": [\n {\n \"id\": \"{{ConfirmationNum}}\",\n \"type\": \"Confirmation\",\n \"idContext\": \"Central\",\n \"idExtension\": \"1\"\n }\n ],\n \"hotelCode\": \"{{HotelCode1}}\",\n \"reservationStatus\": \"Commit\",\n \"lastModifyDateTime\": \"2020-09-17T19:21:00.0Z\",\n \"messageId\": \"{{$randomUUID}}\"\n }\n ]\n}"
},
"url": {
- "raw": "{{HostName}}/book/v0/hotels/{{HotelCode}}/reservations",
+ "raw": "{{HostName}}/book/v0/hotels/{{HotelCode1}}/reservations/{{ConfirmationNum}}/status",
"host": [
"{{HostName}}"
],
@@ -3351,16 +5616,17 @@
"book",
"v0",
"hotels",
- "{{HotelCode}}",
- "reservations"
+ "{{HotelCode1}}",
+ "reservations",
+ "{{ConfirmationNum}}",
+ "status"
]
- },
- "description": "Sample wiht a single night with guest CC on folio 1"
+ }
},
"response": []
},
{
- "name": "post Reservation -> with Membership",
+ "name": "post On Hold Reservation (v0) -> Ignore on Hold reservation",
"event": [
{
"listen": "test",
@@ -3386,7 +5652,6 @@
"method": "POST",
"header": [
{
- "warning": "This is a duplicate header and will be overridden by the Authorization header generated by Postman.",
"key": "Authorization",
"value": "Bearer {{Token}}",
"type": "text"
@@ -3401,24 +5666,18 @@
"value": "{{channelCode}}",
"type": "text"
},
- {
- "key": "x-app-key",
- "value": "{{AppKey}}",
- "type": "text"
- },
- {
- "key": "x-hdp-tracing-key",
- "value": "{{$guid}}",
- "type": "text",
- "disabled": true
+ {
+ "key": "x-app-key",
+ "value": "{{AppKey}}",
+ "type": "text"
}
],
"body": {
"mode": "raw",
- "raw": "{\n \"reservations\": [\n {\n \"roomStay\": {\n \"arrivalDate\": \"{{currentdateplus10}}\",\n \"departureDate\": \"{{currentdateplus11}}\",\n \"roomRates\": [\n {\n \"guestCounts\": {\n \"adults\": 1,\n \"children\": 1,\n \"childAges\": [\n 4\n ]\n },\n \"roomType\": \"{{RoomTypeCode}}\",\n \"ratePlanCode\": \"{{RatePlanCode}}\",\n \"numberOfUnits\": 1,\n \"start\": \"{{currentdateplus10}}\",\n \"end\": \"{{currentdateplus10}}\"\n }\n ],\n \"guarantee\": {\n \"guaranteeCode\": \"5\"\n },\n \"printRate\": true\n },\n \"reservationGuests\": [\n {\n \"profileInfo\": {\n \"profile\": {\n \"customer\": {\n \"personName\": [\n {\n \"surname\": \"{{$randomLastName}}\",\n \"givenName\": \"{{$randomFirstName}}\",\n \"nameTitle\": \"Mr and Mrs\",\n \"nameType\": \"Primary\",\n \"email\": \"{{$randomEmail}}\",\n \"phoneNumber\": \"{{$randomPhoneNumber}}\",\n \"address\": {\n \"addressLine\": [\n \"{{$randomStreetAddress}}\"\n ],\n \"cityName\": \"{{$randomCity}}\",\n \"postalCode\": \"90000\",\n \"country\": {\n \"code\": \"US\"\n },\n \"state\": \"CA\"\n }\n }\n ],\n \"language\": \"en-us\"\n },\n \"profileType\": \"Guest\"\n }\n },\n \"primary\": true\n }\n ],\n \"reservationPaymentMethods\": [\n {\n \"paymentMethod\": \"5\",\n \"folioView\": \"1\",\n \"paymentCard\": {\n \"cardType\": \"AX\",\n \"cardNumber\": \"371449635398431\",\n \"expirationDate\": \"06/29\",\n \"cardHolderName\": \"SomeChannel VirtualCard\"\n }\n }\n ],\n \"reservationMemberships\": [\n {\n \"membershipLevel\": \"ENTRY\",\n \"membershipId\": \"O137446L\",\n \"membershipType\": \"MICROS\"\n }\n ],\n \"hotelCode\": \"{{HotelCode1}}\",\n \"messageId\": \"{{$randomUUID}}\",\n \"comments\": [\n {\n \"comment\": {\n \"text\": {\n \"value\": \"Channel Text note\\n1 king bed\\nNon-Smoking\\nBill guest full stay\"\n },\n \"commentTitle\": \"Notes from channel\",\n \"notificationLocation\": \"RESERVATION\",\n \"type\": \"GEN\",\n \"internal\": true,\n \"confidential\": false,\n \"overrideInternal\": false\n }\n }\n ]\n }\n ]\n}"
+ "raw": "{\n \"reservations\": [\n {\n \"reservationIdList\": [\n {\n \"id\": \"{{ConfirmationNum}}\",\n \"type\": \"Confirmation\",\n \"idContext\": \"Central\",\n \"idExtension\": \"1\"\n }\n ],\n \"hotelCode\": \"{{HotelCode1}}\",\n \"reservationStatus\": \"Ignore\",\n \"lastModifyDateTime\": \"2020-09-17T19:21:00.0Z\",\n \"messageId\": \"{{$randomUUID}}\"\n }\n ]\n}"
},
"url": {
- "raw": "{{HostName}}/book/v0/hotels/{{HotelCode1}}/reservations",
+ "raw": "{{HostName}}/book/v0/hotels/{{HotelCode1}}/reservations/{{ConfirmationNum}}/status",
"host": [
"{{HostName}}"
],
@@ -3427,15 +5686,41 @@
"v0",
"hotels",
"{{HotelCode1}}",
- "reservations"
+ "reservations",
+ "{{ConfirmationNum}}",
+ "status"
]
- },
- "description": "Sample wiht a single night with guest CC on folio 1"
+ }
},
"response": []
+ }
+ ],
+ "event": [
+ {
+ "listen": "prerequest",
+ "script": {
+ "type": "text/javascript",
+ "exec": [
+ ""
+ ]
+ }
},
{
- "name": "post Reservation -> with Transport Information",
+ "listen": "test",
+ "script": {
+ "type": "text/javascript",
+ "exec": [
+ ""
+ ]
+ }
+ }
+ ]
+ },
+ {
+ "name": "Distribution Reservation Notification (RESNOTIF)",
+ "item": [
+ {
+ "name": "post Reservation Notif (v0)",
"event": [
{
"listen": "test",
@@ -3461,7 +5746,6 @@
"method": "POST",
"header": [
{
- "warning": "This is a duplicate header and will be overridden by the Authorization header generated by Postman.",
"key": "Authorization",
"value": "Bearer {{Token}}",
"type": "text"
@@ -3473,44 +5757,38 @@
},
{
"key": "x-channelCode",
- "value": "{{channelCode}}",
+ "value": "{{ResNotifChannelCode}}",
"type": "text"
},
{
"key": "x-app-key",
"value": "{{AppKey}}",
"type": "text"
- },
- {
- "key": "x-hdp-tracing-key",
- "value": "{{$guid}}",
- "type": "text",
- "disabled": true
}
],
"body": {
"mode": "raw",
- "raw": "{\n \"reservations\": [\n {\n \"roomStay\": {\n \"arrivalDate\": \"{{currentdateplus10}}\",\n \"departureDate\": \"{{currentdateplus11}}\",\n \"roomRates\": [\n {\n \"guestCounts\": {\n \"adults\": 1,\n \"children\": 1,\n \"childAges\": [\n 4\n ]\n },\n \"roomType\": \"{{RoomTypeCode}}\",\n \"ratePlanCode\": \"{{RatePlanCode}}\",\n \"numberOfUnits\": 1,\n \"start\": \"{{currentdateplus10}}\",\n \"end\": \"{{currentdateplus10}}\"\n }\n ],\n \"guarantee\": {\n \"guaranteeCode\": \"5\" \n },\n \"printRate\": true\n },\n \"reservationGuests\": [\n {\n \"profileInfo\": {\n \"profile\": {\n \"customer\": {\n \"personName\": [\n {\n \"surname\": \"{{$randomLastName}}\",\n \"givenName\": \"{{$randomFirstName}}\",\n \"nameTitle\": \"Mr and Mrs\",\n \"nameType\": \"Primary\",\n \"email\": \"{{$randomEmail}}\",\n \"phoneNumber\": \"{{$randomPhoneNumber}}\",\n \"address\": {\n \"addressLine\": [\n \"{{$randomStreetAddress}}\"\n ],\n \"cityName\": \"{{$randomCity}}\",\n \"postalCode\": \"CAA-90017\",\n \"country\": {\n \"code\": \"US\"\n },\n \"state\": \"CA\"\n }\n }\n ],\n \"language\": \"en-us\"\n },\n \"profileType\": \"Guest\"\n }\n },\n \"arrivalTransport\": {\n \"comments\": \"Arrival by flight\",\n \"type\": \"AIR\",\n \"transportCode\": \"123\",\n \"carrierCode\": \"AI\",\n \"stationCode\": \"BLR\",\n \"dateTime\": \"{{currentdateplus10}}T19:21:00.000Z\",\n \"transportationReqd\": true\n },\n \"departureTransport\": {\n \"comments\": \"Departure by flight\",\n \"type\": \"AIR\",\n \"transportCode\": \"123\",\n \"carrierCode\": \"AI\",\n \"stationCode\": \"BLR\",\n \"dateTime\": \"{{currentdateplus11}}T19:21:00.000Z\",\n \"transportationReqd\": true\n },\n \"primary\": true\n }\n ],\n \"reservationPaymentMethods\": [\n {\n \"paymentMethod\": \"5\",\n \"folioView\": \"1\",\n \"paymentCard\": {\n \"cardType\": \"AX\",\n \"cardNumber\": \"311111111111111\",\n \"expirationDate\": \"06/29\",\n \"cardHolderName\": \"SomeChannel VirtualCard\"\n }\n }\n ],\n \"hotelCode\": \"{{HotelCode1}}\",\n \"messageId\": \"{{$randomUUID}}\",\n \"comments\": [\n {\n \"comment\": {\n \"text\": {\n \"value\": \"Channel Text note\\n1 king bed\\nNon-Smoking\\nBill guest full stay\"\n },\n \"commentTitle\": \"Notes from channel\",\n \"notificationLocation\": \"RESERVATION\",\n \"type\": \"GEN\",\n \"internal\": true,\n \"confidential\": false,\n \"overrideInternal\": false\n }\n }\n ]\n }\n ]\n}"
+ "raw": "{\n \"reservations\": [\n {\n \"reservationIdList\": [\n {\n \"id\": \"{{$timestamp}}-{{channelCode}}\",\n \"idExtension\": \"1\"\n }\n ],\n \n \"roomStay\": {\n \"arrivalDate\": \"{{currentdateplus1}}\",\n \"departureDate\": \"{{currentdateplus2}}\",\n \"roomRates\": [\n {\n \"rates\": {\n \"rate\": [\n {\n \"base\": {\n \"amountBeforeTax\": 211,\n \"currencyCode\": \"{{currencyCode}}\"\n },\n \"start\": \"{{currentdateplus1}}\",\n \"end\": \"{{currentdateplus1}}\"\n }\n ]\n },\n \"guestCounts\": {\n \n \"adults\": 2 \n },\n \"roomType\": \"{{RoomTypeCode}}\",\n \"ratePlanCode\": \"{{RatePlanCode}}\",\n \"numberOfUnits\": 1,\n \"start\": \"{{currentdateplus1}}\",\n \"end\": \"{{currentdateplus1}}\"\n }\n ],\n \"total\": {\n \"amountAfterTax\": 211,\n \"amountBeforeTax\": 209.90,\n \"currencyCode\": \"{{currencyCode}}\"\n },\n \"guarantee\": {\n \"guaranteeType\": \"5\"\n },\n \"printRate\": false\n },\n \"reservationGuests\": [\n {\n \"profileInfo\": {\n \"profile\": {\n \"customer\": {\n \"personName\": [\n {\n \"surname\": \"{{$randomLastName}}\",\n \"givenName\": \"{{$randomFirstName}}\",\n \"nameTitle\": \"Mr and Mrs\",\n \"nameType\": \"Primary\",\n \"email\": \"{{$randomEmail}}\",\n \"phoneNumber\": \"{{$randomPhoneNumber}}\",\n \"address\": {\n \"addressLine\": [\n \"{{$randomStreetAddress}}\"\n ],\n \"cityName\": \"{{$randomCity}}\",\n \"postalCode\": \"AS 111\",\n \"country\": {\n \"code\": \"{{$randomCountryCode}}\"\n },\n \"state\": \"UT\"\n }\n }\n ],\n \"language\": \"en-us\"\n },\n \"profileType\": \"Guest\"\n }\n },\n \"primary\": true\n } \n ],\n \"reservationPaymentMethods\": [\n {\n \"paymentMethod\": \"5\",\n \"folioView\": \"1\",\n \"paymentCard\": {\n \"cardType\": \"AX\",\n \"cardNumber\": \"371449635398431\",\n \"expirationDate\": \"06/25\",\n \"cardHolderName\": \"SomeChannel VirtualCard\"\n }\n }\n ],\n \"hotelCode\": \"{{HotelCode}}\",\n \"messageId\": \"{{$randomUUID}}\",\n \"comments\": [\n {\n \"comment\": {\n \"text\": {\n \"value\": \"Channel Text note\\n1 king bed\\nNon-Smoking\\nBill guest full stay\"\n },\n \"commentTitle\": \"Notes from Channel\",\n \"notificationLocation\": \"RESERVATION\",\n \"type\": \"GEN\",\n \"internal\": true,\n \"confidential\": false,\n \"overrideInternal\": false\n }\n }\n ],\n \"printRate\": true,\n \"optedForCommunication\": true\n }\n ]\n}"
},
"url": {
- "raw": "{{HostName}}/book/v0/hotels/{{HotelCode1}}/reservations",
+ "raw": "{{HostName}}/resnotif/v0/hotels/{{HotelCode}}/reservations",
"host": [
"{{HostName}}"
],
"path": [
- "book",
+ "resnotif",
"v0",
"hotels",
- "{{HotelCode1}}",
+ "{{HotelCode}}",
"reservations"
]
},
- "description": "Sample wiht a single night with guest CC on folio 1"
+ "description": "Sample with a single night, with guest CC on folio 1"
},
"response": []
},
{
- "name": "post Reservation -> with Travel Agent, Company and Source",
+ "name": "post Reservation Notif (v0) -> with Accompanying Guest",
"event": [
{
"listen": "test",
@@ -3537,55 +5815,48 @@
"header": [
{
"key": "Authorization",
- "type": "text",
"value": "Bearer {{Token}}",
- "warning": "This is a duplicate header and will be overridden by the Authorization header generated by Postman."
+ "type": "text"
},
{
"key": "Content-Type",
- "type": "text",
- "value": "application/json; charset=utf-8"
+ "value": "application/json; charset=utf-8",
+ "type": "text"
},
{
"key": "x-channelCode",
- "type": "text",
- "value": "{{channelCode}}"
+ "value": "{{ResNotifChannelCode}}",
+ "type": "text"
},
{
"key": "x-app-key",
- "type": "text",
- "value": "{{AppKey}}"
- },
- {
- "key": "x-hdp-tracing-key",
- "type": "text",
- "value": "{{$guid}}",
- "disabled": true
+ "value": "{{AppKey}}",
+ "type": "text"
}
],
"body": {
"mode": "raw",
- "raw": "{\n \"reservations\": [\n {\n \"roomStay\": {\n \"arrivalDate\": \"{{currentdateplus10}}\",\n \"departureDate\": \"{{currentdateplus11}}\",\n \"roomRates\": [\n {\n \"rates\": {\n \"rate\": [\n {\n \"base\": {\n \"amountBeforeTax\": 200,\n \"currencyCode\": \"USD\"\n },\n \"start\": \"{{currentdateplus10}}\",\n \"end\": \"{{currentdateplus10}}\"\n }\n ]\n },\n \"guestCounts\": {\n \"adults\": 1,\n \"children\": 1,\n \"childAges\": [\n 4\n ]\n },\n \"roomType\": \"{{RoomTypeCode}}\",\n \"ratePlanCode\": \"{{RatePlanCode}}\",\n \"numberOfUnits\": 1,\n \"start\": \"{{currentdateplus10}}\",\n \"end\": \"{{currentdateplus10}}\"\n }\n ],\n \"total\": {\n \"amountAfterTax\": 200,\n \"amountBeforeTax\": 20.09,\n \"currencyCode\": \"{{currencyCode}}\"\n },\n \"guarantee\": {\n \"guaranteeCode\": \"GX\"\n },\n \"printRate\": false\n },\n \"reservationGuests\": [\n {\n \"profileInfo\": {\n \"profile\": {\n \"customer\": {\n \"personName\": [\n {\n \"surname\": \"{{$randomLastName}}\",\n \"givenName\": \"{{$randomFirstName}}\",\n \"nameTitle\": \"Mr and Mrs\",\n \"nameType\": \"Primary\",\n \"email\": \"{{$randomEmail}}\",\n \"phoneNumber\": \"{{$randomPhoneNumber}}\",\n \"address\": {\n \"addressLine\": [\n \"{{$randomStreetAddress}}\"\n ],\n \"cityName\": \"{{$randomCity}}\",\n \"postalCode\": \"CAA-90017\",\n \"country\": {\n \"code\": \"US\"\n },\n \"state\": \"CA\"\n }\n }\n ],\n \"language\": \"en-us\"\n },\n \"profileType\": \"Guest\"\n }\n },\n \"primary\": true\n },\n {\n \"profileInfo\": {\n \"profileIdList\": [\n {\n \"id\": \"12345671\",\n \"type\": \"TravelAgent\"\n }\n ],\n \"profile\": {\n \"profileType\": \"TravelAgent\",\n \"companyInfo\": {\n \"companyName\": \"Smith Travel\"\n }\n }\n }\n },\n {\n \"profileInfo\": {\n \"profileIdList\": [\n {\n \"id\": \"12345672\",\n \"type\": \"Source\"\n }\n ],\n \"profile\": {\n \"profileType\": \"Source\",\n \"companyInfo\": {\n \"companyName\": \"Smith Travel POS\"\n }\n }\n }\n },\n {\n \"profileInfo\": {\n \"profileIdList\": [\n {\n \"id\": \"ORACLE\",\n \"idContext\": \"Central\",\n \"type\": \"Company\"\n }\n ],\n \"profile\": {\n \"profileType\": \"Company\",\n \"companyInfo\": {\n \"companyName\": \"Oracle Corporation\"\n },\n \"primary\": true\n }\n }\n }\n ],\n \"reservationPaymentMethods\": [\n {\n \"paymentMethod\": \"5\",\n \"folioView\": \"1\",\n \"paymentCard\": {\n \"cardType\": \"AX\",\n \"cardNumber\": \"371449635398431\",\n \"expirationDate\": \"06/25\",\n \"cardHolderName\": \"SomeChannel VirtualCard\"\n }\n }\n ],\n \"hotelCode\": \"{{HotelCode1}}\",\n \"messageId\": \"{{$randomUUID}}\",\n \"comments\": [\n {\n \"comment\": {\n \"text\": {\n \"value\": \"Channel Text note\\n1 king bed\\nNon-Smoking\\nBill guest full stay\"\n },\n \"commentTitle\": \"Notes from Channel\",\n \"notificationLocation\": \"RESERVATION\",\n \"type\": \"GEN\",\n \"internal\": true,\n \"confidential\": false,\n \"overrideInternal\": false\n }\n }\n ],\n \"optedForCommunication\": false\n }\n ]\n}"
+ "raw": "{\n \"reservations\": [\n {\n \"reservationIdList\": [\n {\n \"id\": \"{{$timestamp}}-{{channelCode}}\",\n \"idExtension\": \"1\"\n }\n ],\n \"roomStay\": {\n \"arrivalDate\": \"{{currentdateplus1}}\",\n \"departureDate\": \"{{currentdateplus2}}\",\n \"roomRates\": [\n {\n \"rates\": {\n \"rate\": [\n {\n \"base\": {\n \"amountBeforeTax\": 211,\n \"currencyCode\": \"{{currencyCode}}\"\n },\n \"start\": \"{{currentdateplus1}}\",\n \"end\": \"{{currentdateplus1}}\"\n }\n ]\n },\n \"guestCounts\": {\n \"adults\": 2\n },\n \"roomType\": \"{{RoomTypeCode}}\",\n \"ratePlanCode\": \"{{RatePlanCode}}\",\n \"numberOfUnits\": 1,\n \"start\": \"{{currentdateplus1}}\",\n \"end\": \"{{currentdateplus1}}\"\n }\n ],\n \"total\": {\n \"amountAfterTax\": 211,\n \"amountBeforeTax\": 209.90,\n \"currencyCode\": \"{{currencyCode}}\"\n },\n \"guarantee\": {\n \"guaranteeType\": \"5\"\n },\n \"printRate\": false\n },\n \"reservationGuests\": [\n {\n \"profileInfo\": {\n \"profile\": {\n \"customer\": {\n \"personName\": [\n {\n \"surname\": \"{{$randomLastName}}\",\n \"givenName\": \"{{$randomFirstName}}\",\n \"nameTitle\": \"Mr and Mrs\",\n \"nameType\": \"Primary\",\n \"email\": \"{{$randomEmail}}\",\n \"phoneNumber\": \"{{$randomPhoneNumber}}\",\n \"address\": {\n \"addressLine\": [\n \"{{$randomStreetAddress}}\"\n ],\n \"cityName\": \"{{$randomCity}}\",\n \"postalCode\": \"AS 111\",\n \"country\": {\n \"code\": \"{{$randomCountryCode}}\"\n },\n \"state\": \"UT\"\n }\n }\n ],\n \"language\": \"en-us\"\n },\n \"profileType\": \"Guest\"\n }\n },\n \"primary\": true\n },\n {\n \"profileInfo\": {\n \"profile\": {\n \"customer\": {\n \"personName\": [\n {\n \"surname\": \"Accompanying\",\n \"givenName\": \"John\",\n \"nameTitle\": \"Mr and Mrs\",\n \"nameType\": \"Primary\",\n \"email\": \"{{$randomEmail}}\",\n \"phoneNumber\": \"{{$randomPhoneNumber}}\",\n \"address\": {\n \"addressLine\": [\n \"{{$randomStreetAddress}}\"\n ],\n \"cityName\": \"{{$randomCity}}\",\n \"postalCode\": \"AS 111\",\n \"country\": {\n \"code\": \"{{$randomCountryCode}}\"\n },\n \"state\": \"UT\"\n }\n }\n ],\n \"language\": \"en-us\"\n },\n \"profileType\": \"Guest\"\n }\n },\n \"primary\": false\n }\n ],\n \"reservationPaymentMethods\": [\n {\n \"paymentMethod\": \"5\",\n \"folioView\": \"1\",\n \"paymentCard\": {\n \"cardType\": \"AX\",\n \"cardNumber\": \"371449635398431\",\n \"expirationDate\": \"06/25\",\n \"cardHolderName\": \"SomeChannel VirtualCard\"\n }\n }\n ],\n \"hotelCode\": \"{{HotelCode}}\",\n \"messageId\": \"{{$randomUUID}}\",\n \"comments\": [\n {\n \"comment\": {\n \"text\": {\n \"value\": \"Channel Text note\\n1 king bed\\nNon-Smoking\\nBill guest full stay\"\n },\n \"commentTitle\": \"Notes from Channel\",\n \"notificationLocation\": \"RESERVATION\",\n \"type\": \"GEN\",\n \"internal\": true,\n \"confidential\": false,\n \"overrideInternal\": false\n }\n }\n ],\n \"printRate\": true,\n \"optedForCommunication\": true\n }\n ]\n}"
},
"url": {
- "raw": "{{HostName}}/book/v0/hotels/{{HotelCode}}/reservations",
+ "raw": "{{HostName}}/resnotif/v0/hotels/{{HotelCode}}/reservations",
"host": [
"{{HostName}}"
],
"path": [
- "book",
+ "resnotif",
"v0",
"hotels",
"{{HotelCode}}",
"reservations"
]
},
- "description": "Sample wiht a single night with guest CC on folio 1"
+ "description": "Sample with a single night, with guest CC on folio 1"
},
"response": []
},
{
- "name": "put Reservation",
+ "name": "post Reservation Notif (v0) -> with Children",
"event": [
{
"listen": "test",
@@ -3608,7 +5879,7 @@
}
]
},
- "method": "PUT",
+ "method": "POST",
"header": [
{
"key": "Authorization",
@@ -3622,7 +5893,7 @@
},
{
"key": "x-channelCode",
- "value": "{{channelCode}}",
+ "value": "{{ResNotifChannelCode}}",
"type": "text"
},
{
@@ -3633,28 +5904,27 @@
],
"body": {
"mode": "raw",
- "raw": "{\n \"reservations\": [\n {\n \"reservationIdList\": [\n {\n \"id\": \"{{ConfirmationNum}}\",\n \"type\": \"Confirmation\",\n \"idContext\": \"Central\",\n \"idExtension\": \"1\"\n }\n ],\n \"roomStay\": {\n \"arrivalDate\": \"{{currentdateplus1}}\",\n \"departureDate\": \"{{currentdateplus3}}\",\n \"roomRates\": [\n {\n \"guestCounts\": {\n \"adults\": 2\n },\n \"roomType\": \"{{RoomTypeCode}}\",\n \"ratePlanCode\": \"{{RatePlanCode}}\",\n \"numberOfUnits\": 1,\n \"start\": \"{{currentdateplus1}}\",\n \"end\": \"{{currentdateplus2}}\"\n }\n ],\n \"guarantee\": {\n \"guaranteeCode\": \"GX\"\n },\n \"printRate\": true\n },\n \"reservationGuests\": [\n {\n \"profileInfo\": {\n \"profile\": {\n \"customer\": {\n \"personName\": [\n {\n \"surname\": \"{{$randomLastName}}\",\n \"givenName\": \"{{$randomFirstName}}\",\n \"nameTitle\": \"Mr and Mrs\",\n \"nameType\": \"Primary\",\n \"email\": \"{{$randomEmail}}\",\n \"phoneNumber\": \"{{$randomPhoneNumber}}\",\n \"address\": {\n \"addressLine\": [\n \"{{$randomStreetAddress}}\"\n ],\n \"cityName\": \"{{$randomCity}}\",\n \"postalCode\": \"CAA-90017\",\n \"country\": {\n \"code\": \"US\"\n },\n \"state\": \"CA\"\n }\n }\n ],\n \"language\": \"en-us\"\n },\n \"profileType\": \"Guest\"\n }\n },\n \"primary\": true\n }\n ],\n \"reservationPaymentMethods\": [\n {\n \"paymentMethod\": \"5\",\n \"folioView\": \"1\",\n \"paymentCard\": {\n \"cardType\": \"VA\",\n \"cardNumber\": \"4444333322221111\",\n \"expirationDate\": \"06/25\",\n \"cardHolderName\": \"Card Holder Name\"\n }\n }\n ],\n \"hotelCode\": \"{{HotelCode1}}\",\n \"messageId\": \"{{$randomUUID}}\",\n \"comments\": [\n {\n \"comment\": {\n \"text\": {\n \"value\": \"Channel Text note\\n1 king bed\\nNon-Smoking\\nBill guest full stay\"\n },\n \"commentTitle\": \"Notes from channel\",\n \"notificationLocation\": \"RESERVATION\",\n \"type\": \"GEN\",\n \"internal\": true,\n \"confidential\": false,\n \"overrideInternal\": false\n }\n }\n ]\n }\n ]\n}"
+ "raw": "{\n \"reservations\": [\n {\n \"reservationIdList\": [\n {\n \"id\": \"{{$timestamp}}-{{channelCode}}\",\n \"idExtension\": \"1\"\n }\n ],\n \"roomStay\": {\n \"arrivalDate\": \"{{currentdateplus1}}\",\n \"departureDate\": \"{{currentdateplus2}}\",\n \"roomRates\": [\n {\n \"rates\": {\n \"rate\": [\n {\n \"base\": {\n \"amountBeforeTax\": 244,\n \"currencyCode\": \"{{currencyCode}}\"\n },\n \"start\": \"{{currentdateplus1}}\",\n \"end\": \"{{currentdateplus1}}\"\n }\n ]\n },\n \"guestCounts\": {\n \"childAges\": [\n 4,\n 9,\n 17\n ],\n \"adults\": 2,\n \"children\": 3\n },\n \"roomType\": \"{{RoomTypeCode}}\",\n \"ratePlanCode\": \"{{RatePlanCode}}\",\n \"numberOfUnits\": 1,\n \"start\": \"{{currentdateplus1}}\",\n \"end\": \"{{currentdateplus1}}\"\n }\n ],\n \"total\": {\n \"amountAfterTax\": 244,\n \"amountBeforeTax\": 200.09,\n \"currencyCode\": \"{{currencyCode}}\"\n },\n \"guarantee\": {\n \"guaranteeType\": \"5\"\n },\n \"printRate\": false\n },\n \"reservationGuests\": [\n {\n \"profileInfo\": {\n \"profile\": {\n \"customer\": {\n \"personName\": [\n {\n \"surname\": \"{{$randomLastName}}\",\n \"givenName\": \"{{$randomFirstName}}\",\n \"nameTitle\": \"Mr and Mrs\",\n \"nameType\": \"Primary\",\n \"email\": \"{{$randomEmail}}\",\n \"phoneNumber\": \"{{$randomPhoneNumber}}\",\n \"address\": {\n \"addressLine\": [\n \"{{$randomStreetAddress}}\"\n ],\n \"cityName\": \"{{$randomCity}}\",\n \"postalCode\": \"AS 111\",\n \"country\": {\n \"code\": \"{{$randomCountryCode}}\"\n },\n \"state\": \"UT\"\n }\n }\n ],\n \"language\": \"en-us\"\n },\n \"profileType\": \"Guest\"\n }\n },\n \"primary\": true\n }\n ],\n \"reservationPaymentMethods\": [\n {\n \"paymentMethod\": \"5\",\n \"folioView\": \"1\",\n \"paymentCard\": {\n \"cardType\": \"AX\",\n \"cardNumber\": \"371449635398431\",\n \"expirationDate\": \"06/25\",\n \"cardHolderName\": \"SomeChannel VirtualCard\"\n }\n }\n ],\n \"hotelCode\": \"{{HotelCode}}\",\n \"messageId\": \"{{$randomUUID}}\",\n \"comments\": [\n {\n \"comment\": {\n \"text\": {\n \"value\": \"Channel Text note\\n1 king bed\\nNon-Smoking\\nBill guest full stay\"\n },\n \"commentTitle\": \"Notes from Channel\",\n \"notificationLocation\": \"RESERVATION\",\n \"type\": \"GEN\",\n \"internal\": true,\n \"confidential\": false,\n \"overrideInternal\": false\n }\n }\n ],\n \"printRate\": true,\n \"optedForCommunication\": false\n }\n ]\n}"
},
"url": {
- "raw": "{{HostName}}/book/v0/hotels/{{HotelCode}}/reservations/{{ConfirmationNum}}",
+ "raw": "{{HostName}}/resnotif/v0/hotels/{{HotelCode}}/reservations",
"host": [
"{{HostName}}"
],
"path": [
- "book",
+ "resnotif",
"v0",
"hotels",
"{{HotelCode}}",
- "reservations",
- "{{ConfirmationNum}}"
+ "reservations"
]
},
- "description": "Sample message to modify to 2 nights, with rate changes.\r\nModify Reservation full overlay"
+ "description": "Sample with a single night, with guest CC on folio 1"
},
"response": []
},
{
- "name": "post Cancel Reservation",
+ "name": "post Reservation Notif (v0) -> with Company",
"event": [
{
"listen": "test",
@@ -3691,7 +5961,7 @@
},
{
"key": "x-channelCode",
- "value": "{{channelCode}}",
+ "value": "{{ResNotifChannelCode}}",
"type": "text"
},
{
@@ -3702,28 +5972,27 @@
],
"body": {
"mode": "raw",
- "raw": "{\n \"reservations\": [\n {\n \"reservationIdList\": [\n {\n \"id\": \"{{ConfirmationNum}}\",\n \"type\": \"Confirmation\",\n \"idContext\": \"Central\",\n \"idExtension\": \"1\"\n }\n ],\n \"hotelCode\": \"{{HotelCode1}}\",\n \"messageId\": \"{{$randomUUID}}\"\n }\n ]\n}"
+ "raw": "{\n \"reservations\": [\n {\n \"reservationIdList\": [\n {\n \"id\": \"{{$timestamp}}-{{channelCode}}\",\n \"idExtension\": \"1\"\n }\n ],\n \"roomStay\": {\n \"arrivalDate\": \"{{currentdateplus1}}\",\n \"departureDate\": \"{{currentdateplus2}}\",\n \"roomRates\": [\n {\n \"rates\": {\n \"rate\": [\n {\n \"base\": {\n \"amountBeforeTax\": 200,\n \"currencyCode\": \"{{currencyCode}}\"\n },\n \"start\": \"{{currentdateplus1}}\",\n \"end\": \"{{currentdateplus1}}\"\n }\n ]\n },\n \"guestCounts\": {\n \"childAges\": [\n 4,\n 9,\n 17\n ],\n \"adults\": 2,\n \"children\": 3\n },\n \"roomType\": \"{{RoomTypeCode}}\",\n \"ratePlanCode\": \"{{RatePlanCode}}\",\n \"numberOfUnits\": 1,\n \"start\": \"{{currentdateplus1}}\",\n \"end\": \"{{currentdateplus1}}\"\n }\n ],\n \"total\": {\n \"amountAfterTax\": 200,\n \"amountBeforeTax\": 20.09,\n \"currencyCode\": \"{{currencyCode}}\"\n },\n \"guarantee\": {\n \"guaranteeType\": \"5\"\n },\n \"printRate\": false\n },\n \"reservationGuests\": [\n {\n \"profileInfo\": {\n \"profile\": {\n \"customer\": {\n \"personName\": [\n {\n \"surname\": \"{{$randomLastName}}\",\n \"givenName\": \"{{$randomFirstName}}\",\n \"nameTitle\": \"Mr and Mrs\",\n \"nameType\": \"Primary\",\n \"email\": \"{{$randomEmail}}\",\n \"phoneNumber\": \"{{$randomPhoneNumber}}\",\n \"address\": {\n \"addressLine\": [\n \"{{$randomStreetAddress}}\"\n ],\n \"cityName\": \"{{$randomCity}}\",\n \"postalCode\": \"AS 111\",\n \"country\": {\n \"code\": \"{{$randomCountryCode}}\"\n },\n \"state\": \"UT\"\n }\n }\n ],\n \"language\": \"en-us\"\n },\n \"profileType\": \"Guest\"\n }\n },\n \"primary\": true\n },\n {\n \"profileInfo\": {\n \"profileIdList\": [\n {\n \"id\": \"ORACLE\",\n \"type\": \"Company\"\n }\n ],\n \"profile\": {\n \"profileType\": \"Company\",\n \"companyInfo\": {\n \"companyName\": \"Oracle Corporation\"\n }\n }\n }\n }\n ],\n \"reservationPaymentMethods\": [\n {\n \"paymentMethod\": \"5\",\n \"folioView\": \"1\",\n \"paymentCard\": {\n \"cardType\": \"AX\",\n \"cardNumber\": \"371449635398431\",\n \"expirationDate\": \"06/25\",\n \"cardHolderName\": \"SomeChannel VirtualCard\"\n }\n }\n ],\n \"hotelCode\": \"{{HotelCode}}\",\n \"messageId\": \"{{$randomUUID}}\",\n \"comments\": [\n {\n \"comment\": {\n \"text\": {\n \"value\": \"Channel Text note\\n1 king bed\\nNon-Smoking\\nBill guest full stay\"\n },\n \"commentTitle\": \"Notes from Channel\",\n \"notificationLocation\": \"RESERVATION\",\n \"type\": \"GEN\",\n \"internal\": true,\n \"confidential\": false,\n \"overrideInternal\": false\n }\n }\n ],\n \"printRate\": true,\n \"optedForCommunication\": false\n }\n ]\n}"
},
"url": {
- "raw": "{{HostName}}/book/v0/hotels/{{HotelCode}}/reservations/{{ConfirmationNum}}/cancellations",
+ "raw": "{{HostName}}/resnotif/v0/hotels/{{HotelCode}}/reservations",
"host": [
"{{HostName}}"
],
"path": [
- "book",
+ "resnotif",
"v0",
"hotels",
"{{HotelCode}}",
- "reservations",
- "{{ConfirmationNum}}",
- "cancellations"
+ "reservations"
]
- }
+ },
+ "description": "Sample with a single night, with guest CC on folio 1"
},
"response": []
},
{
- "name": "post Reservation -> Create on Hold",
+ "name": "post Reservation Notif (v0) -> with Travel Agent and Source Profiles",
"event": [
{
"listen": "test",
@@ -3760,7 +6029,7 @@
},
{
"key": "x-channelCode",
- "value": "{{channelCode}}",
+ "value": "{{ResNotifChannelCode}}",
"type": "text"
},
{
@@ -3771,27 +6040,27 @@
],
"body": {
"mode": "raw",
- "raw": "{\n \"reservations\": [\n {\n \"roomStay\": {\n \"arrivalDate\": \"{{currentdateplus10}}\",\n \"departureDate\": \"{{currentdateplus11}}\",\n \"roomRates\": [\n {\n \"guestCounts\": {\n \"adults\": 1,\n \"children\": 1,\n \"childAges\": [\n 4\n ]\n },\n \"roomType\": \"{{RoomTypeCode}}\",\n \"ratePlanCode\": \"{{RatePlanCode}}\",\n \"numberOfUnits\": 1,\n \"start\": \"{{currentdateplus10}}\",\n \"end\": \"{{currentdateplus10}}\"\n }\n ],\n \"guarantee\": {\n \"guaranteeCode\": \"GX\"\n },\n \"printRate\": true\n },\n \"reservationGuests\": [\n {\n \"profileInfo\": {\n \"profile\": {\n \"customer\": {\n \"personName\": [\n {\n \"surname\": \"{{$randomLastName}}\",\n \"givenName\": \"{{$randomFirstName}}\",\n \"nameTitle\": \"Mr and Mrs\",\n \"nameType\": \"Primary\",\n \"email\": \"{{$randomEmail}}\",\n \"phoneNumber\": \"{{$randomPhoneNumber}}\",\n \"address\": {\n \"addressLine\": [\n \"{{$randomStreetAddress}}\"\n ],\n \"cityName\": \"{{$randomCity}}\",\n \"postalCode\": \"CAA-90017\",\n \"country\": {\n \"code\": \"US\"\n },\n \"state\": \"CA\"\n }\n }\n ],\n \"language\": \"en-us\"\n },\n \"profileType\": \"Guest\"\n }\n },\n \"primary\": true\n }\n ],\n \"reservationPaymentMethods\": [\n {\n \"paymentMethod\": \"5\",\n \"folioView\": \"1\",\n \"paymentCard\": {\n \"cardType\": \"AX\",\n \"cardNumber\": \"371449635398431\",\n \"expirationDate\": \"06/25\",\n \"cardHolderName\": \"SomeChannel VirtualCard\"\n }\n }\n ],\n \"hotelCode\": \"{{HotelCode1}}\",\n \"messageId\": \"{{$randomUUID}}\",\n \"comments\": [\n {\n \"comment\": {\n \"text\": {\n \"value\": \"Channel Text note\\n1 king bed\\nNon-Smoking\\nBill guest full stay\"\n },\n \"commentTitle\": \"Notes from channel\",\n \"notificationLocation\": \"RESERVATION\",\n \"type\": \"GEN\",\n \"internal\": true,\n \"confidential\": false,\n \"overrideInternal\": false\n }\n }\n ],\n \"isSessionRequest\": true\n }\n ]\n}\n \n "
+ "raw": "{\n \"reservations\": [\n {\n \"reservationIdList\": [\n {\n \"id\": \"{{$timestamp}}-{{channelCode}}\",\n \"idExtension\": \"1\"\n }\n ],\n \n \"roomStay\": {\n \"arrivalDate\": \"{{currentdateplus1}}\",\n \"departureDate\": \"{{currentdateplus2}}\",\n \"roomRates\": [\n {\n \"rates\": {\n \"rate\": [\n {\n \"base\": {\n \"amountBeforeTax\": 200,\n \"currencyCode\": \"{{currencyCode}}\"\n },\n \"start\": \"{{currentdateplus1}}\",\n \"end\": \"{{currentdateplus1}}\"\n }\n ]\n },\n \"guestCounts\": {\n \"childAges\": [\n 4,\n 9,\n 17\n ],\n \"adults\": 2,\n \"children\": 3\n },\n \"roomType\": \"{{RoomTypeCode}}\",\n \"ratePlanCode\": \"{{RatePlanCode}}\",\n \"numberOfUnits\": 1,\n \"start\": \"{{currentdateplus1}}\",\n \"end\": \"{{currentdateplus1}}\"\n }\n ],\n \"total\": {\n \"amountAfterTax\": 200,\n \"amountBeforeTax\": 20.09,\n \"currencyCode\": \"{{currencyCode}}\"\n },\n \"guarantee\": {\n \"guaranteeType\": \"5\"\n },\n \"printRate\": false\n },\n \"reservationGuests\": [\n {\n \"profileInfo\": {\n \"profile\": {\n \"customer\": {\n \"personName\": [\n {\n \"surname\": \"{{$randomLastName}}\",\n \"givenName\": \"{{$randomFirstName}}\",\n \"nameTitle\": \"Mr and Mrs\",\n \"nameType\": \"Primary\",\n \"email\": \"{{$randomEmail}}\",\n \"phoneNumber\": \"{{$randomPhoneNumber}}\",\n \"address\": {\n \"addressLine\": [\n \"{{$randomStreetAddress}}\"\n ],\n \"cityName\": \"{{$randomCity}}\",\n \"postalCode\": \"AS 111\",\n \"country\": {\n \"code\": \"{{$randomCountryCode}}\"\n },\n \"state\": \"UT\"\n }\n }\n ],\n \"language\": \"en-us\"\n },\n \"profileType\": \"Guest\"\n }\n },\n \"primary\": true\n },\n {\n \"profileInfo\": {\n \"profileIdList\": [\n {\n \"id\": \"12345671\",\n \"type\": \"TravelAgent\"\n }\n ],\n \"profile\": {\n \"profileType\": \"TravelAgent\",\n \"companyInfo\": {\n \"companyName\": \"Smith Travel\"\n }\n }\n }\n },\n {\n \"profileInfo\": {\n \"profileIdList\": [\n {\n \"id\": \"12345672\",\n \"type\": \"Source\"\n }\n ],\n \"profile\": {\n \"profileType\": \"Source\",\n \"companyInfo\": {\n \"companyName\": \"Smith Travel POS\"\n }\n }\n }\n },\n {\n \"profileInfo\": {\n \"profileIdList\": [\n {\n \"id\": \"ORACLE\",\n \"type\": \"Company\"\n }\n ],\n \"profile\": {\n \"profileType\": \"Company\",\n \"companyInfo\": {\n \"companyName\": \"Oracle Corporation\"\n }\n }\n }\n }\n ],\n \"reservationPaymentMethods\": [\n {\n \"paymentMethod\": \"5\",\n \"folioView\": \"1\",\n \"paymentCard\": {\n \"cardType\": \"AX\",\n \"cardNumber\": \"371449635398431\",\n \"expirationDate\": \"06/25\",\n \"cardHolderName\": \"SomeChannel VirtualCard\"\n }\n }\n ],\n \"hotelCode\": \"{{HotelCode}}\",\n \"messageId\": \"{{$randomUUID}}\",\n \"comments\": [\n {\n \"comment\": {\n \"text\": {\n \"value\": \"Channel Text note\\n1 king bed\\nNon-Smoking\\nBill guest full stay\"\n },\n \"commentTitle\": \"Notes from Channel\",\n \"notificationLocation\": \"RESERVATION\",\n \"type\": \"GEN\",\n \"internal\": true,\n \"confidential\": false,\n \"overrideInternal\": false\n }\n }\n ],\n \"printRate\": false,\n \"optedForCommunication\": false\n }\n ]\n}"
},
"url": {
- "raw": "{{HostName}}/book/v0/hotels/{{HotelCode}}/reservations",
+ "raw": "{{HostName}}/resnotif/v0/hotels/{{HotelCode}}/reservations",
"host": [
"{{HostName}}"
],
"path": [
- "book",
+ "resnotif",
"v0",
"hotels",
"{{HotelCode}}",
"reservations"
]
},
- "description": "Sample wiht a single night with guest CC on folio 1"
+ "description": "Sample with a single night, with guest CC on folio 1"
},
"response": []
},
{
- "name": "post On Hold Reservation",
+ "name": "post Reservation Notif (v0) -> with OPERA Source Code",
"event": [
{
"listen": "test",
@@ -3828,7 +6097,7 @@
},
{
"key": "x-channelCode",
- "value": "{{channelCode}}",
+ "value": "{{ResNotifChannelCode}}",
"type": "text"
},
{
@@ -3839,29 +6108,27 @@
],
"body": {
"mode": "raw",
- "raw": "{\n \"reservations\": [\n {\n \"reservationIdList\": [\n {\n \"id\": \"{{ConfirmationNum}}\",\n \"type\": \"Confirmation\",\n \"idContext\": \"Central\",\n \"idExtension\": \"1\"\n }\n ],\n \"hotelCode\": \"{{HotelCode1}}\",\n \"reservationStatus\": \"Commit\",\n \"lastModifyDateTime\": \"2020-09-17T19:21:00.0Z\",\n \"messageId\": \"{{$randomUUID}}\"\n }\n ]\n}"
+ "raw": "{\n \"reservations\": [\n {\n \"reservationIdList\": [\n {\n \"id\": \"{{$timestamp}}-{{channelCode}}\",\n \"idExtension\": \"1\"\n }\n ],\n \"lastModifyDateTime\": \"2020-07-01T12:21:00-07:00\",\n \"roomStay\": {\n \"arrivalDate\": \"{{currentdateplus1}}\",\n \"departureDate\": \"{{currentdateplus2}}\",\n \"roomRates\": [\n {\n \"rates\": {\n \"rate\": [\n {\n \"base\": {\n \"amountBeforeTax\": 200,\n \"currencyCode\": \"{{currencyCode}}\"\n },\n \"start\": \"{{currentdateplus1}}\",\n \"end\": \"{{currentdateplus1}}\"\n }\n ]\n },\n \"guestCounts\": {\n \"childAges\": [\n 4,\n 9,\n 17\n ],\n \"adults\": 2,\n \"children\": 3\n },\n \"roomType\": \"{{RoomTypeCode}}\",\n \"ratePlanCode\": \"{{RatePlanCode}}\",\n \"numberOfUnits\": 1,\n \"sourceCode\": \"OTA\",\n \"start\": \"{{currentdateplus1}}\",\n \"end\": \"{{currentdateplus1}}\"\n }\n ],\n \"total\": {\n \"amountAfterTax\": 200,\n \"amountBeforeTax\": 20.09,\n \"currencyCode\": \"{{currencyCode}}\"\n },\n \"guarantee\": {\n \"guaranteeType\": \"5\"\n },\n \"printRate\": false\n },\n \"reservationGuests\": [\n {\n \"profileInfo\": {\n \"profile\": {\n \"customer\": {\n \"personName\": [\n {\n \"surname\": \"{{$randomLastName}}\",\n \"givenName\": \"{{$randomFirstName}}\",\n \"nameTitle\": \"Mr and Mrs\",\n \"nameType\": \"Primary\",\n \"email\": \"{{$randomEmail}}\",\n \"phoneNumber\": \"{{$randomPhoneNumber}}\",\n \"address\": {\n \"addressLine\": [\n \"{{$randomStreetAddress}}\"\n ],\n \"cityName\": \"{{$randomCity}}\",\n \"postalCode\": \"AS 111\",\n \"country\": {\n \"code\": \"{{$randomCountryCode}}\"\n },\n \"state\": \"UT\"\n }\n }\n ],\n \"language\": \"en-us\"\n },\n \"profileType\": \"Guest\"\n }\n },\n \"primary\": true\n },\n {\n \"profileInfo\": {\n \"profileIdList\": [\n {\n \"id\": \"12345671\",\n \"type\": \"TravelAgent\"\n }\n ],\n \"profile\": {\n \"profileType\": \"TravelAgent\",\n \"companyInfo\": {\n \"companyName\": \"Smith Travel\"\n }\n }\n }\n },\n {\n \"profileInfo\": {\n \"profileIdList\": [\n {\n \"id\": \"12345672\",\n \"type\": \"Source\"\n }\n ],\n \"profile\": {\n \"profileType\": \"Source\",\n \"companyInfo\": {\n \"companyName\": \"Smith Travel POS\"\n }\n }\n }\n },\n {\n \"profileInfo\": {\n \"profileIdList\": [\n {\n \"id\": \"ORACLE\",\n \"type\": \"Company\"\n }\n ],\n \"profile\": {\n \"profileType\": \"Company\",\n \"companyInfo\": {\n \"companyName\": \"Oracle Corporation\"\n }\n }\n }\n }\n ],\n \"reservationPaymentMethods\": [\n {\n \"paymentMethod\": \"5\",\n \"folioView\": \"1\",\n \"paymentCard\": {\n \"cardType\": \"AX\",\n \"cardNumber\": \"371449635398431\",\n \"expirationDate\": \"06/25\",\n \"cardHolderName\": \"SomeChannel VirtualCard\"\n }\n }\n ],\n \"hotelCode\": \"{{HotelCode}}\",\n \"messageId\": \"{{$randomUUID}}\",\n \"comments\": [\n {\n \"comment\": {\n \"text\": {\n \"value\": \"Channel Text note\\n1 king bed\\nNon-Smoking\\nBill guest full stay\"\n },\n \"commentTitle\": \"Notes from Channel\",\n \"notificationLocation\": \"RESERVATION\",\n \"type\": \"GEN\",\n \"internal\": true,\n \"confidential\": false,\n \"overrideInternal\": false\n }\n }\n ],\n \"printRate\": false,\n \"optedForCommunication\": false\n }\n ]\n}"
},
"url": {
- "raw": "{{HostName}}/book/v0/hotels/{{HotelCode}}/reservations/{{ConfirmationNum}}/status",
+ "raw": "{{HostName}}/resnotif/v0/hotels/{{HotelCode}}/reservations",
"host": [
"{{HostName}}"
],
"path": [
- "book",
+ "resnotif",
"v0",
"hotels",
"{{HotelCode}}",
- "reservations",
- "{{ConfirmationNum}}",
- "status"
+ "reservations"
]
},
- "description": "-> Commit reservation"
+ "description": "Sample with a single night, with guest CC on folio 1"
},
"response": []
},
{
- "name": "post On Hold Reservation -> Ignore reservation",
+ "name": "post Reservation Notif (v0) -> with 1 Addon packages per adult - per stay",
"event": [
{
"listen": "test",
@@ -3898,7 +6165,7 @@
},
{
"key": "x-channelCode",
- "value": "{{channelCode}}",
+ "value": "{{ResNotifChannelCode}}",
"type": "text"
},
{
@@ -3909,53 +6176,27 @@
],
"body": {
"mode": "raw",
- "raw": "{\n \"reservations\": [\n {\n \"reservationIdList\": [\n {\n \"id\": \"{{ConfirmationNum}}\",\n \"type\": \"Confirmation\",\n \"idContext\": \"Central\",\n \"idExtension\": \"1\"\n }\n ],\n \"hotelCode\": \"{{HotelCode1}}\",\n \"reservationStatus\": \"Ignore\",\n \"lastModifyDateTime\": \"2020-09-17T19:21:00.0Z\",\n \"messageId\": \"{{$randomUUID}}\"\n }\n ]\n}"
+ "raw": "{\n \"reservations\": [\n {\n \"reservationIdList\": [\n {\n \"id\": \"{{$timestamp}}-{{channelCode}}\",\n \"idExtension\": \"1\"\n }\n ],\n \"lastModifyDateTime\": \"2020-07-01T12:21:00-07:00\",\n \"reservationPackages\": [\n {\n \"scheduleList\": [\n {\n \"totalQuantity\": 1\n }\n ],\n \"packageCode\": \"BK-A-A\",\n \"startDate\": \"{{currentdateplus1}}\",\n \"endDate\": \"{{currentdateplus3}}\"\n }\n ],\n \"roomStay\": {\n \"arrivalDate\": \"{{currentdateplus1}}\",\n \"departureDate\": \"{{currentdateplus4}}\",\n \"roomRates\": [\n {\n \"rates\": {\n \"rate\": [\n {\n \"base\": {\n \"amountBeforeTax\": 200,\n \"currencyCode\": \"{{currencyCode}}\"\n },\n \"start\": \"{{currentdateplus1}}\",\n \"end\": \"{{currentdateplus1}}\"\n }\n ]\n },\n \"guestCounts\": {\n \"childAges\": [\n 4,\n 9,\n 17\n ],\n \"adults\": 2,\n \"children\": 3\n },\n \"roomType\": \"{{RoomTypeCode}}\",\n \"ratePlanCode\": \"{{RatePlanCode}}\",\n \"numberOfUnits\": 1,\n \"start\": \"{{currentdateplus1}}\",\n \"end\": \"{{currentdateplus1}}\"\n },\n {\n \"rates\": {\n \"rate\": [\n {\n \"base\": {\n \"amountBeforeTax\": 300,\n \"currencyCode\": \"{{currencyCode}}\"\n },\n \"start\": \"{{currentdateplus2}}\",\n \"end\": \"{{currentdateplus2}}\"\n }\n ]\n },\n \"guestCounts\": {\n \"childAges\": [\n 4,\n 9,\n 17\n ],\n \"adults\": 2,\n \"children\": 3\n },\n \"roomType\": \"{{RoomTypeCode}}\",\n \"ratePlanCode\": \"{{RatePlanCode}}\",\n \"numberOfUnits\": 1,\n \"start\": \"{{currentdateplus2}}\",\n \"end\": \"{{currentdateplus2}}\"\n },\n {\n \"rates\": {\n \"rate\": [\n {\n \"base\": {\n \"amountBeforeTax\": 200,\n \"currencyCode\": \"{{currencyCode}}\"\n },\n \"start\": \"{{currentdateplus3}}\",\n \"end\": \"{{currentdateplus3}}\"\n }\n ]\n },\n \"guestCounts\": {\n \"childAges\": [\n 4,\n 9,\n 17\n ],\n \"adults\": 2,\n \"children\": 3\n },\n \"roomType\": \"{{RoomTypeCode}}\",\n \"ratePlanCode\": \"{{RatePlanCode}}\",\n \"numberOfUnits\": 1,\n \"start\": \"{{currentdateplus3}}\",\n \"end\": \"{{currentdateplus3}}\"\n }\n ],\n \"total\": {\n \"amountAfterTax\": 700,\n \"amountBeforeTax\": 67.09,\n \"currencyCode\": \"{{currencyCode}}\"\n },\n \"guarantee\": {\n \"guaranteeType\": \"5\"\n },\n \"printRate\": false\n },\n \"reservationGuests\": [\n {\n \"profileInfo\": {\n \"profile\": {\n \"customer\": {\n \"personName\": [\n {\n \"surname\": \"{{$randomLastName}}\",\n \"givenName\": \"{{$randomFirstName}}\",\n \"nameTitle\": \"Mr and Mrs\",\n \"nameType\": \"Primary\",\n \"email\": \"{{$randomEmail}}\",\n \"phoneNumber\": \"{{$randomPhoneNumber}}\",\n \"address\": {\n \"addressLine\": [\n \"{{$randomStreetAddress}}\"\n ],\n \"cityName\": \"{{$randomCity}}\",\n \"postalCode\": \"AS 111\",\n \"country\": {\n \"code\": \"{{$randomCountryCode}}\"\n },\n \"state\": \"UT\"\n }\n }\n ],\n \"language\": \"en-us\"\n },\n \"profileType\": \"Guest\"\n }\n },\n \"primary\": true\n },\n {\n \"profileInfo\": {\n \"profileIdList\": [\n {\n \"id\": \"12345671\",\n \"type\": \"TravelAgent\"\n }\n ],\n \"profile\": {\n \"profileType\": \"TravelAgent\",\n \"companyInfo\": {\n \"companyName\": \"Smith Travel\"\n }\n }\n }\n },\n {\n \"profileInfo\": {\n \"profileIdList\": [\n {\n \"id\": \"12345672\",\n \"type\": \"Source\"\n }\n ],\n \"profile\": {\n \"profileType\": \"Source\",\n \"companyInfo\": {\n \"companyName\": \"Smith Travel POS\"\n }\n }\n }\n },\n {\n \"profileInfo\": {\n \"profileIdList\": [\n {\n \"id\": \"ORACLE\",\n \"type\": \"Company\"\n }\n ],\n \"profile\": {\n \"profileType\": \"Company\",\n \"companyInfo\": {\n \"companyName\": \"Oracle Corporation\"\n }\n }\n }\n }\n ],\n \"reservationPaymentMethods\": [\n {\n \"paymentMethod\": \"5\",\n \"folioView\": \"1\",\n \"paymentCard\": {\n \"cardType\": \"AX\",\n \"cardNumber\": \"371449635398431\",\n \"expirationDate\": \"06/25\",\n \"cardHolderName\": \"SomeChannel VirtualCard\"\n }\n }\n ],\n \"hotelCode\": \"{{HotelCode}}\",\n \"messageId\": \"{{$randomUUID}}\",\n \"comments\": [\n {\n \"comment\": {\n \"text\": {\n \"value\": \"Channel Text note\\n1 king bed\\nNon-Smoking\\nBill guest full stay\"\n },\n \"commentTitle\": \"Notes from Channel\",\n \"notificationLocation\": \"RESERVATION\",\n \"type\": \"GEN\",\n \"internal\": true,\n \"confidential\": false,\n \"overrideInternal\": false\n }\n }\n ],\n \"printRate\": false,\n \"optedForCommunication\": false\n }\n ]\n}"
},
"url": {
- "raw": "{{HostName}}/book/v0/hotels/{{HotelCode}}/reservations/{{ConfirmationNum}}/status",
+ "raw": "{{HostName}}/resnotif/v0/hotels/{{HotelCode}}/reservations",
"host": [
"{{HostName}}"
],
"path": [
- "book",
+ "resnotif",
"v0",
"hotels",
"{{HotelCode}}",
- "reservations",
- "{{ConfirmationNum}}",
- "status"
+ "reservations"
]
- }
+ },
+ "description": "Sample with a single night, with guest CC on folio 1"
},
"response": []
- }
- ],
- "event": [
- {
- "listen": "prerequest",
- "script": {
- "type": "text/javascript",
- "exec": [
- ""
- ]
- }
},
{
- "listen": "test",
- "script": {
- "type": "text/javascript",
- "exec": [
- ""
- ]
- }
- }
- ]
- },
- {
- "name": "Distribution Reservation Notification (RESNOTIF)",
- "item": [
- {
- "name": "post Reservation Notif",
+ "name": "post Reservation Notif (v0) -> with 2 Addon packages per adult/children - per stay",
"event": [
{
"listen": "test",
@@ -4003,7 +6244,7 @@
],
"body": {
"mode": "raw",
- "raw": "{\n \"reservations\": [\n {\n \"reservationIdList\": [\n {\n \"id\": \"{{$guid}}\",\n \"idExtension\": \"1\"\n }\n ],\n \"lastModifyDateTime\": \"2020-07-01T12:21:00-07:00\",\n \"roomStay\": {\n \"arrivalDate\": \"{{currentdateplus1}}\",\n \"departureDate\": \"{{currentdateplus2}}\",\n \"roomRates\": [\n {\n \"rates\": {\n \"rate\": [\n {\n \"base\": {\n \"amountBeforeTax\": 200,\n \"currencyCode\": \"{{currencyCode}}\"\n },\n \"start\": \"{{currentdateplus1}}\",\n \"end\": \"{{currentdateplus1}}\"\n }\n ]\n },\n \"guestCounts\": {\n \"childAges\": [\n 4,\n 9,\n 17\n ],\n \"adults\": 2,\n \"children\": 3\n },\n \"roomType\": \"{{RoomTypeCode}}\",\n \"ratePlanCode\": \"{{RatePlanCode}}\",\n \"numberOfUnits\": 1,\n \"start\": \"{{currentdateplus1}}\",\n \"end\": \"{{currentdateplus1}}\"\n }\n ],\n \"total\": {\n \"amountAfterTax\": 200,\n \"amountBeforeTax\": 20.09,\n \"currencyCode\": \"{{currencyCode}}\"\n },\n \"guarantee\": {\n \"guaranteeCode\": \"5\",\n \"onHold\": false\n },\n \"printRate\": false\n },\n \"reservationGuests\": [\n {\n \"profileInfo\": {\n \"profile\": {\n \"customer\": {\n \"personName\": [\n {\n \"surname\": \"Smith\",\n \"givenName\": \"Mary\",\n \"nameTitle\": \"Mr and Mrs\",\n \"nameType\": \"Primary\",\n \"email\": \"customer@email.com\",\n \"phoneNumber\": \"123-410-3186\",\n \"address\": {\n \"addressLine\": [\n \"3450 North Triumph Boulevard\"\n ],\n \"cityName\": \"Lehi\",\n \"postalCode\": 84043,\n \"country\": {\n \"code\": \"US\"\n },\n \"state\": \"UT\"\n }\n }\n ],\n \"language\": \"en-us\"\n },\n \"profileType\": \"Guest\"\n }\n },\n \"primary\": true\n },\n {\n \"profileInfo\": {\n \"profileIdList\": [\n {\n \"id\": \"12345671\",\n \"type\": \"TravelAgent\"\n }\n ],\n \"profile\": {\n \"profileType\": \"TravelAgent\",\n \"companyInfo\": {\n \"companyName\": \"Smith Travel\"\n }\n }\n }\n },\n {\n \"profileInfo\": {\n \"profileIdList\": [\n {\n \"id\": \"12345672\",\n \"type\": \"Source\"\n }\n ],\n \"profile\": {\n \"profileType\": \"Source\",\n \"companyInfo\": {\n \"companyName\": \"Smith Travel POS\"\n }\n }\n }\n },\n {\n \"profileInfo\": {\n \"profileIdList\": [\n {\n \"id\": \"ORACLE\",\n \"type\": \"Company\"\n }\n ],\n \"profile\": {\n \"profileType\": \"Company\",\n \"companyInfo\": {\n \"companyName\": \"Oracle Corporation\"\n }\n }\n }\n }\n ],\n \"reservationPaymentMethods\": [\n {\n \"paymentMethod\": \"5\",\n \"folioView\": \"1\",\n \"paymentCard\": {\n \"cardType\": \"AX\",\n \"cardNumber\": \"371449635398431\",\n \"expirationDate\": \"06/25\",\n \"cardHolderName\": \"SomeChannel VirtualCard\"\n }\n }\n ],\n \"hotelCode\": \"{{HotelCode}}\",\n \"messageId\": \"{{$randomUUID}}\",\n \"comments\": [\n {\n \"comment\": {\n \"text\": {\n \"value\": \"Channel Text note\\n1 king bed\\nNon-Smoking\\nBill guest full stay\"\n },\n \"commentTitle\": \"Notes from Channel\",\n \"notificationLocation\": \"RESERVATION\",\n \"type\": \"GEN\",\n \"internal\": true,\n \"confidential\": false,\n \"overrideInternal\": false\n }\n }\n ],\n \"printRate\": false,\n \"optedForCommunication\": false\n }\n ]\n}"
+ "raw": "{\n \"reservations\": [\n {\n \"reservationIdList\": [\n {\n \"id\": \"{{$timestamp}}-{{channelCode}}\",\n \"idExtension\": \"1\"\n }\n ],\n \"lastModifyDateTime\": \"2020-07-01T12:21:00-07:00\",\n \"reservationPackages\": [\n {\n \"scheduleList\": [\n {\n \"totalQuantity\": 1\n }\n ],\n \"packageCode\": \"BK-A-A\",\n \"startDate\": \"{{currentdateplus1}}\",\n \"endDate\": \"{{currentdateplus3}}\"\n },\n {\n \"scheduleList\": [\n {\n \"totalQuantity\": 1\n }\n ],\n \"packageCode\": \"BK-C-A\",\n \"startDate\": \"{{currentdateplus1}}\",\n \"endDate\": \"{{currentdateplus3}}\"\n }\n ],\n \"roomStay\": {\n \"arrivalDate\": \"{{currentdateplus1}}\",\n \"departureDate\": \"{{currentdateplus4}}\",\n \"roomRates\": [\n {\n \"rates\": {\n \"rate\": [\n {\n \"base\": {\n \"amountBeforeTax\": 200,\n \"currencyCode\": \"{{currencyCode}}\"\n },\n \"start\": \"{{currentdateplus1}}\",\n \"end\": \"{{currentdateplus1}}\"\n }\n ]\n },\n \"guestCounts\": {\n \"childAges\": [\n 4,\n 9,\n 17\n ],\n \"adults\": 2,\n \"children\": 3\n },\n \"roomType\": \"{{RoomTypeCode}}\",\n \"ratePlanCode\": \"{{RatePlanCode}}\",\n \"numberOfUnits\": 1,\n \"start\": \"{{currentdateplus1}}\",\n \"end\": \"{{currentdateplus1}}\"\n },\n {\n \"rates\": {\n \"rate\": [\n {\n \"base\": {\n \"amountBeforeTax\": 300,\n \"currencyCode\": \"{{currencyCode}}\"\n },\n \"start\": \"{{currentdateplus2}}\",\n \"end\": \"{{currentdateplus2}}\"\n }\n ]\n },\n \"guestCounts\": {\n \"childAges\": [\n 4,\n 9,\n 17\n ],\n \"adults\": 2,\n \"children\": 3\n },\n \"roomType\": \"{{RoomTypeCode}}\",\n \"ratePlanCode\": \"{{RatePlanCode}}\",\n \"numberOfUnits\": 1,\n \"start\": \"{{currentdateplus2}}\",\n \"end\": \"{{currentdateplus2}}\"\n },\n {\n \"rates\": {\n \"rate\": [\n {\n \"base\": {\n \"amountBeforeTax\": 200,\n \"currencyCode\": \"{{currencyCode}}\"\n },\n \"start\": \"{{currentdateplus3}}\",\n \"end\": \"{{currentdateplus3}}\"\n }\n ]\n },\n \"guestCounts\": {\n \"childAges\": [\n 4,\n 9,\n 17\n ],\n \"adults\": 2,\n \"children\": 3\n },\n \"roomType\": \"{{RoomTypeCode}}\",\n \"ratePlanCode\": \"{{RatePlanCode}}\",\n \"numberOfUnits\": 1,\n \"start\": \"{{currentdateplus3}}\",\n \"end\": \"{{currentdateplus3}}\"\n }\n ],\n \"total\": {\n \"amountAfterTax\": 700,\n \"amountBeforeTax\": 67.09,\n \"currencyCode\": \"{{currencyCode}}\"\n },\n \"guarantee\": {\n \"guaranteeCode\": \"5\"\n },\n \"printRate\": false\n },\n \"reservationGuests\": [\n {\n \"profileInfo\": {\n \"profile\": {\n \"customer\": {\n \"personName\": [\n {\n \"surname\": \"{{$randomLastName}}\",\n \"givenName\": \"{{$randomFirstName}}\",\n \"nameTitle\": \"Mr and Mrs\",\n \"nameType\": \"Primary\",\n \"email\": \"{{$randomEmail}}\",\n \"phoneNumber\": \"{{$randomPhoneNumber}}\",\n \"address\": {\n \"addressLine\": [\n \"{{$randomStreetAddress}}\"\n ],\n \"cityName\": \"{{$randomCity}}\",\n \"postalCode\": \"AS 111\",\n \"country\": {\n \"code\": \"{{$randomCountryCode}}\"\n },\n \"state\": \"UT\"\n }\n }\n ],\n \"language\": \"en-us\"\n },\n \"profileType\": \"Guest\"\n }\n },\n \"primary\": true\n },\n {\n \"profileInfo\": {\n \"profileIdList\": [\n {\n \"id\": \"12345671\",\n \"type\": \"TravelAgent\"\n }\n ],\n \"profile\": {\n \"profileType\": \"TravelAgent\",\n \"companyInfo\": {\n \"companyName\": \"Smith Travel\"\n }\n }\n }\n },\n {\n \"profileInfo\": {\n \"profileIdList\": [\n {\n \"id\": \"12345672\",\n \"type\": \"Source\"\n }\n ],\n \"profile\": {\n \"profileType\": \"Source\",\n \"companyInfo\": {\n \"companyName\": \"Smith Travel POS\"\n }\n }\n }\n },\n {\n \"profileInfo\": {\n \"profileIdList\": [\n {\n \"id\": \"ORACLE\",\n \"type\": \"Company\"\n }\n ],\n \"profile\": {\n \"profileType\": \"Company\",\n \"companyInfo\": {\n \"companyName\": \"Oracle Corporation\"\n }\n }\n }\n }\n ],\n \"reservationPaymentMethods\": [\n {\n \"paymentMethod\": \"5\",\n \"folioView\": \"1\",\n \"paymentCard\": {\n \"cardType\": \"AX\",\n \"cardNumber\": \"371449635398431\",\n \"expirationDate\": \"06/25\",\n \"cardHolderName\": \"SomeChannel VirtualCard\"\n }\n }\n ],\n \"hotelCode\": \"{{HotelCode}}\",\n \"messageId\": \"{{$randomUUID}}\",\n \"comments\": [\n {\n \"comment\": {\n \"text\": {\n \"value\": \"Channel Text note\\n1 king bed\\nNon-Smoking\\nBill guest full stay\"\n },\n \"commentTitle\": \"Notes from Channel\",\n \"notificationLocation\": \"RESERVATION\",\n \"type\": \"GEN\",\n \"internal\": true,\n \"confidential\": false,\n \"overrideInternal\": false\n }\n }\n ],\n \"printRate\": false,\n \"optedForCommunication\": false\n }\n ]\n}"
},
"url": {
"raw": "{{HostName}}/resnotif/v0/hotels/{{HotelCode}}/reservations",
@@ -4023,7 +6264,7 @@
"response": []
},
{
- "name": "post Reservation Notif -> Single Night Non Guaranteed",
+ "name": "post Reservation Notif (v0) -> with mutiple Addon package flat amount - per day",
"event": [
{
"listen": "test",
@@ -4050,28 +6291,28 @@
"header": [
{
"key": "Authorization",
- "type": "text",
- "value": "Bearer {{Token}}"
+ "value": "Bearer {{Token}}",
+ "type": "text"
},
{
"key": "Content-Type",
- "type": "text",
- "value": "application/json; charset=utf-8"
+ "value": "application/json; charset=utf-8",
+ "type": "text"
},
{
"key": "x-channelCode",
- "type": "text",
- "value": "{{ResNotifChannelCode}}"
+ "value": "{{ResNotifChannelCode}}",
+ "type": "text"
},
{
"key": "x-app-key",
- "type": "text",
- "value": "{{AppKey}}"
+ "value": "{{AppKey}}",
+ "type": "text"
}
],
"body": {
"mode": "raw",
- "raw": "{\n \"reservations\": [\n {\n \"reservationIdList\": [\n {\n \"id\": \"{{$guid}}\",\n \"idExtension\": \"1\"\n }\n ],\n \"lastModifyDateTime\": \"2021-07-01T12:21:00-07:00\",\n \"roomStay\": {\n \"arrivalDate\": \"{{currentdateplus1}}\",\n \"departureDate\": \"{{currentdateplus2}}\",\n \"roomRates\": [\n {\n \"rates\": {\n \"rate\": [\n {\n \"base\": {\n \"amountBeforeTax\": 200,\n \"currencyCode\": \"{{currencyCode}}\"\n },\n \"start\": \"{{currentdateplus1}}\",\n \"end\": \"{{currentdateplus1}}\"\n }\n ]\n },\n \"guestCounts\": {\n \"childAges\": [\n 4,\n 9,\n 17\n ],\n \"adults\": 2,\n \"children\": 3\n },\n \"roomType\": \"{{RoomTypeCode}}\",\n \"ratePlanCode\": \"{{RatePlanCode}}\",\n \"suppressRate\": false,\n \"numberOfUnits\": 1,\n \"start\": \"{{currentdateplus1}}\",\n \"end\": \"{{currentdateplus1}}\"\n }\n ],\n \"total\": {\n \"amountAfterTax\": 200,\n \"amountBeforeTax\": 20.09,\n \"currencyCode\": \"{{currencyCode}}\"\n },\n \"guarantee\": {\n \"guaranteeCode\": \"38\",\n \"onHold\": false\n }\n },\n \"reservationGuests\": [\n {\n \"profileInfo\": {\n \"profile\": {\n \"customer\": {\n \"personName\": [\n {\n \"surname\": \"Smith\",\n \"givenName\": \"Mary\",\n \"nameTitle\": \"Mr and Mrs\",\n \"nameType\": \"Primary\",\n \"email\": \"customer@email.com\",\n \"phoneNumber\": \"123-410-3186\",\n \"address\": {\n \"addressLine\": [\n \"3450 North Triumph Boulevard\"\n ],\n \"cityName\": \"Lehi\",\n \"postalCode\": 84043,\n \"country\": {\n \"code\": \"US\"\n },\n \"state\": \"UT\"\n }\n }\n ],\n \"language\": \"en-us\"\n },\n \"profileType\": \"Guest\"\n }\n },\n \"primary\": true\n },\n {\n \"profileInfo\": {\n \"profileIdList\": [\n {\n \"id\": \"12345671\",\n \"type\": \"TravelAgent\"\n }\n ],\n \"profile\": {\n \"profileType\": \"TravelAgent\",\n \"companyInfo\": {\n \"companyName\": \"Smith Travel\"\n }\n }\n }\n },\n {\n \"profileInfo\": {\n \"profileIdList\": [\n {\n \"id\": \"12345672\",\n \"type\": \"Source\"\n }\n ],\n \"profile\": {\n \"profileType\": \"Source\",\n \"companyInfo\": {\n \"companyName\": \"Smith Travel POS\"\n }\n }\n }\n },\n {\n \"profileInfo\": {\n \"profileIdList\": [\n {\n \"id\": \"ORACLE\",\n \"type\": \"Company\"\n }\n ],\n \"profile\": {\n \"profileType\": \"Company\",\n \"companyInfo\": {\n \"companyName\": \"Oracle Corporation\"\n }\n }\n }\n }\n ],\n \"reservationPaymentMethods\": [\n {\n \"paymentMethod\": \"38\",\n \"folioView\": \"1\"\n }\n ],\n \"hotelCode\": \"{{HotelCode}}\",\n \"messageId\": \"{{$randomUUID}}\",\n \"comments\": [\n {\n \"comment\": {\n \"text\": {\n \"value\": \"Channel Text note\\n1 king bed\\nNon-Smoking\\nBill guest full stay\"\n },\n \"commentTitle\": \"Notes from ABC\",\n \"notificationLocation\": \"RESERVATION\",\n \"type\": \"GEN\",\n \"internal\": true,\n \"confidential\": false,\n \"overrideInternal\": false\n }\n }\n ],\n \"printRate\": false,\n \"optedForCommunication\": false\n }\n ]\n}"
+ "raw": "{\n \"reservations\": [\n {\n \"reservationIdList\": [\n {\n \"id\": \"{{$timestamp}}-{{channelCode}}\",\n \"idExtension\": \"1\"\n }\n ],\n \"lastModifyDateTime\": \"2020-07-01T12:21:00-07:00\",\n \"reservationPackages\": [\n {\n \"scheduleList\": [\n {\n \"totalQuantity\": 1,\n \"consumptionDate\": \"{{currentdateplus1}}\",\n \"reservationDate\": \"{{currentdateplus1}}\"\n }\n ],\n \"packageCode\": \"XBFAST\",\n \"startDate\": \"{{currentdateplus1}}\",\n \"endDate\": \"{{currentdateplus1}}\",\n \"source\": \"Reservation\"\n },\n {\n \"scheduleList\": [\n {\n \"totalQuantity\": 3,\n \"consumptionDate\": \"{{currentdateplus2}}\",\n \"reservationDate\": \"{{currentdateplus2}}\"\n }\n ],\n \"packageCode\": \"XBFAST\",\n \"startDate\": \"{{currentdateplus2}}\",\n \"endDate\": \"{{currentdateplus3}}\",\n \"source\": \"Reservation\"\n },\n {\n \"scheduleList\": [\n {\n \"totalQuantity\": 1,\n \"consumptionDate\": \"{{currentdateplus1}}\",\n \"reservationDate\": \"{{currentdateplus1}}\"\n }\n ],\n \"packageCode\": \"BKF-A\",\n \"startDate\": \"{{currentdateplus1}}\",\n \"endDate\": \"{{currentdateplus3}}\",\n \"source\": \"Reservation\"\n }\n ],\n \"roomStay\": {\n \"arrivalDate\": \"{{currentdateplus1}}\",\n \"departureDate\": \"{{currentdateplus4}}\",\n \"roomRates\": [\n {\n \"rates\": {\n \"rate\": [\n {\n \"base\": {\n \"amountBeforeTax\": 200,\n \"currencyCode\": \"{{currencyCode}}\"\n },\n \"start\": \"{{currentdateplus1}}\",\n \"end\": \"{{currentdateplus1}}\"\n }\n ]\n },\n \"guestCounts\": {\n \"childAges\": [\n 4,\n 9,\n 17\n ],\n \"adults\": 2,\n \"children\": 3\n },\n \"roomType\": \"{{RoomTypeCode}}\",\n \"ratePlanCode\": \"{{RatePlanCode}}\",\n \"numberOfUnits\": 1,\n \"start\": \"{{currentdateplus1}}\",\n \"end\": \"{{currentdateplus1}}\"\n },\n {\n \"rates\": {\n \"rate\": [\n {\n \"base\": {\n \"amountBeforeTax\": 300,\n \"currencyCode\": \"{{currencyCode}}\"\n },\n \"start\": \"{{currentdateplus2}}\",\n \"end\": \"{{currentdateplus2}}\"\n }\n ]\n },\n \"guestCounts\": {\n \"childAges\": [\n 4,\n 9,\n 17\n ],\n \"adults\": 2,\n \"children\": 3\n },\n \"roomType\": \"{{RoomTypeCode}}\",\n \"ratePlanCode\": \"{{RatePlanCode}}\",\n \"numberOfUnits\": 1,\n \"start\": \"{{currentdateplus2}}\",\n \"end\": \"{{currentdateplus2}}\"\n },\n {\n \"rates\": {\n \"rate\": [\n {\n \"base\": {\n \"amountBeforeTax\": 200,\n \"currencyCode\": \"{{currencyCode}}\"\n },\n \"start\": \"{{currentdateplus3}}\",\n \"end\": \"{{currentdateplus3}}\"\n }\n ]\n },\n \"guestCounts\": {\n \"childAges\": [\n 4,\n 9,\n 17\n ],\n \"adults\": 2,\n \"children\": 3\n },\n \"roomType\": \"{{RoomTypeCode}}\",\n \"ratePlanCode\": \"{{RatePlanCode}}\",\n \"numberOfUnits\": 1,\n \"start\": \"{{currentdateplus3}}\",\n \"end\": \"{{currentdateplus3}}\"\n }\n ],\n \"total\": {\n \"amountAfterTax\": 700,\n \"amountBeforeTax\": 67.09,\n \"currencyCode\": \"{{currencyCode}}\"\n },\n \"guarantee\": {\n \"guaranteeCode\": \"5\"\n },\n \"printRate\": false\n },\n \"reservationGuests\": [\n {\n \"profileInfo\": {\n \"profile\": {\n \"customer\": {\n \"personName\": [\n {\n \"surname\": \"{{$randomLastName}}\",\n \"givenName\": \"{{$randomFirstName}}\",\n \"nameTitle\": \"Mr and Mrs\",\n \"nameType\": \"Primary\",\n \"email\": \"{{$randomEmail}}\",\n \"phoneNumber\": \"{{$randomPhoneNumber}}\",\n \"address\": {\n \"addressLine\": [\n \"{{$randomStreetAddress}}\"\n ],\n \"cityName\": \"{{$randomCity}}\",\n \"postalCode\": \"AS 111\",\n \"country\": {\n \"code\": \"{{$randomCountryCode}}\"\n },\n \"state\": \"UT\"\n }\n }\n ],\n \"language\": \"en-us\"\n },\n \"profileType\": \"Guest\"\n }\n },\n \"primary\": true\n },\n {\n \"profileInfo\": {\n \"profileIdList\": [\n {\n \"id\": \"12345671\",\n \"type\": \"TravelAgent\"\n }\n ],\n \"profile\": {\n \"profileType\": \"TravelAgent\",\n \"companyInfo\": {\n \"companyName\": \"Smith Travel\"\n }\n }\n }\n },\n {\n \"profileInfo\": {\n \"profileIdList\": [\n {\n \"id\": \"12345672\",\n \"type\": \"Source\"\n }\n ],\n \"profile\": {\n \"profileType\": \"Source\",\n \"companyInfo\": {\n \"companyName\": \"Smith Travel POS\"\n }\n }\n }\n },\n {\n \"profileInfo\": {\n \"profileIdList\": [\n {\n \"id\": \"ORACLE\",\n \"type\": \"Company\"\n }\n ],\n \"profile\": {\n \"profileType\": \"Company\",\n \"companyInfo\": {\n \"companyName\": \"Oracle Corporation\"\n }\n }\n }\n }\n ],\n \"reservationPaymentMethods\": [\n {\n \"paymentMethod\": \"5\",\n \"folioView\": \"1\",\n \"paymentCard\": {\n \"cardType\": \"AX\",\n \"cardNumber\": \"371449635398431\",\n \"expirationDate\": \"06/25\",\n \"cardHolderName\": \"SomeChannel VirtualCard\"\n }\n }\n ],\n \"hotelCode\": \"{{HotelCode}}\",\n \"messageId\": \"{{$randomUUID}}\",\n \"comments\": [\n {\n \"comment\": {\n \"text\": {\n \"value\": \"Channel Text note\\n1 king bed\\nNon-Smoking\\nBill guest full stay\"\n },\n \"commentTitle\": \"Notes from Channel\",\n \"notificationLocation\": \"RESERVATION\",\n \"type\": \"GEN\",\n \"internal\": true,\n \"confidential\": false,\n \"overrideInternal\": false\n }\n }\n ],\n \"printRate\": false,\n \"optedForCommunication\": false\n }\n ]\n}"
},
"url": {
"raw": "{{HostName}}/resnotif/v0/hotels/{{HotelCode}}/reservations",
@@ -4085,12 +6326,13 @@
"{{HotelCode}}",
"reservations"
]
- }
+ },
+ "description": "Sample with a single night, with guest CC on folio 1"
},
"response": []
},
{
- "name": "post Reservation Notif -> with Transport Information",
+ "name": "post Reservation Notif (v0) -> with Transport Information",
"event": [
{
"listen": "test",
@@ -4138,7 +6380,7 @@
],
"body": {
"mode": "raw",
- "raw": "{\n \"reservations\": [\n {\n \"reservationIdList\": [\n {\n \"id\": \"{{$guid}}\",\n \"idExtension\": \"1\"\n }\n ],\n \"lastModifyDateTime\": \"2020-07-01T12:21:00-07:00\",\n \"roomStay\": {\n \"arrivalDate\": \"{{currentdateplus1}}\",\n \"departureDate\": \"{{currentdateplus2}}\",\n \"roomRates\": [\n {\n \"rates\": {\n \"rate\": [\n {\n \"base\": {\n \"amountBeforeTax\": 200,\n \"currencyCode\": \"{{currencyCode}}\"\n },\n \"start\": \"{{currentdateplus1}}\",\n \"end\": \"{{currentdateplus1}}\"\n }\n ]\n },\n \"guestCounts\": {\n \"childAges\": [\n 4,\n 9,\n 17\n ],\n \"adults\": 2,\n \"children\": 3\n },\n \"roomType\": \"{{RoomTypeCode}}\",\n \"ratePlanCode\": \"{{RatePlanCode}}\",\n \"numberOfUnits\": 1,\n \"start\": \"{{currentdateplus1}}\",\n \"end\": \"{{currentdateplus1}}\"\n }\n ],\n \"total\": {\n \"amountAfterTax\": 200,\n \"amountBeforeTax\": 20.09,\n \"currencyCode\": \"{{currencyCode}}\"\n },\n \"guarantee\": {\n \"guaranteeCode\": \"5\"\n },\n \"printRate\": false\n },\n \"reservationGuests\": [\n {\n \"profileInfo\": {\n \"profile\": {\n \"customer\": {\n \"personName\": [\n {\n \"surname\": \"Smith\",\n \"givenName\": \"Mary\",\n \"nameTitle\": \"Mr and Mrs\",\n \"nameType\": \"Primary\",\n \"email\": \"customer@email.com\",\n \"phoneNumber\": \"123-410-3186\",\n \"address\": {\n \"addressLine\": [\n \"3450 North Triumph Boulevard\"\n ],\n \"cityName\": \"Lehi\",\n \"postalCode\": 84043,\n \"country\": {\n \"code\": \"US\"\n },\n \"state\": \"UT\"\n }\n }\n ],\n \"language\": \"en-us\"\n },\n \"profileType\": \"Guest\"\n }\n },\n \"arrivalTransport\": {\n \"comments\": \"Arrival by flight\",\n \"type\": \"AIR\",\n \"transportCode\": \"123\",\n \"carrierCode\": \"AI\",\n \"stationCode\": \"BLR\",\n \"dateTime\": \"{{currentdateplus1}}T19:21:00.000Z\",\n \"transportationReqd\": true\n },\n \"departureTransport\": {\n \"comments\": \"Departure by flight\",\n \"type\": \"AIR\",\n \"transportCode\": \"123\",\n \"carrierCode\": \"AI\",\n \"stationCode\": \"BLR\",\n \"dateTime\": \"{{currentdateplus2}}T19:21:00.000Z\",\n \"transportationReqd\": true\n },\n \"primary\": true\n },\n {\n \"profileInfo\": {\n \"profileIdList\": [\n {\n \"id\": \"12345671\",\n \"type\": \"TravelAgent\"\n }\n ],\n \"profile\": {\n \"profileType\": \"TravelAgent\",\n \"companyInfo\": {\n \"companyName\": \"Smith Travel\"\n }\n }\n }\n },\n {\n \"profileInfo\": {\n \"profileIdList\": [\n {\n \"id\": \"12345672\",\n \"type\": \"Source\"\n }\n ],\n \"profile\": {\n \"profileType\": \"Source\",\n \"companyInfo\": {\n \"companyName\": \"Smith Travel POS\"\n }\n }\n }\n },\n {\n \"profileInfo\": {\n \"profileIdList\": [\n {\n \"id\": \"ORACLE\",\n \"type\": \"Company\"\n }\n ],\n \"profile\": {\n \"profileType\": \"Company\",\n \"companyInfo\": {\n \"companyName\": \"Oracle Corporation\"\n }\n }\n }\n }\n ],\n \"reservationPaymentMethods\": [\n {\n \"paymentMethod\": \"5\",\n \"folioView\": \"1\",\n \"paymentCard\": {\n \"cardType\": \"AX\",\n \"cardNumber\": \"371449635398431\",\n \"expirationDate\": \"06/25\",\n \"cardHolderName\": \"SomeChannel VirtualCard\"\n }\n }\n ],\n \"hotelCode\": \"{{HotelCode}}\",\n \"messageId\": \"{{$randomUUID}}\",\n \"comments\": [\n {\n \"comment\": {\n \"text\": {\n \"value\": \"Channel Text note\\n1 king bed\\nNon-Smoking\\nBill guest full stay\"\n },\n \"commentTitle\": \"Notes from Channel\",\n \"notificationLocation\": \"RESERVATION\",\n \"type\": \"GEN\",\n \"internal\": true,\n \"confidential\": false,\n \"overrideInternal\": false\n }\n }\n ],\n \"printRate\": false,\n \"optedForCommunication\": false\n }\n ]\n}"
+ "raw": "{\n \"reservations\": [\n {\n \"reservationIdList\": [\n {\n \"id\": \"{{$timestamp}}-{{channelCode}}\",\n \"idExtension\": \"1\"\n }\n ],\n \"lastModifyDateTime\": \"2020-07-01T12:21:00-07:00\",\n \"roomStay\": {\n \"arrivalDate\": \"{{currentdateplus1}}\",\n \"departureDate\": \"{{currentdateplus2}}\",\n \"roomRates\": [\n {\n \"rates\": {\n \"rate\": [\n {\n \"base\": {\n \"amountBeforeTax\": 200,\n \"currencyCode\": \"{{currencyCode}}\"\n },\n \"start\": \"{{currentdateplus1}}\",\n \"end\": \"{{currentdateplus1}}\"\n }\n ]\n },\n \"guestCounts\": {\n \"childAges\": [\n 4,\n 9,\n 17\n ],\n \"adults\": 2,\n \"children\": 3\n },\n \"roomType\": \"{{RoomTypeCode}}\",\n \"ratePlanCode\": \"{{RatePlanCode}}\",\n \"numberOfUnits\": 1,\n \"start\": \"{{currentdateplus1}}\",\n \"end\": \"{{currentdateplus1}}\"\n }\n ],\n \"total\": {\n \"amountAfterTax\": 200,\n \"amountBeforeTax\": 20.09,\n \"currencyCode\": \"{{currencyCode}}\"\n },\n \"guarantee\": {\n \"guaranteeType\": \"5\"\n },\n \"printRate\": false\n },\n \"reservationGuests\": [\n {\n \"profileInfo\": {\n \"profile\": {\n \"customer\": {\n \"personName\": [\n {\n \"surname\": \"{{$randomLastName}}\",\n \"givenName\": \"{{$randomFirstName}}\",\n \"nameTitle\": \"Mr and Mrs\",\n \"nameType\": \"Primary\",\n \"email\": \"{{$randomEmail}}\",\n \"phoneNumber\": \"{{$randomPhoneNumber}}\",\n \"address\": {\n \"addressLine\": [\n \"{{$randomStreetAddress}}\"\n ],\n \"cityName\": \"{{$randomCity}}\",\n \"postalCode\": \"AS 111\",\n \"country\": {\n \"code\": \"{{$randomCountryCode}}\"\n },\n \"state\": \"UT\"\n }\n }\n ],\n \"language\": \"en-us\"\n },\n \"profileType\": \"Guest\"\n }\n },\n \"arrivalTransport\": {\n \"comments\": \"Arrival by flight\",\n \"type\": \"AIR\",\n \"transportCode\": \"123\",\n \"carrierCode\": \"AI\",\n \"stationCode\": \"BLR\",\n \"dateTime\": \"{{currentdateplus1}}T19:21:00.000Z\",\n \"transportationReqd\": true\n },\n \"departureTransport\": {\n \"comments\": \"Departure by flight\",\n \"type\": \"AIR\",\n \"transportCode\": \"123\",\n \"carrierCode\": \"AI\",\n \"stationCode\": \"BLR\",\n \"dateTime\": \"{{currentdateplus2}}T19:21:00.000Z\",\n \"transportationReqd\": true\n },\n \"primary\": true\n },\n {\n \"profileInfo\": {\n \"profileIdList\": [\n {\n \"id\": \"12345671\",\n \"type\": \"TravelAgent\"\n }\n ],\n \"profile\": {\n \"profileType\": \"TravelAgent\",\n \"companyInfo\": {\n \"companyName\": \"Smith Travel\"\n }\n }\n }\n },\n {\n \"profileInfo\": {\n \"profileIdList\": [\n {\n \"id\": \"12345672\",\n \"type\": \"Source\"\n }\n ],\n \"profile\": {\n \"profileType\": \"Source\",\n \"companyInfo\": {\n \"companyName\": \"Smith Travel POS\"\n }\n }\n }\n },\n {\n \"profileInfo\": {\n \"profileIdList\": [\n {\n \"id\": \"ORACLE\",\n \"type\": \"Company\"\n }\n ],\n \"profile\": {\n \"profileType\": \"Company\",\n \"companyInfo\": {\n \"companyName\": \"Oracle Corporation\"\n }\n }\n }\n }\n ],\n \"reservationPaymentMethods\": [\n {\n \"paymentMethod\": \"5\",\n \"folioView\": \"1\",\n \"paymentCard\": {\n \"cardType\": \"AX\",\n \"cardNumber\": \"371449635398431\",\n \"expirationDate\": \"06/25\",\n \"cardHolderName\": \"SomeChannel VirtualCard\"\n }\n }\n ],\n \"hotelCode\": \"{{HotelCode}}\",\n \"messageId\": \"{{$randomUUID}}\",\n \"comments\": [\n {\n \"comment\": {\n \"text\": {\n \"value\": \"Channel Text note\\n1 king bed\\nNon-Smoking\\nBill guest full stay\"\n },\n \"commentTitle\": \"Notes from Channel\",\n \"notificationLocation\": \"RESERVATION\",\n \"type\": \"GEN\",\n \"internal\": true,\n \"confidential\": false,\n \"overrideInternal\": false\n }\n }\n ],\n \"printRate\": false,\n \"optedForCommunication\": false\n }\n ]\n}"
},
"url": {
"raw": "{{HostName}}/resnotif/v0/hotels/{{HotelCode}}/reservations",
@@ -4158,7 +6400,7 @@
"response": []
},
{
- "name": "post Reservation Notif -> with Membership",
+ "name": "post Reservation Notif (v0) -> with Membership",
"event": [
{
"listen": "test",
@@ -4206,7 +6448,7 @@
],
"body": {
"mode": "raw",
- "raw": "{\n \"reservations\": [\n {\n \"reservationIdList\": [\n {\n \"id\": \"{{$guid}}\",\n \"idExtension\": \"1\"\n }\n ],\n \"lastModifyDateTime\": \"2020-07-01T12:21:00-07:00\",\n \"roomStay\": {\n \"arrivalDate\": \"{{currentdateplus1}}\",\n \"departureDate\": \"{{currentdateplus2}}\",\n \"roomRates\": [\n {\n \"rates\": {\n \"rate\": [\n {\n \"base\": {\n \"amountBeforeTax\": 200,\n \"currencyCode\": \"{{currencyCode}}\"\n },\n \"start\": \"{{currentdateplus1}}\",\n \"end\": \"{{currentdateplus1}}\"\n }\n ]\n },\n \"guestCounts\": {\n \"childAges\": [\n 4,\n 9,\n 17\n ],\n \"adults\": 2,\n \"children\": 3\n },\n \"roomType\": \"{{RoomTypeCode}}\",\n \"ratePlanCode\": \"{{RatePlanCode}}\",\n \"numberOfUnits\": 1,\n \"start\": \"{{currentdateplus1}}\",\n \"end\": \"{{currentdateplus1}}\"\n }\n ],\n \"total\": {\n \"amountAfterTax\": 200,\n \"amountBeforeTax\": 20.09,\n \"currencyCode\": \"{{currencyCode}}\"\n },\n \"guarantee\": {\n \"guaranteeCode\": \"5\"\n },\n \"printRate\": false\n },\n \"reservationGuests\": [\n {\n \"profileInfo\": {\n \"profile\": {\n \"customer\": {\n \"personName\": [\n {\n \"surname\": \"Smith\",\n \"givenName\": \"Mary\",\n \"nameTitle\": \"Mr and Mrs\",\n \"nameType\": \"Primary\",\n \"email\": \"customer@email.com\",\n \"phoneNumber\": \"123-410-3186\",\n \"address\": {\n \"addressLine\": [\n \"3450 North Triumph Boulevard\"\n ],\n \"cityName\": \"Lehi\",\n \"postalCode\": 84043,\n \"country\": {\n \"code\": \"US\"\n },\n \"state\": \"UT\"\n }\n }\n ],\n \"language\": \"en-us\"\n },\n \"profileType\": \"Guest\"\n }\n },\n \"primary\": true\n },\n {\n \"profileInfo\": {\n \"profileIdList\": [\n {\n \"id\": \"12345671\",\n \"type\": \"TravelAgent\"\n }\n ],\n \"profile\": {\n \"profileType\": \"TravelAgent\",\n \"companyInfo\": {\n \"companyName\": \"Smith Travel\"\n }\n }\n }\n },\n {\n \"profileInfo\": {\n \"profileIdList\": [\n {\n \"id\": \"12345672\",\n \"type\": \"Source\"\n }\n ],\n \"profile\": {\n \"profileType\": \"Source\",\n \"companyInfo\": {\n \"companyName\": \"Smith Travel POS\"\n }\n }\n }\n },\n {\n \"profileInfo\": {\n \"profileIdList\": [\n {\n \"id\": \"ORACLE\",\n \"type\": \"Company\"\n }\n ],\n \"profile\": {\n \"profileType\": \"Company\",\n \"companyInfo\": {\n \"companyName\": \"Oracle Corporation\"\n }\n }\n }\n }\n ],\n \"reservationPaymentMethods\": [\n {\n \"paymentMethod\": \"5\",\n \"folioView\": \"1\",\n \"paymentCard\": {\n \"cardType\": \"AX\",\n \"cardNumber\": \"371449635398431\",\n \"expirationDate\": \"06/25\",\n \"cardHolderName\": \"SomeChannel VirtualCard\"\n }\n }\n ],\n \"reservationMemberships\": [\n {\n \"membershipLevel\": \"ENTRY\",\n \"membershipId\": \"O12345F\",\n \"membershipType\": \"MF\"\n }\n ],\n \"hotelCode\": \"{{HotelCode}}\",\n \"messageId\": \"{{$randomUUID}}\",\n \"comments\": [\n {\n \"comment\": {\n \"text\": {\n \"value\": \"Channel Text note\\n1 king bed\\nNon-Smoking\\nBill guest full stay\"\n },\n \"commentTitle\": \"Notes from Channel\",\n \"notificationLocation\": \"RESERVATION\",\n \"type\": \"GEN\",\n \"internal\": true,\n \"confidential\": false,\n \"overrideInternal\": false\n }\n }\n ],\n \"printRate\": false,\n \"optedForCommunication\": false\n }\n ]\n}"
+ "raw": "{\n \"reservations\": [\n {\n \"reservationIdList\": [\n {\n \"id\": \"{{$timestamp}}-{{channelCode}}\",\n \"idExtension\": \"1\"\n }\n ],\n \"lastModifyDateTime\": \"2020-07-01T12:21:00-07:00\",\n \"roomStay\": {\n \"arrivalDate\": \"{{currentdateplus1}}\",\n \"departureDate\": \"{{currentdateplus2}}\",\n \"roomRates\": [\n {\n \"rates\": {\n \"rate\": [\n {\n \"base\": {\n \"amountBeforeTax\": 200,\n \"currencyCode\": \"{{currencyCode}}\"\n },\n \"start\": \"{{currentdateplus1}}\",\n \"end\": \"{{currentdateplus1}}\"\n }\n ]\n },\n \"guestCounts\": {\n \"childAges\": [\n 4,\n 9,\n 17\n ],\n \"adults\": 2,\n \"children\": 3\n },\n \"roomType\": \"{{RoomTypeCode}}\",\n \"ratePlanCode\": \"{{RatePlanCode}}\",\n \"numberOfUnits\": 1,\n \"start\": \"{{currentdateplus1}}\",\n \"end\": \"{{currentdateplus1}}\"\n }\n ],\n \"total\": {\n \"amountAfterTax\": 200,\n \"amountBeforeTax\": 20.09,\n \"currencyCode\": \"{{currencyCode}}\"\n },\n \"guarantee\": {\n \"guaranteeType\": \"5\"\n },\n \"printRate\": false\n },\n \"reservationGuests\": [\n {\n \"profileInfo\": {\n \"profile\": {\n \"customer\": {\n \"personName\": [\n {\n \"surname\": \"{{$randomLastName}}\",\n \"givenName\": \"{{$randomFirstName}}\",\n \"nameTitle\": \"Mr and Mrs\",\n \"nameType\": \"Primary\",\n \"email\": \"{{$randomEmail}}\",\n \"phoneNumber\": \"{{$randomPhoneNumber}}\",\n \"address\": {\n \"addressLine\": [\n \"{{$randomStreetAddress}}\"\n ],\n \"cityName\": \"{{$randomCity}}\",\n \"postalCode\": \"AS 111\",\n \"country\": {\n \"code\": \"{{$randomCountryCode}}\"\n },\n \"state\": \"UT\"\n }\n }\n ],\n \"language\": \"en-us\"\n },\n \"profileType\": \"Guest\"\n }\n },\n \"primary\": true\n },\n {\n \"profileInfo\": {\n \"profileIdList\": [\n {\n \"id\": \"12345671\",\n \"type\": \"TravelAgent\"\n }\n ],\n \"profile\": {\n \"profileType\": \"TravelAgent\",\n \"companyInfo\": {\n \"companyName\": \"Smith Travel\"\n }\n }\n }\n },\n {\n \"profileInfo\": {\n \"profileIdList\": [\n {\n \"id\": \"12345672\",\n \"type\": \"Source\"\n }\n ],\n \"profile\": {\n \"profileType\": \"Source\",\n \"companyInfo\": {\n \"companyName\": \"Smith Travel POS\"\n }\n }\n }\n },\n {\n \"profileInfo\": {\n \"profileIdList\": [\n {\n \"id\": \"ORACLE\",\n \"type\": \"Company\"\n }\n ],\n \"profile\": {\n \"profileType\": \"Company\",\n \"companyInfo\": {\n \"companyName\": \"Oracle Corporation\"\n }\n }\n }\n }\n ],\n \"reservationPaymentMethods\": [\n {\n \"paymentMethod\": \"5\",\n \"folioView\": \"1\",\n \"paymentCard\": {\n \"cardType\": \"AX\",\n \"cardNumber\": \"371449635398431\",\n \"expirationDate\": \"06/25\",\n \"cardHolderName\": \"SomeChannel VirtualCard\"\n }\n }\n ],\n \"reservationMemberships\": [\n {\n \"membershipLevel\": \"ENTRY\",\n \"membershipId\": \"O12345F\",\n \"membershipType\": \"MF\"\n }\n ],\n \"hotelCode\": \"{{HotelCode}}\",\n \"messageId\": \"{{$randomUUID}}\",\n \"comments\": [\n {\n \"comment\": {\n \"text\": {\n \"value\": \"Channel Text note\\n1 king bed\\nNon-Smoking\\nBill guest full stay\"\n },\n \"commentTitle\": \"Notes from Channel\",\n \"notificationLocation\": \"RESERVATION\",\n \"type\": \"GEN\",\n \"internal\": true,\n \"confidential\": false,\n \"overrideInternal\": false\n }\n }\n ],\n \"printRate\": false,\n \"optedForCommunication\": false\n }\n ]\n}"
},
"url": {
"raw": "{{HostName}}/resnotif/v0/hotels/{{HotelCode}}/reservations",
@@ -4226,7 +6468,18 @@
"response": []
},
{
- "name": "post Reservation Notif -> 3 nights, rate changes, VCC on folio 2",
+ "name": "post Reservation Notif (v0) -> Attach to OPERA Block code",
+ "event": [
+ {
+ "listen": "test",
+ "script": {
+ "exec": [
+ ""
+ ],
+ "type": "text/javascript"
+ }
+ }
+ ],
"request": {
"auth": {
"type": "bearer",
@@ -4242,25 +6495,28 @@
"header": [
{
"key": "Authorization",
- "value": "Bearer {{Token}}"
+ "value": "Bearer {{Token}}",
+ "type": "text"
},
{
"key": "Content-Type",
- "value": "application/json; charset=utf-8"
+ "value": "application/json; charset=utf-8",
+ "type": "text"
},
{
"key": "x-channelCode",
- "value": "{{ResNotifChannelCode}}"
+ "value": "{{ResNotifChannelCode}}",
+ "type": "text"
},
{
"key": "x-app-key",
- "type": "text",
- "value": "{{AppKey}}"
+ "value": "{{AppKey}}",
+ "type": "text"
}
],
"body": {
"mode": "raw",
- "raw": "{\n \"reservations\": [\n {\n \"reservationIdList\": [\n {\n \"id\": \"{{$guid}}\",\n \"idExtension\": \"1\"\n }\n ],\n \"lastModifyDateTime\": \"2020-07-01T12:21:00-07:00\",\n \"roomStay\": {\n \"arrivalDate\": \"{{currentdateplus1}}\",\n \"departureDate\": \"{{currentdateplus4}}\",\n \"roomRates\": [\n {\n \"rates\": {\n \"rate\": [\n {\n \"base\": {\n \"amountBeforeTax\": 200,\n \"currencyCode\": \"{{currencyCode}}\"\n },\n \"start\": \"{{currentdateplus1}}\",\n \"end\": \"{{currentdateplus1}}\"\n }\n ]\n },\n \"guestCounts\": {\n \"childAges\": [\n 4,\n 9,\n 17\n ],\n \"adults\": 2,\n \"children\": 3\n },\n \"roomType\": \"{{RoomTypeCode}}\",\n \"ratePlanCode\": \"{{RatePlanCode}}\",\n \"numberOfUnits\": 1,\n \"start\": \"{{currentdateplus1}}\",\n \"end\": \"{{currentdateplus1}}\"\n },\n {\n \"rates\": {\n \"rate\": [\n {\n \"base\": {\n \"amountBeforeTax\": 300,\n \"currencyCode\": \"{{currencyCode}}\"\n },\n \"start\": \"{{currentdateplus2}}\",\n \"end\": \"{{currentdateplus2}}\"\n }\n ]\n },\n \"guestCounts\": {\n \"childAges\": [\n 4,\n 9,\n 17\n ],\n \"adults\": 2,\n \"children\": 3\n },\n \"roomType\": \"{{RoomTypeCode}}\",\n \"ratePlanCode\": \"{{RatePlanCode}}\",\n \"numberOfUnits\": 1,\n \"start\": \"{{currentdateplus2}}\",\n \"end\": \"{{currentdateplus2}}\"\n },\n {\n \"rates\": {\n \"rate\": [\n {\n \"base\": {\n \"amountBeforeTax\": 200,\n \"currencyCode\": \"{{currencyCode}}\"\n },\n \"start\": \"{{currentdateplus3}}\",\n \"end\": \"{{currentdateplus3}}\"\n }\n ]\n },\n \"guestCounts\": {\n \"childAges\": [\n 4,\n 9,\n 17\n ],\n \"adults\": 2,\n \"children\": 3\n },\n \"roomType\": \"{{RoomTypeCode}}\",\n \"ratePlanCode\": \"{{RatePlanCode}}\",\n \"numberOfUnits\": 1,\n \"start\": \"{{currentdateplus3}}\",\n \"end\": \"{{currentdateplus3}}\"\n }\n ],\n \"total\": {\n \"amountAfterTax\": 700,\n \"amountBeforeTax\": 67.09,\n \"currencyCode\": \"{{currencyCode}}\"\n },\n \"guarantee\": {\n \"guaranteeCode\": \"5\",\n \"onHold\": false\n }\n },\n \"reservationGuests\": [\n {\n \"profileInfo\": {\n \"profile\": {\n \"customer\": {\n \"personName\": [\n {\n \"surname\": \"Smith\",\n \"givenName\": \"Mary\",\n \"nameTitle\": \"Mr and Mrs\",\n \"nameType\": \"Primary\",\n \"email\": \"customer@email.com\",\n \"phoneNumber\": \"123-410-3186\",\n \"address\": {\n \"addressLine\": [\n \"3450 North Triumph Boulevarde\"\n ],\n \"cityName\": \"Lehi\",\n \"postalCode\": 84043,\n \"country\": {\n \"code\": \"US\"\n },\n \"state\": \"UT\"\n }\n }\n ],\n \"language\": \"en-us\"\n },\n \"profileType\": \"Guest\"\n }\n },\n \"primary\": true\n },\n {\n \"profileInfo\": {\n \"profileIdList\": [\n {\n \"id\": \"NCSP\",\n \"type\": \"TravelAgent\"\n }\n ],\n \"profile\": {\n \"profileType\": \"TravelAgent\",\n \"companyInfo\": {\n \"companyName\": \"NCSP\"\n }\n }\n }\n }\n ],\n \"reservationPaymentMethods\": [\n {\n \"paymentMethod\": \"38\",\n \"folioView\": \"1\"\n },\n {\n \"paymentMethod\": \"5\",\n \"folioView\": \"2\",\n \"paymentCard\": {\n \"cardType\": \"VI\",\n \"cardNumber\": \"1234123412341234\",\n \"expirationDate\": \"06/25\",\n \"cardHolderName\": \"ABC VirtualCard\"\n }\n }\n ],\n \"hotelCode\": \"{{HotelCode}}\",\n \"messageId\": \"{{$randomUUID}}\",\n \"comments\": [\n {\n \"comment\": {\n \"text\": {\n \"value\": \"Channel Text note\\n1 king bed\\nNon-Smoking\\nBill guest full stay\"\n },\n \"commentTitle\": \"Notes from Channel\",\n \"notificationLocation\": \"RESERVATION\",\n \"type\": \"GEN\",\n \"internal\": true,\n \"confidential\": false,\n \"overrideInternal\": false\n }\n }\n ],\n \"printRate\": false,\n \"optedForCommunication\": false\n }\n ]\n}"
+ "raw": "{\n \"reservations\": [\n {\n \"reservationIdList\": [\n {\n \"id\": \"{{$timestamp}}-{{channelCode}}\",\n \"idExtension\": \"1\"\n }\n ],\n \"lastModifyDateTime\": \"2020-07-01T12:21:00-07:00\",\n \"roomStay\": {\n \"arrivalDate\": \"{{currentdateplus1}}\",\n \"departureDate\": \"{{currentdateplus2}}\",\n \"roomRates\": [\n {\n \"rates\": {\n \"rate\": [\n {\n \"base\": {\n \"amountBeforeTax\": 200,\n \"currencyCode\": \"{{currencyCode}}\"\n },\n \"start\": \"{{currentdateplus1}}\",\n \"end\": \"{{currentdateplus1}}\"\n }\n ]\n },\n \"guestCounts\": {\n \"childAges\": [\n 4,\n 9,\n 17\n ],\n \"adults\": 2,\n \"children\": 3\n },\n \"roomType\": \"{{RoomTypeCode}}\",\n \"ratePlanCode\": \"{{RatePlanCode}}\",\n \"numberOfUnits\": 1,\n \"start\": \"{{currentdateplus1}}\",\n \"end\": \"{{currentdateplus1}}\",\n \"reservationBlock\": {\n \"blockIdList\": [\n {\n \"id\": \"BLOCKCODE\",\n \"type\": \"BlockCode\"\n }\n ]\n }\n }\n ],\n \"total\": {\n \"amountAfterTax\": 200,\n \"amountBeforeTax\": 20.09,\n \"currencyCode\": \"{{currencyCode}}\"\n },\n \"guarantee\": {\n \"guaranteeType\": \"5\"\n },\n \"printRate\": false\n },\n \"reservationGuests\": [\n {\n \"profileInfo\": {\n \"profile\": {\n \"customer\": {\n \"personName\": [\n {\n \"surname\": \"{{$randomLastName}}\",\n \"givenName\": \"{{$randomFirstName}}\",\n \"nameTitle\": \"Mr and Mrs\",\n \"nameType\": \"Primary\",\n \"email\": \"{{$randomEmail}}\",\n \"phoneNumber\": \"{{$randomPhoneNumber}}\",\n \"address\": {\n \"addressLine\": [\n \"{{$randomStreetAddress}}\"\n ],\n \"cityName\": \"{{$randomCity}}\",\n \"postalCode\": \"AS 111\",\n \"country\": {\n \"code\": \"{{$randomCountryCode}}\"\n },\n \"state\": \"UT\"\n }\n }\n ],\n \"language\": \"en-us\"\n },\n \"profileType\": \"Guest\"\n }\n },\n \"primary\": true\n },\n {\n \"profileInfo\": {\n \"profileIdList\": [\n {\n \"id\": \"12345671\",\n \"type\": \"TravelAgent\"\n }\n ],\n \"profile\": {\n \"profileType\": \"TravelAgent\",\n \"companyInfo\": {\n \"companyName\": \"Smith Travel\"\n }\n }\n }\n },\n {\n \"profileInfo\": {\n \"profileIdList\": [\n {\n \"id\": \"12345672\",\n \"type\": \"Source\"\n }\n ],\n \"profile\": {\n \"profileType\": \"Source\",\n \"companyInfo\": {\n \"companyName\": \"Smith Travel POS\"\n }\n }\n }\n },\n {\n \"profileInfo\": {\n \"profileIdList\": [\n {\n \"id\": \"ORACLE\",\n \"type\": \"Company\"\n }\n ],\n \"profile\": {\n \"profileType\": \"Company\",\n \"companyInfo\": {\n \"companyName\": \"Oracle Corporation\"\n }\n }\n }\n }\n ],\n \"reservationPaymentMethods\": [\n {\n \"paymentMethod\": \"5\",\n \"folioView\": \"1\",\n \"paymentCard\": {\n \"cardType\": \"AX\",\n \"cardNumber\": \"371449635398431\",\n \"expirationDate\": \"06/25\",\n \"cardHolderName\": \"SomeChannel VirtualCard\"\n }\n }\n ],\n \"hotelCode\": \"{{HotelCode}}\",\n \"messageId\": \"{{$randomUUID}}\",\n \"comments\": [\n {\n \"comment\": {\n \"text\": {\n \"value\": \"Channel Text note\\n1 king bed\\nNon-Smoking\\nBill guest full stay\"\n },\n \"commentTitle\": \"Notes from Channel\",\n \"notificationLocation\": \"RESERVATION\",\n \"type\": \"GEN\",\n \"internal\": true,\n \"confidential\": false,\n \"overrideInternal\": false\n }\n }\n ],\n \"printRate\": false,\n \"optedForCommunication\": false\n }\n ]\n}"
},
"url": {
"raw": "{{HostName}}/resnotif/v0/hotels/{{HotelCode}}/reservations",
@@ -4274,12 +6530,13 @@
"{{HotelCode}}",
"reservations"
]
- }
+ },
+ "description": "Sample with a single night, with guest CC on folio 1"
},
"response": []
},
{
- "name": "post Reservation Notif -> 1st res for Multi room reservation",
+ "name": "post Reservation Notif (v0) -> Single Night Non Guaranteed",
"event": [
{
"listen": "test",
@@ -4306,28 +6563,28 @@
"header": [
{
"key": "Authorization",
- "value": "Bearer {{Token}}",
- "type": "text"
+ "type": "text",
+ "value": "Bearer {{Token}}"
},
{
"key": "Content-Type",
- "value": "application/json; charset=utf-8",
- "type": "text"
+ "type": "text",
+ "value": "application/json; charset=utf-8"
},
{
"key": "x-channelCode",
- "value": "{{ResNotifChannelCode}}",
- "type": "text"
+ "type": "text",
+ "value": "{{ResNotifChannelCode}}"
},
{
"key": "x-app-key",
- "value": "{{AppKey}}",
- "type": "text"
+ "type": "text",
+ "value": "{{AppKey}}"
}
],
"body": {
"mode": "raw",
- "raw": "{\n \"reservations\": [\n {\n \"reservationIdList\": [\n {\n \"id\": \"{{$guid}}\",\n \"idExtension\": \"1\"\n }\n ],\n \"lastModifyDateTime\": \"2020-07-01T12:21:00-07:00\",\n \"roomStay\": {\n \"arrivalDate\": \"{{currentdateplus1}}\",\n \"departureDate\": \"{{currentdateplus2}}\",\n \"roomRates\": [\n {\n \"rates\": {\n \"rate\": [\n {\n \"base\": {\n \"amountBeforeTax\": 200,\n \"currencyCode\": \"{{currencyCode}}\"\n },\n \"start\": \"{{currentdateplus1}}\",\n \"end\": \"{{currentdateplus1}}\"\n }\n ]\n },\n \"guestCounts\": {\n \"childAges\": [\n 4,\n 9,\n 17\n ],\n \"adults\": 2,\n \"children\": 3\n },\n \"roomType\": \"{{RoomTypeCode}}\",\n \"ratePlanCode\": \"{{RatePlanCode}}\",\n \"numberOfUnits\": 1,\n \"start\": \"{{currentdateplus1}}\",\n \"end\": \"{{currentdateplus1}}\"\n }\n ],\n \"total\": {\n \"amountAfterTax\": 200,\n \"amountBeforeTax\": 20.09,\n \"currencyCode\": \"{{currencyCode}}\"\n },\n \"guarantee\": {\n \"guaranteeCode\": \"5\",\n \"onHold\": false\n },\n \"printRate\": false\n },\n \"reservationGuests\": [\n {\n \"profileInfo\": {\n \"profile\": {\n \"customer\": {\n \"personName\": [\n {\n \"surname\": \"Smith\",\n \"givenName\": \"Mary\",\n \"nameTitle\": \"Mr and Mrs\",\n \"nameType\": \"Primary\",\n \"email\": \"customer@email.com\",\n \"phoneNumber\": \"123-410-3186\",\n \"address\": {\n \"addressLine\": [\n \"3450 North Triumph Boulevard\"\n ],\n \"cityName\": \"Lehi\",\n \"postalCode\": 84043,\n \"country\": {\n \"code\": \"US\"\n },\n \"state\": \"UT\"\n }\n }\n ],\n \"language\": \"en-us\"\n },\n \"profileType\": \"Guest\"\n }\n },\n \"primary\": true\n },\n {\n \"profileInfo\": {\n \"profileIdList\": [\n {\n \"id\": \"12345671\",\n \"type\": \"TravelAgent\"\n }\n ],\n \"profile\": {\n \"profileType\": \"TravelAgent\",\n \"companyInfo\": {\n \"companyName\": \"Smith Travel\"\n }\n }\n }\n },\n {\n \"profileInfo\": {\n \"profileIdList\": [\n {\n \"id\": \"12345672\",\n \"type\": \"Source\"\n }\n ],\n \"profile\": {\n \"profileType\": \"Source\",\n \"companyInfo\": {\n \"companyName\": \"Smith Travel POS\"\n }\n }\n }\n },\n {\n \"profileInfo\": {\n \"profileIdList\": [\n {\n \"id\": \"ORACLE\",\n \"type\": \"Company\"\n }\n ],\n \"profile\": {\n \"profileType\": \"Company\",\n \"companyInfo\": {\n \"companyName\": \"Oracle Corporation\"\n }\n }\n }\n }\n ],\n \"reservationPaymentMethods\": [\n {\n \"paymentMethod\": \"5\",\n \"folioView\": \"1\",\n \"paymentCard\": {\n \"cardType\": \"AX\",\n \"cardNumber\": \"371449635398431\",\n \"expirationDate\": \"06/25\",\n \"cardHolderName\": \"SomeChannel VirtualCard\"\n }\n }\n ],\n \"hotelCode\": \"{{HotelCode}}\",\n \"messageId\": \"{{$randomUUID}}\",\n \"comments\": [\n {\n \"comment\": {\n \"text\": {\n \"value\": \"Channel Text note\\n1 king bed\\nNon-Smoking\\nBill guest full stay\"\n },\n \"commentTitle\": \"Notes from Channel\",\n \"notificationLocation\": \"RESERVATION\",\n \"type\": \"GEN\",\n \"internal\": true,\n \"confidential\": false,\n \"overrideInternal\": false\n }\n }\n ],\n \"printRate\": false,\n \"optedForCommunication\": false\n }\n ]\n}"
+ "raw": "{\n \"reservations\": [\n {\n \"reservationIdList\": [\n {\n \"id\": \"{{$timestamp}}-{{channelCode}}\",\n \"idExtension\": \"1\"\n }\n ],\n \"lastModifyDateTime\": \"2021-07-01T12:21:00-07:00\",\n \"roomStay\": {\n \"arrivalDate\": \"{{currentdateplus1}}\",\n \"departureDate\": \"{{currentdateplus2}}\",\n \"roomRates\": [\n {\n \"rates\": {\n \"rate\": [\n {\n \"base\": {\n \"amountBeforeTax\": 200,\n \"currencyCode\": \"{{currencyCode}}\"\n },\n \"start\": \"{{currentdateplus1}}\",\n \"end\": \"{{currentdateplus1}}\"\n }\n ]\n },\n \"guestCounts\": {\n \"childAges\": [\n 4,\n 9,\n 17\n ],\n \"adults\": 2,\n \"children\": 3\n },\n \"roomType\": \"{{RoomTypeCode}}\",\n \"ratePlanCode\": \"{{RatePlanCode}}\",\n \"suppressRate\": false,\n \"numberOfUnits\": 1,\n \"start\": \"{{currentdateplus1}}\",\n \"end\": \"{{currentdateplus1}}\"\n }\n ],\n \"total\": {\n \"amountAfterTax\": 200,\n \"amountBeforeTax\": 20.09,\n \"currencyCode\": \"{{currencyCode}}\"\n },\n \"guarantee\": {\n \"guaranteeType\": \"38\",\n \"onHold\": false\n }\n },\n \"reservationGuests\": [\n {\n \"profileInfo\": {\n \"profile\": {\n \"customer\": {\n \"personName\": [\n {\n \"surname\": \"{{$randomLastName}}\",\n \"givenName\": \"{{$randomFirstName}}\",\n \"nameTitle\": \"Mr and Mrs\",\n \"nameType\": \"Primary\",\n \"email\": \"{{$randomEmail}}\",\n \"phoneNumber\": \"{{$randomPhoneNumber}}\",\n \"address\": {\n \"addressLine\": [\n \"{{$randomStreetAddress}}\"\n ],\n \"cityName\": \"{{$randomCity}}\",\n \"postalCode\": \"AS 111\",\n \"country\": {\n \"code\": \"{{$randomCountryCode}}\"\n },\n \"state\": \"UT\"\n }\n }\n ],\n \"language\": \"en-us\"\n },\n \"profileType\": \"Guest\"\n }\n },\n \"primary\": true\n },\n {\n \"profileInfo\": {\n \"profileIdList\": [\n {\n \"id\": \"12345671\",\n \"type\": \"TravelAgent\"\n }\n ],\n \"profile\": {\n \"profileType\": \"TravelAgent\",\n \"companyInfo\": {\n \"companyName\": \"Smith Travel\"\n }\n }\n }\n },\n {\n \"profileInfo\": {\n \"profileIdList\": [\n {\n \"id\": \"12345672\",\n \"type\": \"Source\"\n }\n ],\n \"profile\": {\n \"profileType\": \"Source\",\n \"companyInfo\": {\n \"companyName\": \"Smith Travel POS\"\n }\n }\n }\n },\n {\n \"profileInfo\": {\n \"profileIdList\": [\n {\n \"id\": \"ORACLE\",\n \"type\": \"Company\"\n }\n ],\n \"profile\": {\n \"profileType\": \"Company\",\n \"companyInfo\": {\n \"companyName\": \"Oracle Corporation\"\n }\n }\n }\n }\n ],\n \"reservationPaymentMethods\": [\n {\n \"paymentMethod\": \"38\",\n \"folioView\": \"1\"\n }\n ],\n \"hotelCode\": \"{{HotelCode}}\",\n \"messageId\": \"{{$randomUUID}}\",\n \"comments\": [\n {\n \"comment\": {\n \"text\": {\n \"value\": \"Channel Text note\\n1 king bed\\nNon-Smoking\\nBill guest full stay\"\n },\n \"commentTitle\": \"Notes from ABC\",\n \"notificationLocation\": \"RESERVATION\",\n \"type\": \"GEN\",\n \"internal\": true,\n \"confidential\": false,\n \"overrideInternal\": false\n }\n }\n ],\n \"printRate\": false,\n \"optedForCommunication\": false\n }\n ]\n}"
},
"url": {
"raw": "{{HostName}}/resnotif/v0/hotels/{{HotelCode}}/reservations",
@@ -4341,13 +6598,12 @@
"{{HotelCode}}",
"reservations"
]
- },
- "description": "Sample with a single night, with guest CC on folio 1"
+ }
},
"response": []
},
{
- "name": "post Reservation Notif -> 2nd res for Multi room reservation",
+ "name": "post Reservation Notif (v0) -> Single Night Deposit Guaranteed",
"event": [
{
"listen": "test",
@@ -4374,28 +6630,28 @@
"header": [
{
"key": "Authorization",
- "value": "Bearer {{Token}}",
- "type": "text"
+ "type": "text",
+ "value": "Bearer {{Token}}"
},
{
"key": "Content-Type",
- "value": "application/json; charset=utf-8",
- "type": "text"
+ "type": "text",
+ "value": "application/json; charset=utf-8"
},
{
"key": "x-channelCode",
- "value": "{{ResNotifChannelCode}}",
- "type": "text"
+ "type": "text",
+ "value": "{{ResNotifChannelCode}}"
},
{
"key": "x-app-key",
- "value": "{{AppKey}}",
- "type": "text"
+ "type": "text",
+ "value": "{{AppKey}}"
}
],
"body": {
"mode": "raw",
- "raw": "{\n \"reservations\": [\n {\n \"reservationIdList\": [\n {\n \"id\": \"{{$guid}}\",\n \"idExtension\": \"1\"\n }\n ],\n \"lastModifyDateTime\": \"2020-07-01T12:21:00-07:00\",\n \"roomStay\": {\n \"arrivalDate\": \"{{currentdateplus1}}\",\n \"departureDate\": \"{{currentdateplus2}}\",\n \"roomRates\": [\n {\n \"rates\": {\n \"rate\": [\n {\n \"base\": {\n \"amountBeforeTax\": 200,\n \"currencyCode\": \"{{currencyCode}}\"\n },\n \"start\": \"{{currentdateplus1}}\",\n \"end\": \"{{currentdateplus1}}\"\n }\n ]\n },\n \"guestCounts\": {\n \"childAges\": [\n 4,\n 9,\n 17\n ],\n \"adults\": 2,\n \"children\": 3\n },\n \"roomType\": \"{{RoomTypeCode}}\",\n \"ratePlanCode\": \"{{RatePlanCode}}\",\n \"numberOfUnits\": 1,\n \"start\": \"{{currentdateplus1}}\",\n \"end\": \"{{currentdateplus1}}\"\n }\n ],\n \"total\": {\n \"amountAfterTax\": 200,\n \"amountBeforeTax\": 20.09,\n \"currencyCode\": \"{{currencyCode}}\"\n },\n \"guarantee\": {\n \"guaranteeCode\": \"5\",\n \"onHold\": false\n },\n \"printRate\": false\n },\n \"reservationGuests\": [\n {\n \"profileInfo\": {\n \"profile\": {\n \"customer\": {\n \"personName\": [\n {\n \"surname\": \"Smith\",\n \"givenName\": \"Mary\",\n \"nameTitle\": \"Mr and Mrs\",\n \"nameType\": \"Primary\",\n \"email\": \"customer@email.com\",\n \"phoneNumber\": \"123-410-3186\",\n \"address\": {\n \"addressLine\": [\n \"3450 North Triumph Boulevard\"\n ],\n \"cityName\": \"Lehi\",\n \"postalCode\": 84043,\n \"country\": {\n \"code\": \"US\"\n },\n \"state\": \"UT\"\n }\n }\n ],\n \"language\": \"en-us\"\n },\n \"profileType\": \"Guest\"\n }\n },\n \"primary\": true\n },\n {\n \"profileInfo\": {\n \"profileIdList\": [\n {\n \"id\": \"12345671\",\n \"type\": \"TravelAgent\"\n }\n ],\n \"profile\": {\n \"profileType\": \"TravelAgent\",\n \"companyInfo\": {\n \"companyName\": \"Smith Travel\"\n }\n }\n }\n },\n {\n \"profileInfo\": {\n \"profileIdList\": [\n {\n \"id\": \"12345672\",\n \"type\": \"Source\"\n }\n ],\n \"profile\": {\n \"profileType\": \"Source\",\n \"companyInfo\": {\n \"companyName\": \"Smith Travel POS\"\n }\n }\n }\n },\n {\n \"profileInfo\": {\n \"profileIdList\": [\n {\n \"id\": \"ORACLE\",\n \"type\": \"Company\"\n }\n ],\n \"profile\": {\n \"profileType\": \"Company\",\n \"companyInfo\": {\n \"companyName\": \"Oracle Corporation\"\n }\n }\n }\n }\n ],\n \"reservationPaymentMethods\": [\n {\n \"paymentMethod\": \"5\",\n \"folioView\": \"1\",\n \"paymentCard\": {\n \"cardType\": \"AX\",\n \"cardNumber\": \"371449635398431\",\n \"expirationDate\": \"06/25\",\n \"cardHolderName\": \"SomeChannel VirtualCard\"\n }\n }\n ],\n \"hotelCode\": \"{{HotelCode}}\",\n \"messageId\": \"{{$randomUUID}}\",\n \"comments\": [\n {\n \"comment\": {\n \"text\": {\n \"value\": \"Channel Text note\\n1 king bed\\nNon-Smoking\\nBill guest full stay\"\n },\n \"commentTitle\": \"Notes from Channel\",\n \"notificationLocation\": \"RESERVATION\",\n \"type\": \"GEN\",\n \"internal\": true,\n \"confidential\": false,\n \"overrideInternal\": false\n }\n }\n ],\n \"printRate\": false,\n \"optedForCommunication\": false\n }\n ]\n}"
+ "raw": "{\n \"reservations\": [\n {\n \"reservationIdList\": [\n {\n \"id\": \"{{$timestamp}}-{{channelCode}}\",\n \"idExtension\": \"1\"\n }\n ],\n \n \"roomStay\": {\n \"arrivalDate\": \"{{currentdateplus1}}\",\n \"departureDate\": \"{{currentdateplus2}}\",\n \"roomRates\": [\n {\n \"rates\": {\n \"rate\": [\n {\n \"base\": {\n \"amountBeforeTax\": 200,\n \"currencyCode\": \"{{currencyCode}}\"\n },\n \"start\": \"{{currentdateplus1}}\",\n \"end\": \"{{currentdateplus1}}\"\n }\n ]\n },\n \"guestCounts\": {\n \"childAges\": [\n 4,\n 9,\n 17\n ],\n \"adults\": 2,\n \"children\": 3\n },\n \"roomType\": \"{{RoomTypeCode}}\",\n \"ratePlanCode\": \"{{RatePlanCode}}\",\n \"numberOfUnits\": 1,\n \"start\": \"{{currentdateplus1}}\",\n \"end\": \"{{currentdateplus1}}\"\n }\n ],\n \"total\": {\n \"amountAfterTax\": 200,\n \"amountBeforeTax\": 20.09,\n \"currencyCode\": \"{{currencyCode}}\"\n },\n \"guarantee\": {\n \"guaranteeType\": \"8\"\n },\n \"printRate\": false\n },\n \"reservationGuests\": [\n {\n \"profileInfo\": {\n \"profile\": {\n \"customer\": {\n \"personName\": [\n {\n \"surname\": \"{{$randomLastName}}\",\n \"givenName\": \"{{$randomFirstName}}\",\n \"nameTitle\": \"Mr and Mrs\",\n \"nameType\": \"Primary\",\n \"email\": \"{{$randomEmail}}\",\n \"phoneNumber\": \"{{$randomPhoneNumber}}\",\n \"address\": {\n \"addressLine\": [\n \"{{$randomStreetAddress}}\"\n ],\n \"cityName\": \"{{$randomCity}}\",\n \"postalCode\": \"AS 111\",\n \"country\": {\n \"code\": \"{{$randomCountryCode}}\"\n },\n \"state\": \"UT\"\n }\n }\n ],\n \"language\": \"en-us\"\n },\n \"profileType\": \"Guest\"\n }\n },\n \"primary\": true\n },\n {\n \"profileInfo\": {\n \"profileIdList\": [\n {\n \"id\": \"12345671\",\n \"type\": \"TravelAgent\"\n }\n ],\n \"profile\": {\n \"profileType\": \"TravelAgent\",\n \"companyInfo\": {\n \"companyName\": \"Smith Travel\"\n }\n }\n }\n },\n {\n \"profileInfo\": {\n \"profileIdList\": [\n {\n \"id\": \"12345672\",\n \"type\": \"Source\"\n }\n ],\n \"profile\": {\n \"profileType\": \"Source\",\n \"companyInfo\": {\n \"companyName\": \"Smith Travel POS\"\n }\n }\n }\n },\n {\n \"profileInfo\": {\n \"profileIdList\": [\n {\n \"id\": \"ORACLE\",\n \"type\": \"Company\"\n }\n ],\n \"profile\": {\n \"profileType\": \"Company\",\n \"companyInfo\": {\n \"companyName\": \"Oracle Corporation\"\n }\n }\n }\n }\n ],\n \"reservationPaymentMethods\": [\n {\n \"paymentMethod\": \"5\",\n \"folioView\": \"1\",\n \"paymentCard\": {\n \"cardType\": \"AX\",\n \"cardNumber\": \"371449635398431\",\n \"expirationDate\": \"06/25\",\n \"cardHolderName\": \"SomeChannel VirtualCard\"\n }\n }\n ],\n \"hotelCode\": \"{{HotelCode}}\",\n \"messageId\": \"{{$randomUUID}}\",\n \"comments\": [\n {\n \"comment\": {\n \"text\": {\n \"value\": \"Channel Text note\\n1 king bed\\nNon-Smoking\\nBill guest full stay\"\n },\n \"commentTitle\": \"Notes from Channel\",\n \"notificationLocation\": \"RESERVATION\",\n \"type\": \"GEN\",\n \"internal\": true,\n \"confidential\": false,\n \"overrideInternal\": false\n }\n }\n ],\n \"printRate\": false,\n \"optedForCommunication\": false\n }\n ]\n}"
},
"url": {
"raw": "{{HostName}}/resnotif/v0/hotels/{{HotelCode}}/reservations",
@@ -4409,13 +6665,12 @@
"{{HotelCode}}",
"reservations"
]
- },
- "description": "Sample with a single night, with guest CC on folio 1"
+ }
},
"response": []
},
{
- "name": "put Reservation Notif",
+ "name": "post Reservation Notif (v0) -> Create 3 nights, rate changes, VCC on folio 2, do not show rate to guest",
"request": {
"auth": {
"type": "bearer",
@@ -4427,11 +6682,11 @@
}
]
},
- "method": "PUT",
+ "method": "POST",
"header": [
{
"key": "Authorization",
- "value": "Bearer {{Token}}"
+ "value": "Bearer {{Token}}"
},
{
"key": "Content-Type",
@@ -4449,10 +6704,10 @@
],
"body": {
"mode": "raw",
- "raw": "{\n \"reservations\": [\n {\n \"reservationIdList\": [\n {\n \"id\": \"{{externalReservationConfirmation}}\",\n \"idExtension\": \"1\"\n }\n ],\n \"lastModifyDateTime\": \"2020-07-01T12:21:00-07:00\",\n \"roomStay\": {\n \"arrivalDate\": \"{{currentdateplus1}}\",\n \"departureDate\": \"{{currentdateplus2}}\",\n \"roomRates\": [\n {\n \"rates\": {\n \"rate\": [\n {\n \"base\": {\n \"amountBeforeTax\": 333,\n \"currencyCode\": \"{{currencyCode}}\"\n },\n \"start\": \"{{currentdateplus1}}\",\n \"end\": \"{{currentdateplus2}}\"\n }\n ]\n },\n \"guestCounts\": {\n \"childAges\": [\n 4,\n 9,\n 17\n ],\n \"adults\": 2,\n \"children\": 3\n },\n \"roomType\": \"{{RoomTypeCode}}\",\n \"ratePlanCode\": \"{{RatePlanCode}}\",\n \"numberOfUnits\": 1,\n \"start\": \"{{currentdateplus1}}\",\n \"end\": \"{{currentdateplus2}}\"\n }\n ],\n \"total\": {\n \"amountAfterTax\": 300,\n \"amountBeforeTax\": 220.09,\n \"currencyCode\": \"USD\"\n },\n \"guarantee\": {\n \"guaranteeCode\": \"CC\"\n }\n },\n \"reservationGuests\": [\n {\n \"profileInfo\": {\n \"profile\": {\n \"customer\": {\n \"personName\": [\n {\n \"givenName\": \"Thomas\",\n \"surname\": \"Jones\",\n \"nameTitle\": \"Mr and Mrs\",\n \"nameType\": \"Primary\",\n \"email\": \"customer@email.com\",\n \"phoneNumber\": \"+13213331112\"\n }\n ],\n \"language\": \"en-us\"\n },\n \"profileType\": \"Guest\"\n }\n },\n \"primary\": true\n },\n {\n \"profileInfo\": {\n \"profileIdList\": [\n {\n \"id\": \"ABC\",\n \"type\": \"TravelAgent\"\n }\n ],\n \"profile\": {\n \"profileType\": \"TravelAgent\",\n \"companyInfo\": {\n \"companyName\": \"ABC Company\"\n }\n }\n }\n }\n ],\n \"reservationPaymentMethods\": [\n {\n \"paymentMethod\": \"5\",\n \"folioView\": \"2\",\n \"paymentCard\": {\n \"cardType\": \"AX\",\n \"cardNumber\": \"1234123412341234\",\n \"expirationDate\": \"06/25\",\n \"cardHolderName\": \"ABC VirtualCard\"\n }\n }\n ],\n \"hotelCode\": \"{{HotelCode}}\",\n \"messageId\": \"{{$randomUUID}}\",\n \"comments\": [\n {\n \"comment\": {\n \"text\": {\n \"value\": \"Channel Text note\\n1 king bed\\nNon-Smoking\\nBill guest full stay\"\n },\n \"commentTitle\": \"Notes from ABC\",\n \"notificationLocation\": \"RESERVATION\",\n \"type\": \"GEN\",\n \"internal\": true,\n \"confidential\": false,\n \"overrideInternal\": false\n }\n }\n ],\n \"printRate\": true,\n \"optedForCommunication\": false\n }\n ]\n}"
+ "raw": "{\n \"reservations\": [\n {\n \"reservationIdList\": [\n {\n \"id\": \"{{$timestamp}}-{{channelCode}}\",\n \"idExtension\": \"1\"\n }\n ],\n \"lastModifyDateTime\": \"2020-07-01T12:21:00-07:00\",\n \"roomStay\": {\n \"arrivalDate\": \"{{currentdateplus1}}\",\n \"departureDate\": \"{{currentdateplus4}}\",\n \"roomRates\": [\n {\n \"rates\": {\n \"rate\": [\n {\n \"base\": {\n \"amountBeforeTax\": 200,\n \"currencyCode\": \"{{currencyCode}}\"\n },\n \"start\": \"{{currentdateplus1}}\",\n \"end\": \"{{currentdateplus1}}\"\n }\n ]\n },\n \"guestCounts\": {\n \"childAges\": [\n 4,\n 9,\n 17\n ],\n \"adults\": 2,\n \"children\": 3\n },\n \"roomType\": \"{{RoomTypeCode}}\",\n \"ratePlanCode\": \"{{RatePlanCode}}\",\n \"numberOfUnits\": 1,\n \"start\": \"{{currentdateplus1}}\",\n \"end\": \"{{currentdateplus1}}\"\n },\n {\n \"rates\": {\n \"rate\": [\n {\n \"base\": {\n \"amountBeforeTax\": 300,\n \"currencyCode\": \"{{currencyCode}}\"\n },\n \"start\": \"{{currentdateplus2}}\",\n \"end\": \"{{currentdateplus2}}\"\n }\n ]\n },\n \"guestCounts\": {\n \"childAges\": [\n 4,\n 9,\n 17\n ],\n \"adults\": 2,\n \"children\": 3\n },\n \"roomType\": \"{{RoomTypeCode}}\",\n \"ratePlanCode\": \"{{RatePlanCode}}\",\n \"numberOfUnits\": 1,\n \"start\": \"{{currentdateplus2}}\",\n \"end\": \"{{currentdateplus2}}\"\n },\n {\n \"rates\": {\n \"rate\": [\n {\n \"base\": {\n \"amountBeforeTax\": 200,\n \"currencyCode\": \"{{currencyCode}}\"\n },\n \"start\": \"{{currentdateplus3}}\",\n \"end\": \"{{currentdateplus3}}\"\n }\n ]\n },\n \"guestCounts\": {\n \"childAges\": [\n 4,\n 9,\n 17\n ],\n \"adults\": 2,\n \"children\": 3\n },\n \"roomType\": \"{{RoomTypeCode}}\",\n \"ratePlanCode\": \"{{RatePlanCode}}\",\n \"numberOfUnits\": 1,\n \"start\": \"{{currentdateplus3}}\",\n \"end\": \"{{currentdateplus3}}\"\n }\n ],\n \"total\": {\n \"amountAfterTax\": 700,\n \"amountBeforeTax\": 67.09,\n \"currencyCode\": \"{{currencyCode}}\"\n },\n \"guarantee\": {\n \"guaranteeType\": \"5\"\n }\n },\n \"reservationGuests\": [\n {\n \"profileInfo\": {\n \"profile\": {\n \"customer\": {\n \"personName\": [\n {\n \"surname\": \"{{$randomLastName}}\",\n \"givenName\": \"{{$randomFirstName}}\",\n \"nameTitle\": \"Mr and Mrs\",\n \"nameType\": \"Primary\",\n \"email\": \"{{$randomEmail}}\",\n \"phoneNumber\": \"{{$randomPhoneNumber}}\",\n \"address\": {\n \"addressLine\": [\n \"{{$randomStreetAddress}}\"\n ],\n \"cityName\": \"{{$randomCity}}\",\n \"postalCode\": \"AS 111\",\n \"country\": {\n \"code\": \"{{$randomCountryCode}}\"\n },\n \"state\": \"UT\"\n }\n }\n ],\n \"language\": \"en-us\"\n },\n \"profileType\": \"Guest\"\n }\n },\n \"primary\": true\n },\n {\n \"profileInfo\": {\n \"profileIdList\": [\n {\n \"id\": \"NCSP\",\n \"type\": \"TravelAgent\"\n }\n ],\n \"profile\": {\n \"profileType\": \"TravelAgent\",\n \"companyInfo\": {\n \"companyName\": \"NCSP\"\n }\n }\n }\n }\n ],\n \"reservationPaymentMethods\": [\n {\n \"paymentMethod\": \"38\",\n \"folioView\": \"1\"\n },\n {\n \"paymentMethod\": \"5\",\n \"folioView\": \"2\",\n \"paymentCard\": {\n \"cardType\": \"VI\",\n \"cardNumber\": \"1234123412341234\",\n \"expirationDate\": \"06/25\",\n \"cardHolderName\": \"ABC VirtualCard\"\n }\n }\n ],\n \"hotelCode\": \"{{HotelCode}}\",\n \"messageId\": \"{{$randomUUID}}\",\n \"comments\": [\n {\n \"comment\": {\n \"text\": {\n \"value\": \"Channel Text note\\n1 king bed\\nNon-Smoking\\nBill guest full stay\"\n },\n \"commentTitle\": \"Notes from Channel\",\n \"notificationLocation\": \"RESERVATION\",\n \"type\": \"GEN\",\n \"internal\": true,\n \"confidential\": false,\n \"overrideInternal\": false\n }\n }\n ],\n \"printRate\": false,\n \"optedForCommunication\": false\n }\n ]\n}"
},
"url": {
- "raw": "{{HostName}}/resnotif/v0/hotels/{{HotelCode}}/reservations/{{ConfirmationNum}}",
+ "raw": "{{HostName}}/resnotif/v0/hotels/{{HotelCode}}/reservations",
"host": [
"{{HostName}}"
],
@@ -4461,15 +6716,14 @@
"v0",
"hotels",
"{{HotelCode}}",
- "reservations",
- "{{ConfirmationNum}}"
+ "reservations"
]
}
},
"response": []
},
{
- "name": "post Cancel Reservation Notif",
+ "name": "put Reservation Notif (v0)",
"request": {
"auth": {
"type": "bearer",
@@ -4481,7 +6735,7 @@
}
]
},
- "method": "POST",
+ "method": "PUT",
"header": [
{
"key": "Authorization",
@@ -4503,10 +6757,10 @@
],
"body": {
"mode": "raw",
- "raw": "{ \n \"reservations\": [\n {\n \"reservationIdList\": [\n {\n \"id\": \"{{externalReservationConfirmation}}\",\n \"idExtension\": \"1\"\n }\n ],\n \"lastModifyDateTime\" : \"2020-07-01T12:21:00-07:00\",\n \"roomStay\": {\n \"arrivalDate\": \"{{currentdateplus1}}\",\n \"departureDate\": \"{{currentdateplus2}}\",\n \"roomRates\": [\n {\n \"rates\": {\n \"rate\": [\n {\n \"base\": {\n \"amountBeforeTax\": 333,\n \"currencyCode\": \"{{currencyCode}}\"\n },\n \"start\": \"{{currentdateplus1}}\",\n \"end\": \"{{currentdateplus2}}\"\n }\n ]\n },\n \"guestCounts\": {\n \"childAges\": [\n 4,\n 9,\n 17\n ],\n \"adults\": 2,\n \"children\": 3\n },\n \"roomType\": \"{{RoomTypeCode}}\",\n \"ratePlanCode\":\"{{RatePlanCode}}\",\n \"suppressRate\": false,\n \"numberOfUnits\": 1,\n \"start\": \"{{currentdateplus1}}\",\n \"end\": \"{{currentdateplus2}}\"\n }\n ],\n \"guestCounts\": {\n \"adults\": 2,\n \"children\": 3\n },\n \"total\": {\n \"amountAfterTax\": 200,\n \"amountBeforeTax\": 20.09,\n \"currencyCode\": \"USD\"\n },\n \"guarantee\": {\n \"guaranteeCode\": \"CC\",\n \"onHold\": false\n },\n \"printRate\": false\n },\n \"reservationGuests\": [\n {\n \"profileInfo\": {\n \"profile\": {\n \"customer\": {\n \"personName\": [\n {\n \"givenName\": \"Thomas\",\n \"surname\": \"Smith\",\n \"nameTitle\": \"Mr and Mrs\",\n \"nameType\": \"Primary\",\n \"email\": \"customer@email.com\",\n \"phoneNumber\": \"+12313331112\"\n }\n ],\n \"language\": \"en-us\"\n },\n \"profileType\": \"Guest\"\n }\n },\n \"primary\": true\n },\n {\n \"profileInfo\": {\n \"profileIdList\": [\n {\n \"id\": \"ABC\",\n \"type\": \"TravelAgent\"\n }\n ],\n \"profile\": {\n \"profileType\": \"TravelAgent\",\n \"companyInfo\": {\n \"companyName\": \"ABC Company\"\n }\n }\n }\n }\n ],\n \"reservationPaymentMethods\": [\n {\n \"paymentMethod\":\"5\",\n \"folioView\":\"2\",\n \"paymentCard\":{\n \"cardType\":\"AX\",\n \"cardNumber\":\"1234123412341234\",\n \"expirationDate\":\"06/25\",\n \"cardHolderName\":\"ABC VirtualCard\"\n }\n }\n ],\n \"hotelCode\": \"{{HotelCode}}\",\n \"messageId\": \"{{$randomUUID}}\",\n \"comments\": [\n {\n \"comment\": {\n \"text\": {\n \"value\": \"Channel Text note\\n1 king bed\\nNon-Smoking\\nBill guest full stay\"\n },\n \"commentTitle\": \"Notes from ABC\",\n \"notificationLocation\": \"RESERVATION\",\n \"type\": \"GEN\",\n \"internal\": true,\n \"confidential\": false,\n \"overrideInternal\": false\n }\n }\n ],\n \"printRate\": false,\n \"optedForCommunication\": false\n }\n ]\n}"
+ "raw": "{\n \"reservations\": [\n {\n \"reservationIdList\": [\n {\n \"id\": \"{{externalReservationConfirmation}}\",\n \"idExtension\": \"1\"\n }\n ],\n \"lastModifyDateTime\": \"2020-07-01T12:21:00-07:00\",\n \"roomStay\": {\n \"arrivalDate\": \"{{currentdateplus1}}\",\n \"departureDate\": \"{{currentdateplus2}}\",\n \"roomRates\": [\n {\n \"rates\": {\n \"rate\": [\n {\n \"base\": {\n \"amountBeforeTax\": 333,\n \"currencyCode\": \"{{currencyCode}}\"\n },\n \"start\": \"{{currentdateplus1}}\",\n \"end\": \"{{currentdateplus2}}\"\n }\n ]\n },\n \"guestCounts\": {\n \"childAges\": [\n 4,\n 9,\n 17\n ],\n \"adults\": 2,\n \"children\": 3\n },\n \"roomType\": \"{{RoomTypeCode}}\",\n \"ratePlanCode\": \"{{RatePlanCode}}\",\n \"numberOfUnits\": 1,\n \"start\": \"{{currentdateplus1}}\",\n \"end\": \"{{currentdateplus2}}\"\n }\n ],\n \"total\": {\n \"amountAfterTax\": 300,\n \"amountBeforeTax\": 220.09,\n \"currencyCode\": \"USD\"\n },\n \"guarantee\": {\n \"guaranteeType\": \"5\"\n }\n },\n \"reservationGuests\": [\n {\n \"profileInfo\": {\n \"profile\": {\n \"customer\": {\n \"personName\": [\n {\n \"givenName\": \"Thomas\",\n \"surname\": \"Test\",\n \"nameTitle\": \"Mr and Mrs\",\n \"nameType\": \"Primary\",\n \"email\": \"customer@email.com\",\n \"phoneNumber\": \"+13213331112\"\n }\n ],\n \"language\": \"en-us\"\n },\n \"profileType\": \"Guest\"\n }\n },\n \"primary\": true\n },\n {\n \"profileInfo\": {\n \"profileIdList\": [\n {\n \"id\": \"ABC\",\n \"type\": \"TravelAgent\"\n }\n ],\n \"profile\": {\n \"profileType\": \"TravelAgent\",\n \"companyInfo\": {\n \"companyName\": \"ABC Company\"\n }\n }\n }\n }\n ],\n \"reservationPaymentMethods\": [\n {\n \"paymentMethod\": \"5\",\n \"folioView\": \"2\",\n \"paymentCard\": {\n \"cardType\": \"AX\",\n \"cardNumber\": \"1234123412341234\",\n \"expirationDate\": \"06/25\",\n \"cardHolderName\": \"ABC VirtualCard\"\n }\n }\n ],\n \"hotelCode\": \"{{HotelCode}}\",\n \"messageId\": \"{{$randomUUID}}\",\n \"comments\": [\n {\n \"comment\": {\n \"text\": {\n \"value\": \"Channel Text note\\n1 king bed\\nNon-Smoking\\nBill guest full stay\"\n },\n \"commentTitle\": \"Notes from ABC\",\n \"notificationLocation\": \"RESERVATION\",\n \"type\": \"GEN\",\n \"internal\": true,\n \"confidential\": false,\n \"overrideInternal\": false\n }\n }\n ],\n \"printRate\": true,\n \"optedForCommunication\": false\n }\n ]\n}"
},
"url": {
- "raw": "{{HostName}}/resnotif/v0/hotels/{{HotelCode}}/reservations/{{ConfirmationNum}}/cancellations",
+ "raw": "{{HostName}}/resnotif/v0/hotels/{{HotelCode}}/reservations/{{ConfirmationNum}}",
"host": [
"{{HostName}}"
],
@@ -4516,15 +6770,14 @@
"hotels",
"{{HotelCode}}",
"reservations",
- "{{ConfirmationNum}}",
- "cancellations"
+ "{{ConfirmationNum}}"
]
}
},
"response": []
},
{
- "name": "post Cancel Reservation Notif -> Cancel Light payload",
+ "name": "post Cancel Reservation Notif (v0)",
"request": {
"auth": {
"type": "bearer",
@@ -4558,7 +6811,7 @@
],
"body": {
"mode": "raw",
- "raw": "{ \n \"reservations\": [\n {\n \"reservationIdList\": [\n {\n \"id\": \"{{externalReservationConfirmation}}\",\n \"idExtension\": \"1\"\n }\n ],\n \"lastModifyDateTime\" : \"2020-07-01T12:21:00-07:00\",\n \n \"hotelCode\": \"{{HotelCode}}\",\n \"messageId\": \"{{$randomUUID}}\" \n \n }\n ]\n}"
+ "raw": "{ \n \"reservations\": [\n {\n \"reservationIdList\": [\n {\n \"id\": \"{{externalReservationConfirmation}}\",\n \"idExtension\": \"1\"\n }\n ],\n \"lastModifyDateTime\" : \"2020-07-01T12:21:00-07:00\",\n \n \"hotelCode\": \"{{HotelCode}}\",\n \"messageId\": \"{{$randomUUID}}\" \n \n }\n ]\n}"
},
"url": {
"raw": "{{HostName}}/resnotif/v0/hotels/{{HotelCode}}/reservations/{{ConfirmationNum}}/cancellations",
diff --git a/postman-collections/oracle-hospitality-property.postman_collection.json b/postman-collections/oracle-hospitality-property.postman_collection.json
index 2922b0f..438cb84 100644
--- a/postman-collections/oracle-hospitality-property.postman_collection.json
+++ b/postman-collections/oracle-hospitality-property.postman_collection.json
@@ -1,11 +1,10 @@
{
"info": {
- "_postman_id": "b4f70d0f-3dea-4f0d-bd20-82e70c936e02",
+ "_postman_id": "f8303621-e162-4784-8e41-4a00f9b88dda",
"name": "1. Property REST APIs By Module",
- "description": "#### ORACLE Hospitality OPERA Cloud Rest APIs\r\n\r\nThis Postman Collection offers many API call samples for the Oracle Hospitality REST APIs and OHIP. For common functional workflows (e.g. digital check-in and checkout) see the ORACLE Hospitality OPERA Cloud Rest API Workflows collection. For more information visit [Oracle Hospitality Integration Platform](https://www.oracle.com/industries/hospitality/integration-platform/). \r\n\r\nNew to OHIP? Watch this free on demand video about [Stepping Through the OHIP Journey](https://go.oracle.com/LP=105035?elqCampaignId=281803&src1=:ow:o:p:po:::&intcmp=BUMK201218P00049:ow:o:p:po). \r\n\r\nTo find out more about this Postman collection watch this free on demand video [Understanding Apiary Documentation & Postman Collections](https://go.oracle.com/LP=105035?elqCampaignId=281803&src1=:ow:o:p:po:::&intcmp=BUMK201218P00049:ow:o:p:po). \r\n\r\nExplanations of the common workflows are available in [this workflows document](https://github.com/oracle/hospitality-api-docs/blob/main/postman-collections/WORKFLOWS.md). \r\n\r\nThis document and all content within is available under the [Universal Permissive License v 1.0](http://oss.oracle.com/licenses/upl). Copyright c 2021 Oracle and/or its affiliates.",
+ "description": "#### ORACLE Hospitality OPERA Cloud Rest APIs\r\n\r\nThis Postman Collection offers many API call samples for the Oracle Hospitality REST APIs and OHIP. For common functional workflows (e.g. digital check-in and checkout) see the ORACLE Hospitality OPERA Cloud Rest API Workflows collection. For more information visit [Oracle Hospitality Integration Platform](https://www.oracle.com/industries/hospitality/integration-platform/). \r\n\r\nNew to OHIP? Watch this free on demand video about [Stepping Through the OHIP Journey](https://go.oracle.com/LP=105035?elqCampaignId=281803&src1=:ow:o:p:po:::&intcmp=BUMK201218P00049:ow:o:p:po). \r\n\r\nTo find out more about this Postman collection watch this free on demand video [Understanding Apiary Documentation & Postman Collections](https://go.oracle.com/LP=105035?elqCampaignId=281803&src1=:ow:o:p:po:::&intcmp=BUMK201218P00049:ow:o:p:po). \r\n\r\nNote that some of the APIs in this Postman collection are Early Adopter APIs (v0). To find out about becoming an Early Adopter watch this free on demand video [Why be an OHIP Early Adopter](https://go.oracle.com/LP=105035?elqCampaignId=281803&src1=:ow:o:p:po:::&intcmp=BUMK201218P00049:ow:o:p:po). \r\n\r\nExplanations of the common workflows are available in [this workflows document](https://github.com/oracle/hospitality-api-docs/blob/main/postman-collections/WORKFLOWS.md). \r\n\r\nThis document and all content within is available under the [Universal Permissive License v 1.0](http://oss.oracle.com/licenses/upl). Copyright c 2021 Oracle and/or its affiliates.",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
- "_exporter_id": "15729853",
- "_collection_link": "https://hospitalityapis.postman.co/workspace/Team-Workspace~f6e529a2-8cdb-43d1-8526-1aa5d61f48e4/collection/15729853-b4f70d0f-3dea-4f0d-bd20-82e70c936e02?action=share&source=collection_link&creator=15729853"
+ "_exporter_id": "9368925"
},
"item": [
{
@@ -29,7 +28,8 @@
"pm.environment.set(\"MyGUID\", myUUID);\r",
"pm.environment.set(\"HashedAppKey\", CryptoJS.SHA256(pm.environment.get(\"AppKey\")).toString());"
],
- "type": "text/javascript"
+ "type": "text/javascript",
+ "packages": {}
}
}
],
@@ -38,8 +38,24 @@
"type": "basic",
"basic": [
{
- "key": "undefined",
- "type": "any"
+ "key": "password",
+ "value": "{{CLIENT_SECRET}}",
+ "type": "string"
+ },
+ {
+ "key": "username",
+ "value": "{{CLIENT_ID}}",
+ "type": "string"
+ },
+ {
+ "key": "saveHelperData",
+ "value": true,
+ "type": "boolean"
+ },
+ {
+ "key": "showPassword",
+ "value": false,
+ "type": "boolean"
}
]
},
@@ -110,7 +126,8 @@
"pm.environment.set(\"MyGUID\", myUUID);\r",
"pm.environment.set(\"HashedAppKey\", CryptoJS.SHA256(pm.environment.get(\"AppKey\")).toString());"
],
- "type": "text/javascript"
+ "type": "text/javascript",
+ "packages": {}
}
}
],
@@ -118,6 +135,16 @@
"auth": {
"type": "basic",
"basic": [
+ {
+ "key": "password",
+ "value": "{{CLIENT_SECRET}}",
+ "type": "string"
+ },
+ {
+ "key": "username",
+ "value": "{{CLIENT_ID}}",
+ "type": "string"
+ },
{
"key": "undefined",
"type": "any"
@@ -136,24 +163,24 @@
"key": "x-app-key",
"type": "text",
"value": "{{AppKey}}"
- }
+ },
+ {
+ "key": "enterpriseId",
+ "value": "{{EnterpriseId}}",
+ "type": "text"
+ }
],
"body": {
"mode": "urlencoded",
"urlencoded": [
{
- "key": "username",
- "value": "{{Username}}",
- "type": "text"
- },
- {
- "key": "password",
- "value": "{{Password}}",
+ "key": "grant_type",
+ "value": "client_credentials",
"type": "text"
},
{
- "key": "grant_type",
- "value": "password",
+ "key": "scope",
+ "value": "urn:opc:hgbu:ws:__myscopes__",
"type": "text"
}
]
@@ -169,7 +196,7 @@
"tokens"
]
},
- "description": "Use this API to request an oAuth token when the environment is a Client Credentials environment. You can see which oAuth flow an environment supports by looking at the Environment page in the OHIP Developer Portal. For more information see (Authenticating to Oracle Hospitality Property APIs)\\[[https://docs.oracle.com/en/industries/hospitality/integration-platform/ohipu/c_oracle_hospitality_property_apis.htm#AuthenticatingToOracleHospitalityPr-1BD54F80](https://docs.oracle.com/en/industries/hospitality/integration-platform/ohipu/c_oracle_hospitality_property_apis.htm#AuthenticatingToOracleHospitalityPr-1BD54F80)\\] under the heading \"Client Credentials-Based Authentication\".\n\nTo call this API you will need:\n\n1. To know the environment is a Client Credentials environment - see above\n2. A valid ClientId and ClientSecret\n3. A valid EnterpriseId\n \n4. A valid application key\n \n\nBecause of this, oAuth tokens may only be used when calling the given environment.\n\noAuth tokens expire after 60 minutes. We recommend obtaining a new oAuth token every 50 minutes, but not more frequently."
+ "description": "Use this API to request an oAuth token when the environment is a Client Credentials environment. You can see which oAuth flow an environment supports by looking at the Environment page in the OHIP Developer Portal. For more information see (Authenticating to Oracle Hospitality Property APIs)\\[[https://docs.oracle.com/en/industries/hospitality/integration-platform/ohipu/c_oracle_hospitality_property_apis.htm#AuthenticatingToOracleHospitalityPr-1BD54F80](https://docs.oracle.com/en/industries/hospitality/integration-platform/ohipu/c_oracle_hospitality_property_apis.htm#AuthenticatingToOracleHospitalityPr-1BD54F80)\\] under the heading \"Client Credentials-Based Authentication\".\n\nTo call this API you will need:\n\n1. To know the environment is a Client Credentials environment - see above\n2. A valid ClientId and ClientSecret\n3. A valid EnterpriseId\n4. A valid application key\n \n\nBecause of this, oAuth tokens may only be used when calling the given environment.\n\noAuth tokens expire after 60 minutes. We recommend obtaining a new oAuth token every 50 minutes, but not more frequently."
},
"response": []
}
@@ -194,21 +221,25 @@
"key": "token",
"value": "{{Token}}",
"type": "string"
- },
- {
- "key": "undefined",
- "type": "any"
}
]
},
"method": "GET",
"header": [
+ {
+ "key": "Content-Type",
+ "name": "Content-Type",
+ "type": "text",
+ "value": "application/json"
+ },
{
"key": "x-hotelid",
+ "type": "text",
"value": "{{HotelId}}"
},
{
"key": "x-app-key",
+ "type": "text",
"value": "{{AppKey}}"
}
],
@@ -222,7 +253,7 @@
}
},
"url": {
- "raw": "{{HostName}}/ars/v1/accounts?hotelIds={{HotelId}}&offset=0&accountType=AccountId&accountIdContext=OPERA",
+ "raw": "{{HostName}}/ars/v1/accounts?offset=0&limit=100",
"host": [
"{{HostName}}"
],
@@ -232,115 +263,42 @@
"accounts"
],
"query": [
- {
- "key": "hotelIds",
- "value": "{{HotelId}}"
- },
- {
- "key": "balance",
- "value": "ALL",
- "disabled": true
- },
- {
- "key": "batchStatement",
- "value": "",
- "disabled": true
- },
- {
- "key": "limit",
- "value": "10",
- "disabled": true
- },
- {
- "key": "profileId",
- "value": "{{ProfileId}}",
- "disabled": true
- },
- {
- "key": "profileIdContext",
- "value": "OPERA",
- "disabled": true
- },
- {
- "key": "profileType",
- "value": "Profile",
- "disabled": true
- },
- {
- "key": "type",
- "value": "",
- "disabled": true
- },
- {
- "key": "accountNo",
- "value": "",
- "disabled": true
- },
- {
- "key": "accountName",
- "value": "",
- "disabled": true
- },
{
"key": "accountId",
- "value": "",
+ "value": "{{AccountId}}",
"disabled": true
},
{
- "key": "accountIdContext",
- "value": "",
- "disabled": true
+ "key": "offset",
+ "value": "0"
},
{
"key": "accountType",
- "value": "",
+ "value": "{{AccountType}}",
"disabled": true
},
{
- "key": "includeStatementHistoryIndicator",
- "value": "",
- "disabled": true
- },
- {
- "key": "includeReminderHistoryIndicator",
- "value": "",
- "disabled": true
- },
- {
- "key": "superSearch",
- "value": "",
+ "key": "accountName",
+ "value": "{{AccountName}}",
"disabled": true
},
{
- "key": "searchHotelIds",
- "value": "",
+ "key": "accountNo",
+ "value": "{{AccountNo}}",
"disabled": true
},
{
- "key": "attributeName",
- "value": "",
- "disabled": true
+ "key": "limit",
+ "value": "100"
},
{
- "key": "orderType",
+ "key": "balance",
"value": "",
+ "description": "All , Open , Zero",
"disabled": true
- },
- {
- "key": "offset",
- "value": "0"
- },
- {
- "key": "accountType",
- "value": "AccountId"
- },
- {
- "key": "accountIdContext",
- "value": "OPERA"
}
]
- },
- "description": "Use this API to search for AR Accounts. The response will contain a list of AR Accounts and their AR information."
+ }
},
"response": []
},
@@ -357,22 +315,26 @@
"key": "token",
"value": "{{Token}}",
"type": "string"
- },
- {
- "key": "undefined",
- "type": "any"
}
]
},
"method": "GET",
"header": [
+ {
+ "key": "Content-Type",
+ "name": "Content-Type",
+ "type": "text",
+ "value": "application/json"
+ },
{
"key": "x-hotelid",
+ "type": "text",
"value": "{{HotelId}}"
},
{
"key": "x-app-key",
- "value": "{{AppKey}}"
+ "value": "{{AppKey}}",
+ "type": "text"
}
],
"body": {
@@ -385,7 +347,7 @@
}
},
"url": {
- "raw": "{{HostName}}/ars/v1/hotels/{{HotelId}}/accounts/{{AccountId}}",
+ "raw": "{{HostName}}/ars/v1/hotels/{{HotelId}}/accounts/{{accountId}}?fetchInstructions=Account&fetchInstructions=Summary&fetchInstructions=Invoices",
"host": [
"{{HostName}}"
],
@@ -395,122 +357,42 @@
"hotels",
"{{HotelId}}",
"accounts",
- "{{AccountId}}"
- ]
- }
- },
- "response": []
- },
- {
- "name": "get AR Aging Cycles",
- "protocolProfileBehavior": {
- "disableBodyPruning": true
- },
- "request": {
- "auth": {
- "type": "bearer",
- "bearer": [
+ "{{accountId}}"
+ ],
+ "query": [
{
- "key": "token",
- "value": "{{Token}}",
- "type": "string"
+ "key": "accountNo",
+ "value": "{{AccountNo}}",
+ "disabled": true
},
{
- "key": "undefined",
- "type": "any"
- }
- ]
- },
- "method": "GET",
- "header": [
- {
- "key": "x-hotelid",
- "value": "{{HotelId}}"
- },
- {
- "key": "x-app-key",
- "value": "{{AppKey}}"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": "",
- "options": {
- "raw": {
- "language": "json"
- }
- }
- },
- "url": {
- "raw": "{{HostName}}/ars/v1/hotels/{{HotelId}}/agingCycles",
- "host": [
- "{{HostName}}"
- ],
- "path": [
- "ars",
- "v1",
- "hotels",
- "{{HotelId}}",
- "agingCycles"
- ]
- }
- },
- "response": []
- },
- {
- "name": "get AR Credit Card Payments",
- "protocolProfileBehavior": {
- "disableBodyPruning": true
- },
- "request": {
- "auth": {
- "type": "bearer",
- "bearer": [
+ "key": "profileId",
+ "value": "{{ProfileId}}",
+ "disabled": true
+ },
{
- "key": "token",
- "value": "{{Token}}",
- "type": "string"
+ "key": "profileIdContext",
+ "value": "",
+ "disabled": true
},
{
- "key": "undefined",
- "type": "any"
- }
- ]
- },
- "method": "GET",
- "header": [
- {
- "key": "x-hotelid",
- "value": "{{HotelId}}"
- },
- {
- "key": "x-app-key",
- "value": "{{AppKey}}"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": "",
- "options": {
- "raw": {
- "language": "json"
+ "key": "profileType",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "fetchInstructions",
+ "value": "Account",
+ "description": "Account , Aging , FixedCharges , Invoices , Payments , Summary , Comments , Traces , Reminder , Statement , Indicators , YearView"
+ },
+ {
+ "key": "fetchInstructions",
+ "value": "Summary"
+ },
+ {
+ "key": "fetchInstructions",
+ "value": "Invoices"
}
- }
- },
- "url": {
- "raw": "{{HostName}}/ars/v1/hotels/{{HotelId}}/transactions/{{TransactionId}}/creditcard/payments",
- "host": [
- "{{HostName}}"
- ],
- "path": [
- "ars",
- "v1",
- "hotels",
- "{{HotelId}}",
- "transactions",
- "{{TransactionId}}",
- "creditcard",
- "payments"
]
}
},
@@ -529,21 +411,25 @@
"key": "token",
"value": "{{Token}}",
"type": "string"
- },
- {
- "key": "undefined",
- "type": "any"
}
]
},
"method": "GET",
"header": [
+ {
+ "key": "Content-Type",
+ "name": "Content-Type",
+ "type": "text",
+ "value": "application/json"
+ },
{
"key": "x-hotelid",
+ "type": "text",
"value": "{{HotelId}}"
},
{
"key": "x-app-key",
+ "type": "text",
"value": "{{AppKey}}"
}
],
@@ -557,7 +443,7 @@
}
},
"url": {
- "raw": "{{HostName}}/ars/v1/arTransactions?hotelIds={{HotelId}}&endDate=2023-08-09&startDate=2023-08-09",
+ "raw": "{{HostName}}/ars/v1/arTransactions?hotelIds={{HotelId}}&accounts={{AccountId}}&accountName={{AccountName}}",
"host": [
"{{HostName}}"
],
@@ -571,13 +457,68 @@
"key": "hotelIds",
"value": "{{HotelId}}"
},
+ {
+ "key": "accounts",
+ "value": "{{AccountId}}"
+ },
{
"key": "endDate",
- "value": "2023-08-09"
+ "value": "",
+ "disabled": true
},
{
"key": "startDate",
- "value": "2023-08-09"
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "fromAmount",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "fromCurrencyCode",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "toAmount",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "toCurrencyCode",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "guestName",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "invoices",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "folios",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "fiscalBillNo",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "accountName",
+ "value": "{{AccountName}}"
+ },
+ {
+ "key": "addresseName",
+ "value": "",
+ "disabled": true
}
]
}
@@ -585,7 +526,7 @@
"response": []
},
{
- "name": "get Invoice Payments",
+ "name": "get AR Invoice Postings",
"protocolProfileBehavior": {
"disableBodyPruning": true
},
@@ -597,22 +538,26 @@
"key": "token",
"value": "{{Token}}",
"type": "string"
- },
- {
- "key": "undefined",
- "type": "any"
}
]
},
"method": "GET",
"header": [
+ {
+ "key": "Content-Type",
+ "name": "Content-Type",
+ "type": "text",
+ "value": "application/json"
+ },
{
"key": "x-hotelid",
+ "type": "text",
"value": "{{HotelId}}"
},
{
"key": "x-app-key",
- "value": "{{AppKey}}"
+ "value": "{{AppKey}}",
+ "type": "text"
}
],
"body": {
@@ -625,18 +570,21 @@
}
},
"url": {
- "raw": "{{HostName}}/ars/v1/invoicePayments/accounts/{{CompanyId}}?printed=true&inclZeroBalance=true&offset=0&inclDetails=true&unBilled=false",
+ "raw": "{{HostName}}/ars/v1/invoicePostings?internalFolioWindowID=1052871&invoiceNo=9404&transactionNo=1002495601&hotelId={{HotelId}}&accountId={{AccountId}}&accountIdContext=OPERA&accountType=AccountId",
"host": [
"{{HostName}}"
],
"path": [
"ars",
"v1",
- "invoicePayments",
- "accounts",
- "{{CompanyId}}"
+ "invoicePostings"
],
"query": [
+ {
+ "key": "canBeModified",
+ "value": "",
+ "disabled": true
+ },
{
"key": "closeDate",
"value": "",
@@ -660,7 +608,6 @@
{
"key": "folioStatus",
"value": "",
- "description": "\"Deposit\", \"Void\", \"Ok\", \"Zero\", \"Compress\", \"Converted\", \"Internal\"",
"disabled": true
},
{
@@ -670,22 +617,20 @@
},
{
"key": "internalFolioWindowID",
- "value": "",
- "disabled": true
+ "value": "1052871"
},
{
"key": "invoiceNo",
- "value": "",
- "disabled": true
+ "value": "9404"
},
{
"key": "invoiceType",
- "value": "",
+ "value": "Credit",
"disabled": true
},
{
"key": "postingDate",
- "value": "",
+ "value": "2022-06-03",
"disabled": true
},
{
@@ -720,21 +665,24 @@
},
{
"key": "transactionNo",
- "value": "",
- "disabled": true
+ "value": "1002495601"
},
{
"key": "cashierId",
"value": "",
"disabled": true
},
+ {
+ "key": "hotelId",
+ "value": "{{HotelId}}"
+ },
{
"key": "reservationId",
"value": "",
"disabled": true
},
{
- "key": "guestProfileId",
+ "key": "reservationIdContext",
"value": "",
"disabled": true
},
@@ -743,33 +691,541 @@
"value": "",
"disabled": true
},
+ {
+ "key": "guestProfileId",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "guestProfileIdContext",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "guestProfileType",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "age",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "guestName",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "originalAmount",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "originalAmountCurrencyCode",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "amount",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "currencyCode",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "paymentsAmount",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "paymentsCurrencyCode",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "balanceAmount",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "balanceCurrencyCode",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "reference",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "remark",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "adjusted",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "parentInvoiceNo",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "compressed",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "compressedDate",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "transferredOut",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "transferredIn",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "marketDescription",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "marketHotelId",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "marketCode",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "marketGroup",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "roomClassDescription",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "roomClassHotelId",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "roomClassCode",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "sourceDescription",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "sourceHotelId",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "sourceCode",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "sourceGroup",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "cashierInfoCashierId",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "cashierName",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "transactionHotelId",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "printTrxReceipt",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "invoicePostingsTransactionCode",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "transactionDescription",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "transactionGroup",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "transactionSubGroup",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "universalProductCode",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "routingInstructionsId",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "articleCode",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "articleHotelIds",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "inactive",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "orderSequence",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "articleDescription",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "transactionCode",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "articleAmount",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "articleCurrencyCode",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "availableForPostIt",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "color",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "articleUniversalProductCode",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "attachCreditCardToProfile",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "cardHolderName",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "cardNumber",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "cardNumberLast4Digits",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "cardNumberMasked",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "cardOrToken",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "cardType",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "expirationDate",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "expirationDateExpired",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "expirationDateMasked",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "processing",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "swiped",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "userDefinedCardType",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "cardId",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "PaymentCardIdContext",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "paymentCardIdType",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "currentAuthorizedAmount",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "currentAuthorizedAmountCurrencyCode",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "approvalAmount",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "approvalAmountCurrencyCode",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "addresseeType",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "addressProfileId",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "addressProfileIdContext",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "addressProfileIdType",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "name",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "city",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "phone",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "allowPartialTransferYn",
+ "value": "",
+ "disabled": true
+ },
{
"key": "printed",
- "value": "true"
+ "value": "",
+ "disabled": true
},
{
- "key": "inclZeroBalance",
- "value": "true"
+ "key": "printedDate",
+ "value": "",
+ "disabled": true
},
{
- "key": "offset",
- "value": "0"
+ "key": "storedFolioId",
+ "value": "",
+ "disabled": true
},
{
- "key": "inclDetails",
- "value": "true"
+ "key": "storedFolioIdContext",
+ "value": "",
+ "disabled": true
},
{
- "key": "unBilled",
- "value": "false"
+ "key": "storedFolioType",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "storedFolioName",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "storedDebitFolioId",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "storedDebitFolioIdContext",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "storedDebitFolioType",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "storedDebitFolioName",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "accountId",
+ "value": "{{AccountId}}"
+ },
+ {
+ "key": "accountIdContext",
+ "value": "OPERA"
+ },
+ {
+ "key": "accountType",
+ "value": "AccountId"
+ },
+ {
+ "key": "accountNo",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "profileId",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "profileIdContext",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "profileIdType",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "additionalFilterCashierId",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "additionalFilterTransactionCode",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "additionalFilterTransactionSubGroupCode",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "end",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "start",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "referenceWildCard",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "supplementWildCard",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "checkNumberWildCard",
+ "value": "",
+ "disabled": true
}
]
- }
+ },
+ "description": "The get AR InvoicePayments gets all the details for these params."
},
"response": []
},
{
- "name": "get Profile Aging",
+ "name": "get Invoice Payments",
"protocolProfileBehavior": {
"disableBodyPruning": true
},
@@ -781,22 +1237,26 @@
"key": "token",
"value": "{{Token}}",
"type": "string"
- },
- {
- "key": "undefined",
- "type": "any"
}
]
},
"method": "GET",
"header": [
+ {
+ "key": "Content-Type",
+ "name": "Content-Type",
+ "type": "text",
+ "value": "application/json"
+ },
{
"key": "x-hotelid",
+ "type": "text",
"value": "{{HotelId}}"
},
{
"key": "x-app-key",
- "value": "{{AppKey}}"
+ "value": "{{AppKey}}",
+ "type": "text"
}
],
"body": {
@@ -809,23 +1269,62 @@
}
},
"url": {
- "raw": "{{HostName}}/ars/v1/profiles/{{ProfileId}}/aging",
+ "raw": "{{HostName}}/ars/v1/invoicePayments/accounts/{{AccountId}}?printed=true&inclZeroBalance=false&offset=0&inclDetails=true&limit=50&unBilled=false&fetchInstructions=Invoices&start=YYYY-MM-DD&end=YYYY-MM-DD",
"host": [
"{{HostName}}"
],
"path": [
"ars",
"v1",
- "profiles",
- "{{ProfileId}}",
- "aging"
+ "invoicePayments",
+ "accounts",
+ "{{AccountId}}"
+ ],
+ "query": [
+ {
+ "key": "printed",
+ "value": "true"
+ },
+ {
+ "key": "inclZeroBalance",
+ "value": "false"
+ },
+ {
+ "key": "offset",
+ "value": "0"
+ },
+ {
+ "key": "inclDetails",
+ "value": "true"
+ },
+ {
+ "key": "limit",
+ "value": "50"
+ },
+ {
+ "key": "unBilled",
+ "value": "false"
+ },
+ {
+ "key": "fetchInstructions",
+ "value": "Invoices",
+ "description": "Invoices , Payments"
+ },
+ {
+ "key": "start",
+ "value": "YYYY-MM-DD"
+ },
+ {
+ "key": "end",
+ "value": "YYYY-MM-DD"
+ }
]
}
},
"response": []
},
{
- "name": "get Reminders",
+ "name": "get AR Profile Aging",
"protocolProfileBehavior": {
"disableBodyPruning": true
},
@@ -837,22 +1336,26 @@
"key": "token",
"value": "{{Token}}",
"type": "string"
- },
- {
- "key": "undefined",
- "type": "any"
}
]
},
"method": "GET",
"header": [
+ {
+ "key": "Content-Type",
+ "name": "Content-Type",
+ "type": "text",
+ "value": "application/json"
+ },
{
"key": "x-hotelid",
- "value": "{{HotelId}}"
+ "value": "{{HotelId}}",
+ "type": "text"
},
{
"key": "x-app-key",
- "value": "{{AppKey}}"
+ "value": "{{AppKey}}",
+ "type": "text"
}
],
"body": {
@@ -865,29 +1368,21 @@
}
},
"url": {
- "raw": "{{HostName}}/ars/v1/accountReminders?accounts=170411",
+ "raw": "{{HostName}}/ars/v1/profiles/{{ProfileId}}/aging?hotelIds={{HotelId}}",
"host": [
"{{HostName}}"
],
"path": [
"ars",
"v1",
- "accountReminders"
+ "profiles",
+ "{{ProfileId}}",
+ "aging"
],
"query": [
{
- "key": "accountNo",
- "value": "",
- "disabled": true
- },
- {
- "key": "accountName",
- "value": "",
- "disabled": true
- },
- {
- "key": "accounts",
- "value": "170411"
+ "key": "hotelIds",
+ "value": "{{HotelId}}"
}
]
}
@@ -895,7 +1390,7 @@
"response": []
},
{
- "name": "get Reminders History",
+ "name": "get Aging Cycles",
"protocolProfileBehavior": {
"disableBodyPruning": true
},
@@ -907,22 +1402,26 @@
"key": "token",
"value": "{{Token}}",
"type": "string"
- },
- {
- "key": "undefined",
- "type": "any"
}
]
},
"method": "GET",
"header": [
+ {
+ "key": "Content-Type",
+ "name": "Content-Type",
+ "type": "text",
+ "value": "application/json"
+ },
{
"key": "x-hotelid",
- "value": "{{HotelId}}"
+ "value": "{{HotelId}}",
+ "type": "text"
},
{
"key": "x-app-key",
- "value": "{{AppKey}}"
+ "value": "{{AppKey}}",
+ "type": "text"
}
],
"body": {
@@ -935,23 +1434,26 @@
}
},
"url": {
- "raw": "{{HostName}}/ars/v1/accounts/{{AccountId}}/remindersHistory",
+ "raw": "{{HostName}}/ars/v1/hotels/{{HotelId}}/agingCycles",
"host": [
"{{HostName}}"
],
"path": [
"ars",
"v1",
- "accounts",
- "{{AccountId}}",
- "remindersHistory"
+ "hotels",
+ "{{HotelId}}",
+ "agingCycles"
]
}
},
"response": []
},
{
- "name": "post Account",
+ "name": "get Credit Card Payments",
+ "protocolProfileBehavior": {
+ "disableBodyPruning": true
+ },
"request": {
"auth": {
"type": "bearer",
@@ -960,27 +1462,31 @@
"key": "token",
"value": "{{Token}}",
"type": "string"
- },
- {
- "key": "undefined",
- "type": "any"
}
]
},
- "method": "POST",
+ "method": "GET",
"header": [
+ {
+ "key": "Content-Type",
+ "name": "Content-Type",
+ "type": "text",
+ "value": "application/json"
+ },
{
"key": "x-hotelid",
- "value": "{{HotelId}}"
+ "value": "{{HotelId}}",
+ "type": "text"
},
{
"key": "x-app-key",
- "value": "{{AppKey}}"
+ "value": "{{AppKey}}",
+ "type": "text"
}
],
"body": {
"mode": "raw",
- "raw": "{\r\n \"criteria\": {\r\n \"hotelId\": \"{{HotelId}}\",\r\n \"accountName\": \"Oracle Australia\",\r\n \"profileId\": {\r\n \"type\": \"Profile\",\r\n \"id\": \"{{ProfileId}}\"\r\n },\r\n \"creditLimit\": {\r\n \"amount\": \"100000\"\r\n },\r\n \"monthEndCalcYN\": false,\r\n \"address\": {\r\n \"address\": {\r\n \"addressLine\": [\r\n \"4 Julius Ave\",\r\n \"1st Floor\"\r\n ],\r\n \"cityName\": \"North Ryde\",\r\n \"state\": \"NSW\"\r\n },\r\n \"type\": \"Address\",\r\n \"id\": \"825102\"\r\n },\r\n \"status\": {\r\n \"restricted\": false\r\n },\r\n \"batchStatement\": true,\r\n \"emailStatementsReminders\": false,\r\n \"primary\": true,\r\n \"type\": \"DFT\",\r\n \"permanent\": true\r\n }\r\n}",
+ "raw": "",
"options": {
"raw": {
"language": "json"
@@ -988,7 +1494,7 @@
}
},
"url": {
- "raw": "{{HostName}}/ars/v1/hotels/{{HotelId}}/accounts",
+ "raw": "{{HostName}}/ars/v1/hotels/{{HotelId}}/transactions/{{TransactionId}}/creditcard/payments",
"host": [
"{{HostName}}"
],
@@ -997,14 +1503,20 @@
"v1",
"hotels",
"{{HotelId}}",
- "accounts"
+ "transactions",
+ "{{TransactionId}}",
+ "creditcard",
+ "payments"
]
}
},
"response": []
},
{
- "name": "post AR Payments",
+ "name": "get Account Reminders",
+ "protocolProfileBehavior": {
+ "disableBodyPruning": true
+ },
"request": {
"auth": {
"type": "bearer",
@@ -1013,14 +1525,10 @@
"key": "token",
"value": "{{Token}}",
"type": "string"
- },
- {
- "key": "undefined",
- "type": "any"
}
]
},
- "method": "POST",
+ "method": "GET",
"header": [
{
"key": "Content-Type",
@@ -1029,19 +1537,19 @@
"value": "application/json"
},
{
- "key": "x-app-key",
- "value": "{{AppKey}}",
+ "key": "x-hotelid",
+ "value": "{{HotelId}}",
"type": "text"
},
{
- "key": "x-hotelid",
- "type": "text",
- "value": "{{HotelId}}"
+ "key": "x-app-key",
+ "value": "{{AppKey}}",
+ "type": "text"
}
],
"body": {
"mode": "raw",
- "raw": "{\r\n \"criteria\": {\r\n \"payment\": [\r\n {\r\n \"applyType\": \"OldestInvoice\",\r\n \"sequenceNo\": \"0\",\r\n \"hotelId\": \"{{HotelId}}\",\r\n \"paymentMethod\": {\r\n \"authorizationApproval\": {},\r\n \"paymentMethod\": \"CA\"\r\n },\r\n \"postingAmount\": {\r\n \"amount\": \"5\",\r\n \"currencyCode\": \"USD\"\r\n },\r\n \"applyCCSurcharge\": false,\r\n \"manualPaymentTaxInfo\": {\r\n \"folioWindowNo\": \"1\"\r\n },\r\n \"cashierId\": \"50\",\r\n \"folioWindowNo\": \"1\"\r\n }\r\n ],\r\n \"cashierId\": \"50\"\r\n }\r\n}",
+ "raw": "",
"options": {
"raw": {
"language": "json"
@@ -1049,27 +1557,50 @@
}
},
"url": {
- "raw": "{{HostName}}/ars/v1/hotels/{{HotelId}}/profiles/{{ProfileId}}/accounts/{{AccountId}}/payments",
+ "raw": "{{HostName}}/ars/v1/accountReminders?accounts={{AccountId}}",
"host": [
"{{HostName}}"
],
"path": [
"ars",
"v1",
- "hotels",
- "{{HotelId}}",
- "profiles",
- "{{ProfileId}}",
- "accounts",
- "{{AccountId}}",
- "payments"
+ "accountReminders"
+ ],
+ "query": [
+ {
+ "key": "accountNo",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "accounts",
+ "value": "{{AccountId}}"
+ },
+ {
+ "key": "hotelIds",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "profiles",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "accountName",
+ "value": "",
+ "disabled": true
+ }
]
}
},
"response": []
},
{
- "name": "Post AR Payments -> with CreditCard",
+ "name": "get Account Reminders History",
+ "protocolProfileBehavior": {
+ "disableBodyPruning": true
+ },
"request": {
"auth": {
"type": "bearer",
@@ -1078,14 +1609,10 @@
"key": "token",
"value": "{{Token}}",
"type": "string"
- },
- {
- "key": "undefined",
- "type": "any"
}
]
},
- "method": "POST",
+ "method": "GET",
"header": [
{
"key": "Content-Type",
@@ -1094,19 +1621,19 @@
"value": "application/json"
},
{
- "key": "x-app-key",
- "value": "{{AppKey}}",
+ "key": "x-hotelid",
+ "value": "{{HotelId}}",
"type": "text"
},
{
- "key": "x-hotelid",
- "type": "text",
- "value": "{{HotelId}}"
+ "key": "x-app-key",
+ "value": "{{AppKey}}",
+ "type": "text"
}
],
"body": {
"mode": "raw",
- "raw": "{\r\n \"criteria\": {\r\n \"payment\": [\r\n {\r\n \"applyType\": \"OldestInvoice\",\r\n \"sequenceNo\": \"0\",\r\n \"hotelId\": \"{{HotelId}}\",\r\n \"paymentMethod\": {\r\n \"authorizationApproval\": {},\r\n \"paymentCard\": {\r\n \"cardHolderName\": \"REST CARD\",\r\n \"cardType\": \"Ax\",\r\n \"attachCreditCardToProfile\": false,\r\n \"processing\": \"EFT\",\r\n \"cardNumberLast4Digits\": 1881,\r\n \"cardNumber\": 1234123412341234,\r\n \"expirationDateMasked\": \"07/28\",\r\n \"cardOrToken\": \"Token\",\r\n \"cardNumberMasked\": \"XXXXXXXXXXXX1881\",\r\n \"expirationDate\": \"2023-07-31\",\r\n \"citId\": \"654321ABC1234575\"\r\n },\r\n \"paymentMethod\": \"AX\"\r\n },\r\n \"postingAmount\": {\r\n \"amount\": \"5\",\r\n \"currencyCode\": \"USD\"\r\n },\r\n \"applyCCSurcharge\": false,\r\n \"manualPaymentTaxInfo\": {\r\n \"folioWindowNo\": \"1\"\r\n },\r\n }\r\n ],\r\n }\r\n}",
+ "raw": "",
"options": {
"raw": {
"language": "json"
@@ -1114,27 +1641,23 @@
}
},
"url": {
- "raw": "{{HostName}}/ars/v1/hotels/{{HotelId}}/profiles/{{ProfileId}}/accounts/{{AccountId}}/payments",
+ "raw": "{{HostName}}/ars/v1/accounts/{{AccountId}}/remindersHistory",
"host": [
"{{HostName}}"
],
"path": [
"ars",
"v1",
- "hotels",
- "{{HotelId}}",
- "profiles",
- "{{ProfileId}}",
"accounts",
"{{AccountId}}",
- "payments"
+ "remindersHistory"
]
}
},
"response": []
},
{
- "name": "transfer AR Credit Card Payments",
+ "name": "put AR Accountdetails",
"request": {
"auth": {
"type": "bearer",
@@ -1143,27 +1666,329 @@
"key": "token",
"value": "{{Token}}",
"type": "string"
- },
- {
- "key": "undefined",
- "type": "any"
}
]
},
- "method": "POST",
+ "method": "PUT",
"header": [
+ {
+ "key": "Content-Type",
+ "name": "Content-Type",
+ "type": "text",
+ "value": "application/json"
+ },
{
"key": "x-hotelid",
+ "type": "text",
"value": "{{HotelId}}"
},
{
"key": "x-app-key",
- "value": "{{AppKey}}"
- }
+ "value": "{{AppKey}}",
+ "type": "text"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"accountDetails\": {\r\n \"hotelId\": {{HotelId}},\r\n \"accountName\": {{AccountName}},\r\n \"accountNo\": {{AccountNo}},\r\n \"profileId\": {\r\n \"type\": \"Profile\",\r\n \"idContext\": \"OPERA\",\r\n \"id\": {{ProfileId}}\r\n },\r\n \"creditLimit\": {\r\n \"amount\": 500000\r\n },\r\n \"contactName\": \"Profile Name\",\r\n \"address\": {\r\n \"address\": {\r\n \"addressLine\": [\r\n \"2322 East North Street\",\r\n null,\r\n null,\r\n null\r\n ],\r\n \"cityName\": \"Castle Rock\",\r\n \"postalCode\": \"80108\",\r\n \"state\": \"CO\",\r\n \"country\": {\r\n \"code\": \"US\"\r\n },\r\n \"type\": \"AR ADDRESS\",\r\n \"typeDescription\": \"AR Address\"\r\n },\r\n \"id\": \"132909\",\r\n \"type\": \"Address\"\r\n },\r\n \"status\": {\r\n \"restricted\": false\r\n },\r\n \"batchStatement\": true,\r\n \"emailStatementsReminders\": false,\r\n \"primary\": true,\r\n \"type\": \"DFT\",\r\n \"permanent\": true\r\n }\r\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{HostName}}/ars/v1/hotels/{{HotelId}}/accounts/{{AccountId}}",
+ "host": [
+ "{{HostName}}"
+ ],
+ "path": [
+ "ars",
+ "v1",
+ "hotels",
+ "{{HotelId}}",
+ "accounts",
+ "{{AccountId}}"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "name": "post AR Account",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "{{Token}}",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "POST",
+ "header": [
+ {
+ "key": "Content-Type",
+ "name": "Content-Type",
+ "type": "text",
+ "value": "application/json"
+ },
+ {
+ "key": "x-hotelid",
+ "type": "text",
+ "value": "{{HotelId}}"
+ },
+ {
+ "key": "x-app-key",
+ "value": "{{AppKey}}",
+ "type": "text"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"criteria\": {\r\n \"hotelId\": {{HotelId}},\r\n \"accountName\": {{AccountName}},\r\n \"accountNo\": {{AccountNo}},\r\n \"profileId\": {\r\n \"type\": \"Profile\",\r\n \"idContext\": \"OPERA\",\r\n \"id\": {{ProfileId}}\r\n },\r\n \"creditLimit\": {\r\n \"amount\": \"100000\"\r\n },\r\n \"monthEndCalcYN\": true,\r\n \"address\": {\r\n \"address\": {\r\n \"addressLine\": [\r\n \"2312 East North Street\",\r\n null,\r\n null,\r\n null\r\n ],\r\n \"cityName\": \"Castle Rock\",\r\n \"postalCode\": \"80108\",\r\n \"state\": \"CO\",\r\n \"country\": {\r\n \"value\": \"US\",\r\n \"code\": \"US\"\r\n },\r\n \"type\": \"AR ADDRESS\",\r\n \"typeDescription\": \"AR Address\"\r\n },\r\n \"id\": \"1174068\",\r\n \"type\": \"Address\"\r\n },\r\n \"status\": {\r\n \"restricted\": false\r\n },\r\n \"batchStatement\": true,\r\n \"emailStatementsReminders\": false,\r\n \"primary\": true,\r\n \"type\": \"DFT\",\r\n \"permanent\": true\r\n }\r\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{HostName}}/ars/v1/hotels/{{HotelId}}/accounts",
+ "host": [
+ "{{HostName}}"
+ ],
+ "path": [
+ "ars",
+ "v1",
+ "hotels",
+ "{{HotelId}}",
+ "accounts"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "name": "post AR Invoice Payments",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "{{Token}}",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "POST",
+ "header": [
+ {
+ "key": "Content-Type",
+ "name": "Content-Type",
+ "type": "text",
+ "value": "application/json"
+ },
+ {
+ "key": "x-hotelid",
+ "type": "text",
+ "value": "{{HotelId}}"
+ },
+ {
+ "key": "x-app-key",
+ "value": "{{AppKey}}",
+ "type": "text"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"criteria\": {\r\n \"payment\": [\r\n {\r\n \"applyType\": \"OldestInvoice\",\r\n \"sequenceNo\": \"0\",\r\n \"hotelId\": {{HotelId}},\r\n \"paymentMethod\": {\r\n \"authorizationApproval\": {},\r\n \"paymentMethod\": \"CA\"\r\n },\r\n \"postingAmount\": {\r\n \"amount\": \"5\",\r\n \"currencyCode\": \"USD\"\r\n },\r\n \"applyCCSurcharge\": false,\r\n \"manualPaymentTaxInfo\": {\r\n \"folioWindowNo\": \"1\"\r\n },\r\n \"cashierId\": {{CashierId}},\r\n \"folioWindowNo\": \"1\"\r\n }\r\n ],\r\n \"cashierId\": {{CashierId}}\r\n }\r\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{HostName}}/ars/v1/hotels/{{HotelId}}/profiles/{{ProfileId}}/accounts/{{AccountId}}/payments",
+ "host": [
+ "{{HostName}}"
+ ],
+ "path": [
+ "ars",
+ "v1",
+ "hotels",
+ "{{HotelId}}",
+ "profiles",
+ "{{ProfileId}}",
+ "accounts",
+ "{{AccountId}}",
+ "payments"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "name": "post AR Invoice Payments -> w/credit card token",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "{{Token}}",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "POST",
+ "header": [
+ {
+ "key": "Content-Type",
+ "name": "Content-Type",
+ "type": "text",
+ "value": "application/json"
+ },
+ {
+ "key": "x-hotelid",
+ "type": "text",
+ "value": "{{HotelId}}"
+ },
+ {
+ "key": "x-app-key",
+ "value": "{{AppKey}}",
+ "type": "text"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"criteria\": {\r\n \"payment\": [\r\n {\r\n \"applyType\": \"OldestInvoice\",\r\n \"sequenceNo\": \"0\",\r\n \"hotelId\": {{HotelId}},\r\n \"paymentMethod\": {\r\n \"authorizationApproval\": {},\r\n \"paymentCard\": {\r\n \"cardHolderName\": \"REST TESTAR\",\r\n \"cardType\": \"Ax\",\r\n \"attachCreditCardToProfile\": false,\r\n \"processing\": \"EFT\",\r\n \"cardNumberLast4Digits\": 1881,\r\n \"cardNumber\": 8012123412345991,\r\n \"expirationDateMasked\": \"07/28\",\r\n \"cardOrToken\": \"Token\",\r\n \"cardNumberMasked\": \"XXXXXXXXXXXX1881\",\r\n \"expirationDate\": \"2028-07-31\",\r\n \"citId\": \"654321ABC1234575\"\r\n },\r\n \"paymentMethod\": \"AX\"\r\n },\r\n \"postingAmount\": {\r\n \"amount\": \"5\",\r\n \"currencyCode\": \"USD\"\r\n },\r\n \"applyCCSurcharge\": false,\r\n \"manualPaymentTaxInfo\": {\r\n \"folioWindowNo\": \"1\"\r\n },\r\n \"cashierId\": {{CashierId}},\r\n \"folioWindowNo\": \"1\"\r\n }\r\n ],\r\n \"cashierId\": {{CashierId}}\r\n }\r\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{HostName}}/ars/v1/hotels/{{HotelId}}/profiles/{{profileId}}/accounts/{{accountId}}/payments",
+ "host": [
+ "{{HostName}}"
+ ],
+ "path": [
+ "ars",
+ "v1",
+ "hotels",
+ "{{HotelId}}",
+ "profiles",
+ "{{profileId}}",
+ "accounts",
+ "{{accountId}}",
+ "payments"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "name": "post AR Invoice Payments -> custom payment method",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "{{Token}}",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "POST",
+ "header": [
+ {
+ "key": "Content-Type",
+ "name": "Content-Type",
+ "type": "text",
+ "value": "application/json"
+ },
+ {
+ "key": "x-hotelid",
+ "value": "{{HotelId}}",
+ "type": "text"
+ },
+ {
+ "key": "x-app-key",
+ "value": "{{AppKey}}",
+ "type": "text"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"criteria\": {\r\n \"payment\": [\r\n {\r\n \"applyType\": \"OldestInvoice\",\r\n \"sequenceNo\": \"0\",\r\n \"hotelId\": {{HotelId}},\r\n \"paymentMethod\": {\r\n \"authorizationApproval\": {},\r\n \"paymentMethod\": \"OTHER1\"\r\n },\r\n \"postingAmount\": {\r\n \"amount\": \"5\",\r\n \"currencyCode\": \"USD\"\r\n },\r\n \"applyCCSurcharge\": false,\r\n \"manualPaymentTaxInfo\": {\r\n \"folioWindowNo\": \"1\"\r\n },\r\n \"cashierId\": {{CashierId}},\r\n \"folioWindowNo\": \"1\"\r\n }\r\n ],\r\n \"cashierId\": {{CashierId}}\r\n }\r\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{HostName}}/ars/v1/hotels/{{HotelId}}/profiles/{{profileId}}/accounts/{{accountId}}/payments",
+ "host": [
+ "{{HostName}}"
+ ],
+ "path": [
+ "ars",
+ "v1",
+ "hotels",
+ "{{HotelId}}",
+ "profiles",
+ "{{profileId}}",
+ "accounts",
+ "{{accountId}}",
+ "payments"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "name": "post AR Credit Card Transfer",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "{{Token}}",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "POST",
+ "header": [
+ {
+ "key": "Content-Type",
+ "name": "Content-Type",
+ "type": "text",
+ "value": "application/json"
+ },
+ {
+ "key": "x-hotelId",
+ "value": "{{HotelId}}",
+ "type": "text"
+ },
+ {
+ "key": "x-app-key",
+ "value": "{{AppKey}}",
+ "type": "text"
+ }
],
"body": {
"mode": "raw",
- "raw": "{\r\n \"criteria\": {\r\n \"hotelId\": \"{{HotelId}}\",\r\n \"accountId\": {\r\n \"type\": \"AccountId\",\r\n \"id\": \"23350\"\r\n },\r\n \"totalAmount\": {\r\n \"amount\": \"300.1\"\r\n },\r\n \"transactionNo\": [\r\n \"116971\"\r\n ],\r\n \"trxNo\": [\r\n \"116971\"\r\n ],\r\n \"cashierId\": \"4\"\r\n }\r\n}",
+ "raw": "{\r\n \"criteria\": {\r\n \"hotelId\": \"{{HotelId}}\",\r\n \"accountId\": {\r\n \"type\": \"AccountId\",\r\n \"id\": {{AccountId}}\r\n },\r\n \"totalAmount\": {\r\n \"amount\": \"300.1\"\r\n },\r\n \"transactionNo\": [\r\n \"116971\"\r\n ],\r\n \"trxNo\": [\r\n \"116971\"\r\n ],\r\n \"cashierId\": {{CashierId}}\r\n }\r\n}",
"options": {
"raw": {
"language": "json"
@@ -1190,7 +2015,7 @@
"response": []
}
],
- "description": "###### APIs to cater for Accounts Receivables functionality in OPERA Cloud. \r\n\r\nThe OPERA Cloud Accounts Receivable module enables you to manage debtors’ accounts, invoices, and remittance.\r\nFor further detailed information on Accounts Receivables, please refer to OPERA Cloud Services User Guide located [here](https://docs.oracle.com/cd/F18689_01/doc.193/f23597/c_accounts_receivable_accounts_receivable_ch.htm#OCSUH-AccountsReceivable-EFA8CDB6).",
+ "description": "###### APIs to cater for Accounts Receivables functionality in OPERA Cloud. \r\n\r\nThe OPERA Cloud Accounts Receivable module enables you to manage debtors' accounts, invoices, and remittance.\r\nFor further detailed information on Accounts Receivables, please refer to OPERA Cloud Services User Guide located [here](https://docs.oracle.com/cd/F18689_01/doc.193/f23597/c_accounts_receivable_accounts_receivable_ch.htm#OCSUH-AccountsReceivable-EFA8CDB6).",
"event": [
{
"listen": "prerequest",
@@ -1259,12 +2084,12 @@
},
{
"key": "fromDate",
- "value": "2023-04-06",
+ "value": "2021-04-06",
"disabled": true
},
{
"key": "toDate",
- "value": "2023-04-07",
+ "value": "2021-04-07",
"disabled": true
},
{
@@ -1455,7 +2280,7 @@
}
],
"url": {
- "raw": "{{HostName}}/act/v1/hotels/{{HotelId}}/activityLog?fromDate=2023-09-26&offset=0&toDate=2023-09-26&limit=25&activityGroup=REP_ACTIVITY&activityType=CREATE+ACTIVITY",
+ "raw": "{{HostName}}/act/v1/hotels/{{HotelId}}/activityLog?fromDate=2021-09-26&offset=0&toDate=2021-09-26&limit=25&activityGroup=REP_ACTIVITY&activityType=CREATE+ACTIVITY",
"host": [
"{{HostName}}"
],
@@ -1474,7 +2299,7 @@
},
{
"key": "fromDate",
- "value": "2023-09-26"
+ "value": "2021-09-26"
},
{
"key": "offset",
@@ -1482,7 +2307,7 @@
},
{
"key": "toDate",
- "value": "2023-09-26"
+ "value": "2021-09-26"
},
{
"key": "limit",
@@ -1502,7 +2327,7 @@
"response": []
},
{
- "name": "get Activity With Out Hotel Id",
+ "name": "get Activity -> w/o HotelId",
"request": {
"auth": {
"type": "bearer",
@@ -1569,7 +2394,7 @@
}
],
"url": {
- "raw": "{{HostName}}/act/v1/hotels/{{HotelId}}/activities/statistics?reportStartDate=2023-12-01&activityTypeCodes=MEETING",
+ "raw": "{{HostName}}/act/v1/hotels/{{HotelId}}/activities/statistics?reportStartDate=2020-12-01&activityTypeCodes=MEETING",
"host": [
"{{HostName}}"
],
@@ -1584,7 +2409,7 @@
"query": [
{
"key": "reportStartDate",
- "value": "2023-12-01"
+ "value": "2020-12-01"
},
{
"key": "activityTypeCodes",
@@ -1627,7 +2452,7 @@
}
],
"url": {
- "raw": "{{HostName}}/act/v1/activities/emails?emailSubject=test&startDate=2023-11-01&endDate=2023-12-31",
+ "raw": "{{HostName}}/act/v1/activities/emails?emailSubject=test&startDate=2022-11-01&endDate=2022-12-31",
"host": [
"{{HostName}}"
],
@@ -1644,11 +2469,11 @@
},
{
"key": "startDate",
- "value": "2023-11-01"
+ "value": "2022-11-01"
},
{
"key": "endDate",
- "value": "2023-12-31"
+ "value": "2022-12-31"
}
]
},
@@ -1698,6 +2523,47 @@
},
"response": []
},
+ {
+ "name": "get Recently Accessed Activities -> w/o HotelId",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "{{Token}}",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "GET",
+ "header": [
+ {
+ "key": "x-app-key",
+ "type": "text",
+ "value": "{{AppKey}}"
+ },
+ {
+ "key": "x-hotelid",
+ "type": "text",
+ "value": "{{HotelId}}"
+ }
+ ],
+ "url": {
+ "raw": "{{HostName}}/act/v1/recentlyAccessedActivities",
+ "host": [
+ "{{HostName}}"
+ ],
+ "path": [
+ "act",
+ "v1",
+ "recentlyAccessedActivities"
+ ]
+ },
+ "description": "Use this to get recently accessed Activities."
+ },
+ "response": []
+ },
{
"name": "post Activities",
"event": [
@@ -1738,7 +2604,7 @@
],
"body": {
"mode": "raw",
- "raw": "{\r\n \"activitiesInformation\": {\r\n \"activityDetail\": {\r\n \"hotelId\": \"{{HotelId}}\",\r\n \"activityClass\": \"Appointment\",\r\n \"activityType\": \"TODO\",\r\n \"activityPurpose\": \"Example To-do\",\r\n \"activityOwner\": \"15743\",\r\n \"startDateTime\": \"2023-04-07 09:45:32.0\",\r\n \"endDateTime\": \"2023-04-07 10:45:32.0\",\r\n \"status\": {\r\n \"completed\": false\r\n },\r\n \"notes\": \"Notes go here if you like\",\r\n \"highPriority\": false\r\n }\r\n }\r\n}",
+ "raw": "{\r\n \"activitiesInformation\": {\r\n \"activityDetail\": {\r\n \"hotelId\": \"{{HotelId}}\",\r\n \"activityClass\": \"Appointment\",\r\n \"activityType\": \"TODO\",\r\n \"activityPurpose\": \"Example To-do\",\r\n \"activityOwner\": \"15743\",\r\n \"startDateTime\": \"2024-04-07 09:45:32.0\",\r\n \"endDateTime\": \"2024-04-07 10:45:32.0\",\r\n \"status\": {\r\n \"completed\": false\r\n },\r\n \"notes\": \"Notes go here if you like\",\r\n \"highPriority\": false\r\n }\r\n }\r\n}",
"options": {
"raw": {
"language": "json"
@@ -1864,7 +2730,7 @@
],
"body": {
"mode": "raw",
- "raw": "{\r\n \"activitiesInformation\": [\r\n {\r\n \"activityDetail\": {\r\n \"status\": {\r\n \"completed\": true,\r\n \"completedOn\": \"2023-03-18 12:01:00.0\"\r\n },\r\n \"notes\": \"completing the activity\",\r\n \"activityResult\": \"24\"\r\n }\r\n }\r\n ]\r\n}"
+ "raw": "{\r\n \"activitiesInformation\": [\r\n {\r\n \"activityDetail\": {\r\n \"status\": {\r\n \"completed\": true,\r\n \"completedOn\": \"2021-03-18 12:01:00.0\"\r\n },\r\n \"notes\": \"completing the activity\",\r\n \"activityResult\": \"24\"\r\n }\r\n }\r\n ]\r\n}"
},
"url": {
"raw": "{{HostName}}/act/v1/hotels/{{HotelId}}/activities/{{ActivityId}}/activityCompletion",
@@ -1969,7 +2835,7 @@
],
"body": {
"mode": "raw",
- "raw": "{\r\n \"activitiesInformation\": {\r\n \"activityId\": {\r\n \"id\": \"{{ActivityId}}\"\r\n },\r\n \"activityDetail\": {\r\n \"hotelId\": \"{{HotelId}}\",\r\n \"activityClass\": \"Appointment\",\r\n \"activityType\": \"TODO\",\r\n \"activityTypeDescription\": \"To-do\",\r\n \"activityPurpose\": \"To-do\",\r\n \"activityOwner\": \"15743\",\r\n \"startDateTime\": \"2023-04-03 09:45:32.0\",\r\n \"endDateTime\": \"2023-04-03 10:45:32.0\",\r\n \"status\": {\r\n \"completed\": false\r\n },\r\n \"notes\": \"Updating Attributes of Activity\"\r\n }\r\n }\r\n}",
+ "raw": "{\r\n \"activitiesInformation\": {\r\n \"activityId\": {\r\n \"id\": \"{{ActivityId}}\"\r\n },\r\n \"activityDetail\": {\r\n \"hotelId\": \"{{HotelId}}\",\r\n \"activityClass\": \"Appointment\",\r\n \"activityType\": \"TODO\",\r\n \"activityTypeDescription\": \"To-do\",\r\n \"activityPurpose\": \"To-do\",\r\n \"activityOwner\": \"15743\",\r\n \"startDateTime\": \"2024-04-03 09:45:32.0\",\r\n \"endDateTime\": \"2024-04-03 10:45:32.0\",\r\n \"status\": {\r\n \"completed\": false\r\n },\r\n \"notes\": \"Updating Attributes of Activity\"\r\n }\r\n }\r\n}",
"options": {
"raw": {
"language": "json"
@@ -1995,7 +2861,7 @@
"response": []
},
{
- "name": "delete Activities",
+ "name": "delete Activity",
"request": {
"auth": {
"type": "bearer",
@@ -2039,7 +2905,7 @@
"response": []
},
{
- "name": "delete Activity Attachment",
+ "name": "delete Activity -> w/o HotelId",
"request": {
"auth": {
"type": "bearer",
@@ -2065,27 +2931,22 @@
}
],
"url": {
- "raw": "{{HostName}}/act/v1/hotels/{{HotelId}}/activities/{{ActivityId}}/attachments/{{AttachmentId}}",
+ "raw": "{{HostName}}/act/v1/activities/{{ActivityId}}",
"host": [
"{{HostName}}"
],
"path": [
"act",
"v1",
- "hotels",
- "{{HotelId}}",
"activities",
- "{{ActivityId}}",
- "attachments",
- "{{AttachmentId}}"
+ "{{ActivityId}}"
]
- },
- "description": "Use this operation to delete an attachment that is on an existing activity."
+ }
},
"response": []
},
{
- "name": "delete Activity With Out Hotel Id",
+ "name": "delete Multiple Activities",
"request": {
"auth": {
"type": "bearer",
@@ -2099,6 +2960,16 @@
},
"method": "DELETE",
"header": [
+ {
+ "key": "Content-Type",
+ "type": "text",
+ "value": "application/json;charset=UTF-8"
+ },
+ {
+ "key": "Accept",
+ "type": "text",
+ "value": "application/json;charset=UTF-8"
+ },
{
"key": "x-app-key",
"type": "text",
@@ -2111,22 +2982,33 @@
}
],
"url": {
- "raw": "{{HostName}}/act/v1/activities/{{ActivityId}}",
+ "raw": "{{HostName}}/act/v1/activities?activityIds={{ActivityId}}",
"host": [
"{{HostName}}"
],
"path": [
"act",
"v1",
- "activities",
- "{{ActivityId}}"
+ "activities"
+ ],
+ "query": [
+ {
+ "key": "activityIds",
+ "value": "{{ActivityId}}"
+ },
+ {
+ "key": "activityIds",
+ "value": "",
+ "disabled": true
+ }
]
- }
+ },
+ "description": "If you want to delete more than one activity at the same time, use this API. You must know the activity IDs for the request."
},
"response": []
},
{
- "name": "delete Multiple Activities",
+ "name": "delete Activity Attachment",
"request": {
"auth": {
"type": "bearer",
@@ -2141,15 +3023,51 @@
"method": "DELETE",
"header": [
{
- "key": "Content-Type",
+ "key": "x-app-key",
"type": "text",
- "value": "application/json;charset=UTF-8"
+ "value": "{{AppKey}}"
},
{
- "key": "Accept",
+ "key": "x-hotelid",
"type": "text",
- "value": "application/json;charset=UTF-8"
- },
+ "value": "{{HotelId}}"
+ }
+ ],
+ "url": {
+ "raw": "{{HostName}}/act/v1/hotels/{{HotelId}}/activities/{{ActivityId}}/attachments/{{AttachmentId}}",
+ "host": [
+ "{{HostName}}"
+ ],
+ "path": [
+ "act",
+ "v1",
+ "hotels",
+ "{{HotelId}}",
+ "activities",
+ "{{ActivityId}}",
+ "attachments",
+ "{{AttachmentId}}"
+ ]
+ },
+ "description": "Use this operation to delete an attachment that is on an existing activity."
+ },
+ "response": []
+ },
+ {
+ "name": "delete Activity Attachment -> w/o HotelId",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "{{Token}}",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "DELETE",
+ "header": [
{
"key": "x-app-key",
"type": "text",
@@ -2162,28 +3080,20 @@
}
],
"url": {
- "raw": "{{HostName}}/act/v1/activities?activityIds={{ActivityId}}",
+ "raw": "{{HostName}}/act/v1/activities/{{ActivityId}}/attachments/{{AttachmentId}}",
"host": [
"{{HostName}}"
],
"path": [
"act",
"v1",
- "activities"
- ],
- "query": [
- {
- "key": "activityIds",
- "value": "{{ActivityId}}"
- },
- {
- "key": "activityIds",
- "value": "",
- "disabled": true
- }
+ "activities",
+ "{{ActivityId}}",
+ "attachments",
+ "{{AttachmentId}}"
]
},
- "description": "If you want to delete more than one activity at the same time, use this API. You must know the activity IDs for the request."
+ "description": "Use this to delete attachment of an existing Activity for a hotel. You must know the OPERA Activity ID and Attachment ID for this API."
},
"response": []
}
@@ -3418,10 +4328,6 @@
"key": "token",
"value": "{{Token}}",
"type": "string"
- },
- {
- "key": "undefined",
- "type": "any"
}
]
},
@@ -3521,10 +4427,6 @@
"key": "token",
"value": "{{Token}}",
"type": "string"
- },
- {
- "key": "undefined",
- "type": "any"
}
]
},
@@ -3608,10 +4510,6 @@
"key": "token",
"value": "{{Token}}",
"type": "string"
- },
- {
- "key": "undefined",
- "type": "any"
}
]
},
@@ -3674,10 +4572,6 @@
"key": "token",
"value": "{{Token}}",
"type": "string"
- },
- {
- "key": "undefined",
- "type": "any"
}
]
},
@@ -3744,10 +4638,151 @@
"key": "token",
"value": "{{Token}}",
"type": "string"
+ }
+ ]
+ },
+ "method": "GET",
+ "header": [
+ {
+ "key": "Content-Type",
+ "name": "Content-Type",
+ "type": "text",
+ "value": "application/json"
+ },
+ {
+ "key": "x-hotelid",
+ "type": "text",
+ "value": "{{HotelId}}"
+ },
+ {
+ "key": "x-app-key",
+ "type": "text",
+ "value": "{{AppKey}}"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{HostName}}/par/v1/hotels/{{HotelId}}/availableUpsells?numberOfRooms=1&ratePlanCode=BARBB&roomType=SUP&startDate=2023-03-22&endDate=2023-03-23&fixedRate=false&reservationStatus=Reserved&rateDate=2023-03-22&requiredAmount=90&adults=1&profileId={{ProfileId}}&reservationId={{ReservationId}}",
+ "host": [
+ "{{HostName}}"
+ ],
+ "path": [
+ "par",
+ "v1",
+ "hotels",
+ "{{HotelId}}",
+ "availableUpsells"
+ ],
+ "query": [
+ {
+ "key": "numberOfRooms",
+ "value": "1"
+ },
+ {
+ "key": "ratePlanCode",
+ "value": "BARBB"
+ },
+ {
+ "key": "roomType",
+ "value": "SUP"
+ },
+ {
+ "key": "startDate",
+ "value": "2023-03-22"
+ },
+ {
+ "key": "endDate",
+ "value": "2023-03-23"
+ },
+ {
+ "key": "fixedRate",
+ "value": "false"
+ },
+ {
+ "key": "reservationStatus",
+ "value": "Reserved"
+ },
+ {
+ "key": "rateDate",
+ "value": "2023-03-22"
+ },
+ {
+ "key": "requiredAmount",
+ "value": "90"
},
{
- "key": "undefined",
- "type": "any"
+ "key": "adults",
+ "value": "1"
+ },
+ {
+ "key": "profileId",
+ "value": "{{ProfileId}}"
+ },
+ {
+ "key": "reservationId",
+ "value": "{{ReservationId}}"
+ },
+ {
+ "key": "rateAmount",
+ "value": "90",
+ "disabled": true
+ },
+ {
+ "key": "guaranteeCode",
+ "value": "6PM",
+ "disabled": true
+ },
+ {
+ "key": "marketCode",
+ "value": "ASSN",
+ "disabled": true
+ },
+ {
+ "key": "endDate",
+ "value": "",
+ "disabled": true
+ }
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "name": "get Hotel Availability",
+ "event": [
+ {
+ "listen": "prerequest",
+ "script": {
+ "exec": [
+ "var moment = require('moment');\r",
+ "pm.environment.set('currentdate', moment().format((\"YYYY-MM-DD\")));\r",
+ "\r",
+ "var moment = require('moment');\r",
+ "pm.environment.set('currentdateplus1', moment().add(1,'days').format((\"YYYY-MM-DD\")));"
+ ],
+ "type": "text/javascript"
+ }
+ }
+ ],
+ "protocolProfileBehavior": {
+ "disableBodyPruning": true
+ },
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "{{Token}}",
+ "type": "string"
}
]
},
@@ -3780,7 +4815,7 @@
}
},
"url": {
- "raw": "{{HostName}}/par/v1/hotels/{{HotelId}}/availableUpsells?numberOfRooms=1&ratePlanCode=BARBB&roomType=SUP&startDate=2023-03-22&endDate=2023-03-23&fixedRate=false&reservationStatus=Reserved&rateDate=2023-03-22&requiredAmount=90&adults=1&profileId={{ProfileId}}&reservationId={{ReservationId}}",
+ "raw": "{{HostName}}/par/v1/hotels/{{HotelId}}/availability?roomStayStartDate={{currentdate}}&roomStayEndDate={{currentdateplus1}}&roomStayQuantity=2&adults=1&children=0&limit=1",
"host": [
"{{HostName}}"
],
@@ -3789,74 +4824,181 @@
"v1",
"hotels",
"{{HotelId}}",
- "availableUpsells"
+ "availability"
],
"query": [
{
- "key": "numberOfRooms",
- "value": "1"
+ "key": "roomStayStartDate",
+ "value": "{{currentdate}}"
+ },
+ {
+ "key": "roomStayEndDate",
+ "value": "{{currentdateplus1}}"
},
{
"key": "ratePlanCode",
- "value": "BARBB"
+ "value": "{{RatePlanCode}}",
+ "description": "optional",
+ "disabled": true
+ },
+ {
+ "key": "roomStayQuantity",
+ "value": "2"
+ },
+ {
+ "key": "adults",
+ "value": "1"
+ },
+ {
+ "key": "children",
+ "value": "0"
+ },
+ {
+ "key": "childAge",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "limit",
+ "value": "1"
},
{
"key": "roomType",
- "value": "SUP"
+ "value": "DBL",
+ "disabled": true
},
{
- "key": "startDate",
- "value": "2023-03-22"
+ "key": "includeClosedRates",
+ "value": "",
+ "disabled": true
},
{
- "key": "endDate",
- "value": "2023-03-23"
+ "key": "includeDefaultRatePlanSet",
+ "value": "",
+ "disabled": true
},
{
- "key": "fixedRate",
- "value": "false"
+ "key": "initialRatePlanSet",
+ "value": "",
+ "disabled": true
},
{
- "key": "reservationStatus",
- "value": "Reserved"
+ "key": "ratePlanSet",
+ "value": "",
+ "disabled": true
},
{
- "key": "rateDate",
- "value": "2023-03-22"
+ "key": "pagePointerKey",
+ "value": "",
+ "disabled": true
},
{
- "key": "requiredAmount",
- "value": "90"
+ "key": "bucket1Count",
+ "value": "",
+ "disabled": true
},
{
- "key": "adults",
- "value": "1"
+ "key": "bucket2Count",
+ "value": "",
+ "disabled": true
},
{
- "key": "profileId",
- "value": "{{ProfileId}}"
+ "key": "bucket3Count",
+ "value": "",
+ "disabled": true
},
{
- "key": "reservationId",
- "value": "{{ReservationId}}"
+ "key": "bucket4Count",
+ "value": "",
+ "disabled": true
},
{
- "key": "rateAmount",
- "value": "90",
+ "key": "bucket5Count",
+ "value": "",
"disabled": true
},
{
- "key": "guaranteeCode",
- "value": "6PM",
+ "key": "fullStayTimeSpanStartDate",
+ "value": "",
"disabled": true
},
{
- "key": "marketCode",
- "value": "ASSN",
+ "key": "fullStayTimeSpanEndDate",
+ "value": "",
"disabled": true
},
{
- "key": "endDate",
+ "key": "prevailingRate",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "rateCategory",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "rateClass",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "rateGroup",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "feature",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "reservationGuestId",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "reservationGuestIdType",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "hotelReservationId",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "hotelReservationIdType",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "ratePlanInfo",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "returnOnlyAvailableRateCodes",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "resGuaranteeInfo",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "roomTypeInfo",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "membershipIdNumber",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "smokingPreference",
"value": "",
"disabled": true
}
@@ -3866,7 +5008,7 @@
"response": []
},
{
- "name": "get Hotel Availability",
+ "name": "get Hotel Availability -> with profileId / negotiated rates",
"event": [
{
"listen": "prerequest",
@@ -3893,10 +5035,6 @@
"key": "token",
"value": "{{Token}}",
"type": "string"
- },
- {
- "key": "undefined",
- "type": "any"
}
]
},
@@ -3929,7 +5067,7 @@
}
},
"url": {
- "raw": "{{HostName}}/par/v1/hotels/{{HotelId}}/availability?roomStayStartDate={{currentdate}}&roomStayEndDate={{currentdateplus1}}&roomStayQuantity=2&adults=1&children=0&limit=1",
+ "raw": "{{HostName}}/par/v1/hotels/{{HotelId}}/availability?roomStayStartDate={{currentdate}}&roomStayEndDate={{currentdateplus1}}&roomStayQuantity=1&adults=1&children=0&limit=5&includeDefaultRatePlanSet=true&initialRatePlanSet=false&ratePlanSet=NEGOTIATED&reservationGuestId={{CompanyId}}&reservationGuestIdType=Profile",
"host": [
"{{HostName}}"
],
@@ -3957,7 +5095,7 @@
},
{
"key": "roomStayQuantity",
- "value": "2"
+ "value": "1"
},
{
"key": "adults",
@@ -3974,7 +5112,7 @@
},
{
"key": "limit",
- "value": "1"
+ "value": "5"
},
{
"key": "roomType",
@@ -3988,18 +5126,15 @@
},
{
"key": "includeDefaultRatePlanSet",
- "value": "",
- "disabled": true
+ "value": "true"
},
{
"key": "initialRatePlanSet",
- "value": "",
- "disabled": true
+ "value": "false"
},
{
"key": "ratePlanSet",
- "value": "",
- "disabled": true
+ "value": "NEGOTIATED"
},
{
"key": "pagePointerKey",
@@ -4068,13 +5203,11 @@
},
{
"key": "reservationGuestId",
- "value": "",
- "disabled": true
+ "value": "{{CompanyId}}"
},
{
"key": "reservationGuestIdType",
- "value": "",
- "disabled": true
+ "value": "Profile"
},
{
"key": "hotelReservationId",
@@ -4088,7 +5221,7 @@
},
{
"key": "ratePlanInfo",
- "value": "",
+ "value": "true",
"disabled": true
},
{
@@ -4122,7 +5255,7 @@
"response": []
},
{
- "name": "get Hotel Availability -> with profileId / negotiated rates",
+ "name": "get Hotel Availability -> with Group Profile ID (block)",
"event": [
{
"listen": "prerequest",
@@ -4149,10 +5282,6 @@
"key": "token",
"value": "{{Token}}",
"type": "string"
- },
- {
- "key": "undefined",
- "type": "any"
}
]
},
@@ -4185,7 +5314,7 @@
}
},
"url": {
- "raw": "{{HostName}}/par/v1/hotels/{{HotelId}}/availability?roomStayStartDate={{currentdate}}&roomStayEndDate={{currentdateplus1}}&roomStayQuantity=1&adults=1&children=0&limit=5&includeDefaultRatePlanSet=true&initialRatePlanSet=false&ratePlanSet=NEGOTIATED&reservationGuestId={{CompanyId}}&reservationGuestIdType=Profile",
+ "raw": "{{HostName}}/par/v1/hotels/{{HotelId}}/availability?roomStayStartDate={{currentdate}}&roomStayEndDate={{currentdateplus1}}&roomStayQuantity=1&adults=1&children=0&limit=5&includeDefaultRatePlanSet=true&initialRatePlanSet=false&reservationGuestId=76600&reservationGuestIdType=Profile",
"host": [
"{{HostName}}"
],
@@ -4252,7 +5381,8 @@
},
{
"key": "ratePlanSet",
- "value": "NEGOTIATED"
+ "value": "NEGOTIATED",
+ "disabled": true
},
{
"key": "pagePointerKey",
@@ -4321,7 +5451,8 @@
},
{
"key": "reservationGuestId",
- "value": "{{CompanyId}}"
+ "value": "76600",
+ "description": "Group/Block Profile Id"
},
{
"key": "reservationGuestIdType",
@@ -4373,7 +5504,7 @@
"response": []
},
{
- "name": "get Hotel Availability -> with Group Profile ID (block)",
+ "name": "get Hotel Availability -> with Promotion Code",
"event": [
{
"listen": "prerequest",
@@ -4400,10 +5531,6 @@
"key": "token",
"value": "{{Token}}",
"type": "string"
- },
- {
- "key": "undefined",
- "type": "any"
}
]
},
@@ -4436,7 +5563,7 @@
}
},
"url": {
- "raw": "{{HostName}}/par/v1/hotels/{{HotelId}}/availability?roomStayStartDate={{currentdate}}&roomStayEndDate={{currentdateplus1}}&roomStayQuantity=1&adults=1&children=0&limit=5&includeDefaultRatePlanSet=true&initialRatePlanSet=false&reservationGuestId=76600&reservationGuestIdType=Profile",
+ "raw": "{{HostName}}/par/v1/hotels/{{HotelId}}/availability?roomStayQuantity=1&adults=1&children=0&promotionCode={{PromotionCode}}&roomStayStartDate=2023-04-08&roomStayEndDate=2023-04-12&limit=5",
"host": [
"{{HostName}}"
],
@@ -4448,14 +5575,6 @@
"availability"
],
"query": [
- {
- "key": "roomStayStartDate",
- "value": "{{currentdate}}"
- },
- {
- "key": "roomStayEndDate",
- "value": "{{currentdateplus1}}"
- },
{
"key": "ratePlanCode",
"value": "{{RatePlanCode}}",
@@ -4479,10 +5598,6 @@
"value": "",
"disabled": true
},
- {
- "key": "limit",
- "value": "5"
- },
{
"key": "roomType",
"value": "DBL",
@@ -4493,19 +5608,6 @@
"value": "",
"disabled": true
},
- {
- "key": "includeDefaultRatePlanSet",
- "value": "true"
- },
- {
- "key": "initialRatePlanSet",
- "value": "false"
- },
- {
- "key": "ratePlanSet",
- "value": "NEGOTIATED",
- "disabled": true
- },
{
"key": "pagePointerKey",
"value": "",
@@ -4571,15 +5673,6 @@
"value": "",
"disabled": true
},
- {
- "key": "reservationGuestId",
- "value": "76600",
- "description": "Group/Block Profile Id"
- },
- {
- "key": "reservationGuestIdType",
- "value": "Profile"
- },
{
"key": "hotelReservationId",
"value": "",
@@ -4619,6 +5712,22 @@
"key": "smokingPreference",
"value": "",
"disabled": true
+ },
+ {
+ "key": "promotionCode",
+ "value": "{{PromotionCode}}"
+ },
+ {
+ "key": "roomStayStartDate",
+ "value": "2023-04-08"
+ },
+ {
+ "key": "roomStayEndDate",
+ "value": "2023-04-12"
+ },
+ {
+ "key": "limit",
+ "value": "5"
}
]
}
@@ -4626,7 +5735,7 @@
"response": []
},
{
- "name": "get Hotel Availability -> with Promotion Code",
+ "name": "get Hotel Availability CRO",
"event": [
{
"listen": "prerequest",
@@ -4653,245 +5762,6 @@
"key": "token",
"value": "{{Token}}",
"type": "string"
- },
- {
- "key": "undefined",
- "type": "any"
- }
- ]
- },
- "method": "GET",
- "header": [
- {
- "key": "Content-Type",
- "name": "Content-Type",
- "type": "text",
- "value": "application/json"
- },
- {
- "key": "x-hotelid",
- "type": "text",
- "value": "{{HotelId}}"
- },
- {
- "key": "x-app-key",
- "type": "text",
- "value": "{{AppKey}}"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": "",
- "options": {
- "raw": {
- "language": "json"
- }
- }
- },
- "url": {
- "raw": "{{HostName}}/par/v1/hotels/{{HotelId}}/availability?roomStayQuantity=1&adults=1&children=0&promotionCode={{PromotionCode}}&roomStayStartDate=2023-04-08&roomStayEndDate=2023-04-12&limit=5",
- "host": [
- "{{HostName}}"
- ],
- "path": [
- "par",
- "v1",
- "hotels",
- "{{HotelId}}",
- "availability"
- ],
- "query": [
- {
- "key": "ratePlanCode",
- "value": "{{RatePlanCode}}",
- "description": "optional",
- "disabled": true
- },
- {
- "key": "roomStayQuantity",
- "value": "1"
- },
- {
- "key": "adults",
- "value": "1"
- },
- {
- "key": "children",
- "value": "0"
- },
- {
- "key": "childAge",
- "value": "",
- "disabled": true
- },
- {
- "key": "roomType",
- "value": "DBL",
- "disabled": true
- },
- {
- "key": "includeClosedRates",
- "value": "",
- "disabled": true
- },
- {
- "key": "pagePointerKey",
- "value": "",
- "disabled": true
- },
- {
- "key": "bucket1Count",
- "value": "",
- "disabled": true
- },
- {
- "key": "bucket2Count",
- "value": "",
- "disabled": true
- },
- {
- "key": "bucket3Count",
- "value": "",
- "disabled": true
- },
- {
- "key": "bucket4Count",
- "value": "",
- "disabled": true
- },
- {
- "key": "bucket5Count",
- "value": "",
- "disabled": true
- },
- {
- "key": "fullStayTimeSpanStartDate",
- "value": "",
- "disabled": true
- },
- {
- "key": "fullStayTimeSpanEndDate",
- "value": "",
- "disabled": true
- },
- {
- "key": "prevailingRate",
- "value": "",
- "disabled": true
- },
- {
- "key": "rateCategory",
- "value": "",
- "disabled": true
- },
- {
- "key": "rateClass",
- "value": "",
- "disabled": true
- },
- {
- "key": "rateGroup",
- "value": "",
- "disabled": true
- },
- {
- "key": "feature",
- "value": "",
- "disabled": true
- },
- {
- "key": "hotelReservationId",
- "value": "",
- "disabled": true
- },
- {
- "key": "hotelReservationIdType",
- "value": "",
- "disabled": true
- },
- {
- "key": "ratePlanInfo",
- "value": "true",
- "disabled": true
- },
- {
- "key": "returnOnlyAvailableRateCodes",
- "value": "",
- "disabled": true
- },
- {
- "key": "resGuaranteeInfo",
- "value": "",
- "disabled": true
- },
- {
- "key": "roomTypeInfo",
- "value": "",
- "disabled": true
- },
- {
- "key": "membershipIdNumber",
- "value": "",
- "disabled": true
- },
- {
- "key": "smokingPreference",
- "value": "",
- "disabled": true
- },
- {
- "key": "promotionCode",
- "value": "{{PromotionCode}}"
- },
- {
- "key": "roomStayStartDate",
- "value": "2023-04-08"
- },
- {
- "key": "roomStayEndDate",
- "value": "2023-04-12"
- },
- {
- "key": "limit",
- "value": "5"
- }
- ]
- }
- },
- "response": []
- },
- {
- "name": "get Hotel Availability CRO",
- "event": [
- {
- "listen": "prerequest",
- "script": {
- "exec": [
- "var moment = require('moment');\r",
- "pm.environment.set('currentdate', moment().format((\"YYYY-MM-DD\")));\r",
- "\r",
- "var moment = require('moment');\r",
- "pm.environment.set('currentdateplus1', moment().add(1,'days').format((\"YYYY-MM-DD\")));"
- ],
- "type": "text/javascript"
- }
- }
- ],
- "protocolProfileBehavior": {
- "disableBodyPruning": true
- },
- "request": {
- "auth": {
- "type": "bearer",
- "bearer": [
- {
- "key": "token",
- "value": "{{Token}}",
- "type": "string"
- },
- {
- "key": "undefined",
- "type": "any"
}
]
},
@@ -5004,10 +5874,6 @@
"key": "token",
"value": "{{Token}}",
"type": "string"
- },
- {
- "key": "undefined",
- "type": "any"
}
]
},
@@ -5097,10 +5963,6 @@
"key": "token",
"value": "{{Token}}",
"type": "string"
- },
- {
- "key": "undefined",
- "type": "any"
}
]
},
@@ -5177,10 +6039,6 @@
"key": "token",
"value": "{{Token}}",
"type": "string"
- },
- {
- "key": "undefined",
- "type": "any"
}
]
},
@@ -5283,10 +6141,6 @@
"key": "token",
"value": "{{Token}}",
"type": "string"
- },
- {
- "key": "undefined",
- "type": "any"
}
]
},
@@ -5361,10 +6215,6 @@
"key": "token",
"value": "{{Token}}",
"type": "string"
- },
- {
- "key": "undefined",
- "type": "any"
}
]
},
@@ -5438,10 +6288,6 @@
"key": "token",
"value": "{{Token}}",
"type": "string"
- },
- {
- "key": "undefined",
- "type": "any"
}
]
},
@@ -5499,10 +6345,6 @@
"key": "token",
"value": "{{Token}}",
"type": "string"
- },
- {
- "key": "undefined",
- "type": "any"
}
]
},
@@ -5561,10 +6403,6 @@
"key": "token",
"value": "{{Token}}",
"type": "string"
- },
- {
- "key": "undefined",
- "type": "any"
}
]
},
@@ -5624,9 +6462,6 @@
"item": [
{
"name": "get Business Date",
- "protocolProfileBehavior": {
- "disableBodyPruning": true
- },
"request": {
"auth": {
"type": "bearer",
@@ -5635,41 +6470,22 @@
"key": "token",
"value": "{{Token}}",
"type": "string"
- },
- {
- "key": "undefined",
- "type": "any"
}
]
},
"method": "GET",
"header": [
- {
- "key": "Content-Type",
- "name": "Content-Type",
- "type": "text",
- "value": "application/json"
- },
- {
- "key": "x-hotelid",
- "type": "text",
- "value": "{{HotelId}}"
- },
{
"key": "x-app-key",
"value": "{{AppKey}}",
"type": "text"
+ },
+ {
+ "key": "x-hotelId",
+ "value": "{{HotelId}}",
+ "type": "text"
}
],
- "body": {
- "mode": "raw",
- "raw": "",
- "options": {
- "raw": {
- "language": "json"
- }
- }
- },
"url": {
"raw": "{{HostName}}/bof/v1/hotels/{{HotelId}}/businessDate",
"host": [
@@ -5740,7 +6556,7 @@
}
],
"url": {
- "raw": "{{HostName}}/blk/v1/blocks/{{BlockId}}/restrictions?endDate=2023-06-16&hotelId={{HotelId}}&startDate=2023-06-15",
+ "raw": "{{HostName}}/blk/v1/blocks/{{BlockId}}/restrictions?endDate=2021-06-16&hotelId={{HotelId}}&startDate=2024-06-15",
"host": [
"{{HostName}}"
],
@@ -5754,7 +6570,7 @@
"query": [
{
"key": "endDate",
- "value": "2023-06-16"
+ "value": "2021-06-16"
},
{
"key": "hotelId",
@@ -5772,7 +6588,7 @@
},
{
"key": "startDate",
- "value": "2023-06-15"
+ "value": "2024-06-15"
}
]
}
@@ -5816,7 +6632,7 @@
],
"body": {
"mode": "raw",
- "raw": "{\r\n \"createBlockRestriction\": {\r\n \"blockId\": {\r\n \"type\": \"Block\",\r\n \"idContext\": \"OPERA\",\r\n \"id\": \"{{BlockId}}\"\r\n },\r\n \"restrictionStatus\": {\r\n \"code\": \"ClosedForDeparture\"\r\n },\r\n \"hotelId\": \"{{HotelId}}\",\r\n \"sunday\": true,\r\n \"monday\": true,\r\n \"tuesday\": true,\r\n \"wednesday\": true,\r\n \"thursday\": true,\r\n \"friday\": true,\r\n \"saturday\": true,\r\n \"start\": \"2023-10-21\",\r\n \"end\": \"2023-10-22\"\r\n }\r\n}",
+ "raw": "{\r\n \"createBlockRestriction\": {\r\n \"blockId\": {\r\n \"type\": \"Block\",\r\n \"idContext\": \"OPERA\",\r\n \"id\": \"{{BlockId}}\"\r\n },\r\n \"restrictionStatus\": {\r\n \"code\": \"ClosedForDeparture\"\r\n },\r\n \"hotelId\": \"{{HotelId}}\",\r\n \"sunday\": true,\r\n \"monday\": true,\r\n \"tuesday\": true,\r\n \"wednesday\": true,\r\n \"thursday\": true,\r\n \"friday\": true,\r\n \"saturday\": true,\r\n \"start\": \"2021-10-21\",\r\n \"end\": \"2021-10-22\"\r\n }\r\n}",
"options": {
"raw": {
"language": "json"
@@ -5845,7 +6661,7 @@
"name": "get Block by Id",
"item": [
{
- "name": "get Block (by BlockId)",
+ "name": "get Block (v1) (by BlockId)",
"request": {
"auth": {
"type": "bearer",
@@ -5871,7 +6687,7 @@
}
],
"url": {
- "raw": "{{HostName}}/blk/v1/hotels/{{HotelId}}/blocks/{{BlockId}}?fetchInstructions=SummaryStatistics",
+ "raw": "{{HostName}}/blk/v1/hotels/{{HotelId}}/blocks/{{BlockId}}",
"host": [
"{{HostName}}"
],
@@ -5916,7 +6732,8 @@
},
{
"key": "fetchInstructions",
- "value": "SummaryStatistics"
+ "value": "SummaryStatistics",
+ "disabled": true
}
]
}
@@ -5924,7 +6741,7 @@
"response": []
},
{
- "name": "get Block inc Room/Rate Grid Details",
+ "name": "get Block (v1) inc Room/Rate Grid Details",
"request": {
"auth": {
"type": "bearer",
@@ -5950,7 +6767,7 @@
}
],
"url": {
- "raw": "{{HostName}}/blk/v1/hotels/{{HotelId}}/blocks/{{BlockId}}?fetchAllocatedRoomTypes=true&roomAllocationCriteria=Initial&roomAllocationCriteria=Rates&roomAllocationCriteria=CutoffDate&roomAllocationCriteria=Contract&fetchInstructions=RateGrid&startDate=2023-08-01&numberOfDays=1",
+ "raw": "{{HostName}}/blk/v1/hotels/{{HotelId}}/blocks/{{BlockId}}?fetchAllocatedRoomTypes=true&roomAllocationCriteria=Initial&roomAllocationCriteria=Rates&roomAllocationCriteria=CutoffDate&roomAllocationCriteria=Contract&fetchInstructions=RateGrid&startDate=2024-08-01&numberOfDays=1",
"host": [
"{{HostName}}"
],
@@ -5989,7 +6806,7 @@
},
{
"key": "startDate",
- "value": "2023-08-01"
+ "value": "2024-08-01"
},
{
"key": "numberOfDays",
@@ -6126,7 +6943,7 @@
],
"body": {
"mode": "raw",
- "raw": "{\r\n \"criteria\": {\r\n \"hotelId\": \"{{HotelId}}\",\r\n \"blockId\": {\r\n \"type\": \"Block\",\r\n \"idContext\": \"OPERA\",\r\n \"id\": \"{{BlockId}}\"\r\n },\r\n \"allocationRoomTypes\": [\r\n {\r\n \"allocationGridDates\": [\r\n {\r\n \"roomAllocationInfo\": [\r\n {\r\n \"inventory\": {\r\n \"forceOverbook\": false\r\n },\r\n \"rate\": {\r\n \"onePerson\": \"240\",\r\n \"twoPerson\": \"240\",\r\n \"threePerson\": \"260\"\r\n },\r\n \"start\": \"2023-09-27\",\r\n \"end\": \"2023-09-27\"\r\n },\r\n {\r\n \"inventory\": {\r\n \"forceOverbook\": false\r\n },\r\n \"rate\": {\r\n \"onePerson\": \"200\",\r\n \"twoPerson\": \"220\"\r\n },\r\n \"start\": \"2023-09-26\",\r\n \"end\": \"2023-09-26\"\r\n }\r\n ],\r\n \"allocation\": \"RATES\"\r\n },\r\n {\r\n \"roomAllocationInfo\": [\r\n {\r\n \"inventory\": {\r\n \"forceOverbook\": false,\r\n \"onePerson\": \"4\",\r\n \"twoPerson\": \"4\"\r\n },\r\n \"rate\": {},\r\n \"start\": \"2023-09-27\",\r\n \"end\": \"2023-09-27\"\r\n },\r\n {\r\n \"inventory\": {\r\n \"forceOverbook\": false,\r\n \"onePerson\": \"3\",\r\n \"twoPerson\": \"3\"\r\n },\r\n \"rate\": {},\r\n \"start\": \"2023-09-26\",\r\n \"end\": \"2023-09-26\"\r\n }\r\n ],\r\n \"allocation\": \"INITIAL\"\r\n }\r\n ],\r\n \"roomType\": \"EXEC\"\r\n }\r\n ],\r\n \"genericRoomType\": false\r\n }\r\n}",
+ "raw": "{\r\n \"criteria\": {\r\n \"hotelId\": \"{{HotelId}}\",\r\n \"blockId\": {\r\n \"type\": \"Block\",\r\n \"idContext\": \"OPERA\",\r\n \"id\": \"{{BlockId}}\"\r\n },\r\n \"allocationRoomTypes\": [\r\n {\r\n \"allocationGridDates\": [\r\n {\r\n \"roomAllocationInfo\": [\r\n {\r\n \"inventory\": {\r\n \"forceOverbook\": false\r\n },\r\n \"rate\": {\r\n \"onePerson\": \"240\",\r\n \"twoPerson\": \"240\",\r\n \"threePerson\": \"260\"\r\n },\r\n \"start\": \"2021-09-27\",\r\n \"end\": \"2021-09-27\"\r\n },\r\n {\r\n \"inventory\": {\r\n \"forceOverbook\": false\r\n },\r\n \"rate\": {\r\n \"onePerson\": \"200\",\r\n \"twoPerson\": \"220\"\r\n },\r\n \"start\": \"2021-09-26\",\r\n \"end\": \"2021-09-26\"\r\n }\r\n ],\r\n \"allocation\": \"RATES\"\r\n },\r\n {\r\n \"roomAllocationInfo\": [\r\n {\r\n \"inventory\": {\r\n \"forceOverbook\": false,\r\n \"onePerson\": \"4\",\r\n \"twoPerson\": \"4\"\r\n },\r\n \"rate\": {},\r\n \"start\": \"2021-09-27\",\r\n \"end\": \"2021-09-27\"\r\n },\r\n {\r\n \"inventory\": {\r\n \"forceOverbook\": false,\r\n \"onePerson\": \"3\",\r\n \"twoPerson\": \"3\"\r\n },\r\n \"rate\": {},\r\n \"start\": \"2021-09-26\",\r\n \"end\": \"2021-09-26\"\r\n }\r\n ],\r\n \"allocation\": \"INITIAL\"\r\n }\r\n ],\r\n \"roomType\": \"EXEC\"\r\n }\r\n ],\r\n \"genericRoomType\": false\r\n }\r\n}",
"options": {
"raw": {
"language": "json"
@@ -6316,7 +7133,7 @@
],
"body": {
"mode": "raw",
- "raw": "{\r\n \"blockAllocationWashType\": {\r\n \"blockId\": {\r\n \"type\": \"Block\",\r\n \"idContext\": \"OPERA\",\r\n \"id\": \"{{BlockId}}\"\r\n },\r\n \"hotelId\": \"{{HotelId}}\",\r\n \"startDate\": \"2023-08-21\",\r\n \"endDate\": \"2023-08-22\",\r\n \"roomTypes\": [\r\n \"SUP\"\r\n ],\r\n \"includedDays\": \"1111111\",\r\n \"byValue\": true,\r\n \"blockInventory\": {\r\n \"onePerson\": \"10\",\r\n \"twoPerson\": \"2\",\r\n \"threePerson\": \"1\"\r\n },\r\n \"percentByDay\": false,\r\n \"genericRoomType\": false\r\n }\r\n}",
+ "raw": "{\r\n \"blockAllocationWashType\": {\r\n \"blockId\": {\r\n \"type\": \"Block\",\r\n \"idContext\": \"OPERA\",\r\n \"id\": \"{{BlockId}}\"\r\n },\r\n \"hotelId\": \"{{HotelId}}\",\r\n \"startDate\": \"2024-08-21\",\r\n \"endDate\": \"2024-08-22\",\r\n \"roomTypes\": [\r\n \"SUP\"\r\n ],\r\n \"includedDays\": \"1111111\",\r\n \"byValue\": true,\r\n \"blockInventory\": {\r\n \"onePerson\": \"10\",\r\n \"twoPerson\": \"2\",\r\n \"threePerson\": \"1\"\r\n },\r\n \"percentByDay\": false,\r\n \"genericRoomType\": false\r\n }\r\n}",
"options": {
"raw": {
"language": "json"
@@ -6374,7 +7191,7 @@
],
"body": {
"mode": "raw",
- "raw": "{\r\n \"blockAllocationWashType\": {\r\n \"blockId\": {\r\n \"type\": \"Block\",\r\n \"idContext\": \"OPERA\",\r\n \"id\": \"{{BlockId}}\"\r\n },\r\n \"hotelId\": \"{{HotelId}}\",\r\n \"startDate\": \"2023-12-02\",\r\n \"endDate\": \"2023-12-03\",\r\n \"roomTypes\": [\r\n \"ECO\"\r\n ],\r\n \"includedDays\": \"1111111\",\r\n \"byValue\": false,\r\n \"blockInventory\": {\r\n \"onePerson\": \"50\"\r\n },\r\n \"percentByDay\": false,\r\n \"genericRoomType\": false\r\n }\r\n}",
+ "raw": "{\r\n \"blockAllocationWashType\": {\r\n \"blockId\": {\r\n \"type\": \"Block\",\r\n \"idContext\": \"OPERA\",\r\n \"id\": \"{{BlockId}}\"\r\n },\r\n \"hotelId\": \"{{HotelId}}\",\r\n \"startDate\": \"2024-12-02\",\r\n \"endDate\": \"2024-12-03\",\r\n \"roomTypes\": [\r\n \"ECO\"\r\n ],\r\n \"includedDays\": \"1111111\",\r\n \"byValue\": false,\r\n \"blockInventory\": {\r\n \"onePerson\": \"50\"\r\n },\r\n \"percentByDay\": false,\r\n \"genericRoomType\": false\r\n }\r\n}",
"options": {
"raw": {
"language": "json"
@@ -6611,7 +7428,7 @@
"name": "Update Block (putBlock)",
"item": [
{
- "name": "put Block - add a package",
+ "name": "put Block (v1) - add a package",
"event": [
{
"listen": "test",
@@ -6666,13 +7483,21 @@
"{{HotelId}}",
"blocks",
"{{BlockId}}"
+ ],
+ "query": [
+ {
+ "key": null,
+ "value": "",
+ "description": "556462",
+ "disabled": true
+ }
]
}
},
"response": []
},
{
- "name": "put Block - add notes to a block",
+ "name": "put Block (v1) - add notes to a block",
"event": [
{
"listen": "test",
@@ -6733,7 +7558,7 @@
"response": []
},
{
- "name": "put Block - add payment type",
+ "name": "put Block (v1) - add payment type",
"event": [
{
"listen": "test",
@@ -6856,7 +7681,7 @@
},
{
"key": "startDate",
- "value": "2023-07-09",
+ "value": "2021-07-09",
"disabled": true
},
{
@@ -6949,7 +7774,7 @@
"response": []
},
{
- "name": "get Block Attachments",
+ "name": "put Catering Status",
"request": {
"auth": {
"type": "bearer",
@@ -6961,10 +7786,10 @@
}
]
},
- "method": "GET",
+ "method": "PUT",
"header": [
{
- "key": "x-hotelId",
+ "key": "x-hotelid",
"value": "{{HotelId}}"
},
{
@@ -6972,30 +7797,33 @@
"value": "{{AppKey}}"
}
],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"changeCateringStatus\": {\r\n \"hotelId\": \"{{HotelId}}\",\r\n \"blockId\": {\r\n \"type\": \"Block\",\r\n \"idContext\": \"OPERA\",\r\n \"id\": \"{{BlockId}}\"\r\n },\r\n \"currentCateringStatus\": \"INQ\",\r\n \"newCateringStatus\": \"TEN\",\r\n \"eventAttendees\": {\r\n \"noOfAttendees\": \"100\",\r\n \"attendeesGuaranteed\": false\r\n },\r\n \"overrideEventsProcessingWarnings\": false\r\n },\r\n \"verificationOnly\": false\r\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
"url": {
- "raw": "{{HostName}}/blk/v1/blocks/{{BlockId}}/attachments?hotelId={{HotelId}}",
+ "raw": "{{HostName}}/blk/v1/caterings/{{BlockId}}/cateringStatus",
"host": [
"{{HostName}}"
],
"path": [
"blk",
"v1",
- "blocks",
+ "caterings",
"{{BlockId}}",
- "attachments"
- ],
- "query": [
- {
- "key": "hotelId",
- "value": "{{HotelId}}"
- }
+ "cateringStatus"
]
}
},
"response": []
},
{
- "name": "get Block Availability",
+ "name": "put Block Status By ExtId",
"request": {
"auth": {
"type": "bearer",
@@ -7007,7 +7835,7 @@
}
]
},
- "method": "GET",
+ "method": "PUT",
"header": [
{
"key": "x-hotelid",
@@ -7018,8 +7846,17 @@
"value": "{{AppKey}}"
}
],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"verificationOnly\": false,\r\n \"changeBlockStatus\": {\r\n \"hotelId\": \"{{HotelId}}\",\r\n \"blockId\": {\r\n \"type\": \"Block\",\r\n \"idContext\": \"OPERA\",\r\n \"id\": \"{{BlockId}}\"\r\n },\r\n \"currentBlockStatus\": \"TEN\",\r\n \"newBlockStatus\": \"DEF\",\r\n \"reservationType\": \"GRPGTD\",\r\n \"overbookAll\": false,\r\n \"cancelAllPMReservations\": false,\r\n \"applyChangesToCateringSatus\": true,\r\n \"overrideEventsProcessingWarnings\": true\r\n }\r\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
"url": {
- "raw": "{{HostName}}/blk/v1/hotels/{{HotelId}}/blocks/{{BlockId}}/availability?children=0&adults=1&fetchAllocatedRoomType=Available&overrideRateCode=false&roomTypeCount=2&nights=2&arrivalDate=2023-08-01&detailedAvailability=false&rooms=1",
+ "raw": "{{HostName}}/blk/v1/hotels/{{HotelId}}/externalSystems/{{ExternalSystemCode}}/blocks/{{BlockExternalId}}/status",
"host": [
"{{HostName}}"
],
@@ -7028,74 +7865,89 @@
"v1",
"hotels",
"{{HotelId}}",
+ "externalSystems",
+ "{{ExternalSystemCode}}",
"blocks",
- "{{BlockId}}",
- "availability"
- ],
- "query": [
- {
- "key": "children",
- "value": "0"
- },
- {
- "key": "adults",
- "value": "1"
- },
- {
- "key": "fetchAllocatedRoomType",
- "value": "Available"
- },
- {
- "key": "overrideRateCode",
- "value": "false"
- },
- {
- "key": "ratePlanCode",
- "value": "DAILY",
- "disabled": true
- },
- {
- "key": "roomType",
- "value": "STDK",
- "disabled": true
- },
- {
- "key": "existingReservationId",
- "value": "2214757383",
- "disabled": true
- },
- {
- "key": "existingReservationIdType",
- "value": "Reservation",
- "disabled": true
- },
- {
- "key": "roomTypeCount",
- "value": "2"
- },
- {
- "key": "nights",
- "value": "2"
- },
- {
- "key": "arrivalDate",
- "value": "2023-08-01"
- },
- {
- "key": "detailedAvailability",
- "value": "false"
- },
+ "{{BlockExternalId}}",
+ "status"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "name": "post Block Wash Schedules",
+ "event": [
+ {
+ "listen": "test",
+ "script": {
+ "exec": [
+ ""
+ ],
+ "type": "text/javascript"
+ }
+ }
+ ],
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
{
- "key": "rooms",
- "value": "1"
+ "key": "token",
+ "value": "{{Token}}",
+ "type": "string"
}
]
+ },
+ "method": "POST",
+ "header": [
+ {
+ "key": "x-hotelid",
+ "value": "{{HotelId}}"
+ },
+ {
+ "key": "x-app-key",
+ "value": "{{AppKey}}"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"blockWashSchedulesInfo\": {\r\n \"hotelId\": \"{{HotelId}}\",\r\n \"blockIdList\": [\r\n {\r\n \"id\": \"{{BlockId}}\",\r\n \"type\": \"Block\",\r\n \"idContext\": \"OPERA\"\r\n }\r\n ],\r\n \"blockWashSchedules\": [\r\n {\r\n \"washDate\": \"2024-02-21\",\r\n \"roomTypes\": [\r\n \"SUP\"\r\n ],\r\n \"washByRooms\": {\r\n \"onePerson\": 10,\r\n \"twoPerson\": 2,\r\n \"threePerson\": 3,\r\n \"fourPerson\": 4,\r\n \"sellLimit\": 1,\r\n \"cutoffDate\": \"2024-02-25\"\r\n },\r\n \"washByPercent\": 100\r\n }\r\n ]\r\n }\r\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{HostName}}/blk/v1/blocks/{{BlockId}}/washSchedules",
+ "host": [
+ "{{HostName}}"
+ ],
+ "path": [
+ "blk",
+ "v1",
+ "blocks",
+ "{{BlockId}}",
+ "washSchedules"
+ ]
}
},
"response": []
},
{
- "name": "get Block Daily Statistics",
+ "name": "put Block Wash Schedules",
+ "event": [
+ {
+ "listen": "test",
+ "script": {
+ "exec": [
+ ""
+ ],
+ "type": "text/javascript"
+ }
+ }
+ ],
"request": {
"auth": {
"type": "bearer",
@@ -7107,7 +7959,7 @@
}
]
},
- "method": "GET",
+ "method": "PUT",
"header": [
{
"key": "x-hotelid",
@@ -7118,8 +7970,17 @@
"value": "{{AppKey}}"
}
],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"blockWashSchedulesInfo\": {\r\n \"hotelId\": \"{{HotelId}}\",\r\n \"blockIdList\": [\r\n {\r\n \"id\": \"{{BlockId}}\",\r\n \"type\": \"Block\",\r\n \"idContext\": \"OPERA\"\r\n }\r\n ],\r\n \"blockWashSchedules\": [\r\n {\r\n \"washDate\": \"2024-02-21\",\r\n \"roomTypes\": [\r\n \"SUP\"\r\n ],\r\n \"washByRooms\": {\r\n \"onePerson\": 11,\r\n \"twoPerson\": 12,\r\n \"threePerson\": 13,\r\n \"fourPerson\": 14,\r\n \"sellLimit\": 1,\r\n \"cutoffDate\": \"2024-02-25\"\r\n },\r\n \"washByPercent\": 95\r\n }\r\n ]\r\n }\r\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
"url": {
- "raw": "{{HostName}}/blk/v1/blocks/dailyStatistics?limit=10&offset=1&hotelId={{HotelId}}&start=2023-08-01&end=2023-08-01",
+ "raw": "{{HostName}}/blk/v1/blocks/{{BlockId}}/washSchedules",
"host": [
"{{HostName}}"
],
@@ -7127,36 +7988,66 @@
"blk",
"v1",
"blocks",
- "dailyStatistics"
- ],
- "query": [
- {
- "key": "limit",
- "value": "10"
- },
- {
- "key": "offset",
- "value": "1"
- },
- {
- "key": "hotelId",
- "value": "{{HotelId}}"
- },
- {
- "key": "start",
- "value": "2023-08-01"
- },
+ "{{BlockId}}",
+ "washSchedules"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "name": "put Block Status To Open",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
{
- "key": "end",
- "value": "2023-08-01"
+ "key": "token",
+ "value": "{{Token}}",
+ "type": "string"
}
]
+ },
+ "method": "PUT",
+ "header": [
+ {
+ "key": "x-hotelid",
+ "value": "{{HotelId}}"
+ },
+ {
+ "key": "x-app-key",
+ "value": "{{AppKey}}"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"hotelId\": \"{{HotelId}}\",\r\n \"blockId\": {\r\n \"type\": \"Block\",\r\n \"idContext\": \"OPERA\",\r\n \"id\": \"{{BlockId}}\"\r\n }\r\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{HostName}}/blk/v1/hotels/{{HotelId}}/blocks/{{BlockId}}/openStatus",
+ "host": [
+ "{{HostName}}"
+ ],
+ "path": [
+ "blk",
+ "v1",
+ "hotels",
+ "{{HotelId}}",
+ "blocks",
+ "{{BlockId}}",
+ "openStatus"
+ ]
}
},
"response": []
},
{
- "name": "get Block Owners",
+ "name": "get Block Attachments",
"request": {
"auth": {
"type": "bearer",
@@ -7171,7 +8062,7 @@
"method": "GET",
"header": [
{
- "key": "x-hotelid",
+ "key": "x-hotelId",
"value": "{{HotelId}}"
},
{
@@ -7180,7 +8071,7 @@
}
],
"url": {
- "raw": "{{HostName}}/blk/v1/blocks/{{BlockId}}/owners?hotelId={{HotelId}}",
+ "raw": "{{HostName}}/blk/v1/blocks/{{BlockId}}/attachments?hotelId={{HotelId}}",
"host": [
"{{HostName}}"
],
@@ -7189,7 +8080,7 @@
"v1",
"blocks",
"{{BlockId}}",
- "owners"
+ "attachments"
],
"query": [
{
@@ -7197,13 +8088,322 @@
"value": "{{HotelId}}"
}
]
- },
- "description": "See also getBlock Owners in LOV module too."
+ }
},
"response": []
},
{
- "name": "get Block PM Reservations",
+ "name": "get Block Availability",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "{{Token}}",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "GET",
+ "header": [
+ {
+ "key": "x-hotelid",
+ "value": "{{HotelId}}"
+ },
+ {
+ "key": "x-app-key",
+ "value": "{{AppKey}}"
+ }
+ ],
+ "url": {
+ "raw": "{{HostName}}/blk/v1/hotels/{{HotelId}}/blocks/{{BlockId}}/availability?children=0&adults=1&fetchAllocatedRoomType=Available&overrideRateCode=false&roomTypeCount=2&nights=2&arrivalDate=2024-08-01&detailedAvailability=false&rooms=1",
+ "host": [
+ "{{HostName}}"
+ ],
+ "path": [
+ "blk",
+ "v1",
+ "hotels",
+ "{{HotelId}}",
+ "blocks",
+ "{{BlockId}}",
+ "availability"
+ ],
+ "query": [
+ {
+ "key": "children",
+ "value": "0"
+ },
+ {
+ "key": "adults",
+ "value": "1"
+ },
+ {
+ "key": "fetchAllocatedRoomType",
+ "value": "Available"
+ },
+ {
+ "key": "overrideRateCode",
+ "value": "false"
+ },
+ {
+ "key": "ratePlanCode",
+ "value": "DAILY",
+ "disabled": true
+ },
+ {
+ "key": "roomType",
+ "value": "STDK",
+ "disabled": true
+ },
+ {
+ "key": "existingReservationId",
+ "value": "2214757383",
+ "disabled": true
+ },
+ {
+ "key": "existingReservationIdType",
+ "value": "Reservation",
+ "disabled": true
+ },
+ {
+ "key": "roomTypeCount",
+ "value": "2"
+ },
+ {
+ "key": "nights",
+ "value": "2"
+ },
+ {
+ "key": "arrivalDate",
+ "value": "2024-08-01"
+ },
+ {
+ "key": "detailedAvailability",
+ "value": "false"
+ },
+ {
+ "key": "rooms",
+ "value": "1"
+ }
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "name": "get Block Daily Statistics",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "{{Token}}",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "GET",
+ "header": [
+ {
+ "key": "x-hotelid",
+ "value": "{{HotelId}}"
+ },
+ {
+ "key": "x-app-key",
+ "value": "{{AppKey}}"
+ }
+ ],
+ "url": {
+ "raw": "{{HostName}}/blk/v1/blocks/dailyStatistics?limit=10&offset=1&hotelId={{HotelId}}&start=2024-08-01&end=2024-08-01",
+ "host": [
+ "{{HostName}}"
+ ],
+ "path": [
+ "blk",
+ "v1",
+ "blocks",
+ "dailyStatistics"
+ ],
+ "query": [
+ {
+ "key": "limit",
+ "value": "10"
+ },
+ {
+ "key": "offset",
+ "value": "1"
+ },
+ {
+ "key": "hotelId",
+ "value": "{{HotelId}}"
+ },
+ {
+ "key": "start",
+ "value": "2024-08-01"
+ },
+ {
+ "key": "end",
+ "value": "2024-08-01"
+ }
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "name": "get Block PM Reservations By ExtId",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "{{Token}}",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "GET",
+ "header": [
+ {
+ "key": "x-app-key",
+ "type": "text",
+ "value": "{{AppKey}}"
+ },
+ {
+ "key": "x-hotelid",
+ "type": "text",
+ "value": "{{HotelId}}"
+ }
+ ],
+ "url": {
+ "raw": "{{HostName}}/blk/v1/hotels/{{HotelId}}/externalSystems/{{ExternalSystemCode}}/blocks/{{BlockExternalId}}/postingMaster/reservations",
+ "host": [
+ "{{HostName}}"
+ ],
+ "path": [
+ "blk",
+ "v1",
+ "hotels",
+ "{{HotelId}}",
+ "externalSystems",
+ "{{ExternalSystemCode}}",
+ "blocks",
+ "{{BlockExternalId}}",
+ "postingMaster",
+ "reservations"
+ ],
+ "query": [
+ {
+ "key": "postingmaster",
+ "value": "true",
+ "disabled": true
+ }
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "name": "get Block Access Exclusion",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "{{Token}}",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "GET",
+ "header": [
+ {
+ "key": "x-hotelid",
+ "value": "{{HotelId}}"
+ },
+ {
+ "key": "x-app-key",
+ "value": "{{AppKey}}"
+ }
+ ],
+ "url": {
+ "raw": "{{HostName}}/blk/v1/blocks/{{BlockId}}/blockAccessExclusion",
+ "host": [
+ "{{HostName}}"
+ ],
+ "path": [
+ "blk",
+ "v1",
+ "blocks",
+ "{{BlockId}}",
+ "blockAccessExclusion"
+ ],
+ "query": [
+ {
+ "key": "hotelId",
+ "value": "{{HotelId}}",
+ "disabled": true
+ }
+ ]
+ },
+ "description": "See also getBlock Owners in LOV module too."
+ },
+ "response": []
+ },
+ {
+ "name": "get Block Owners",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "{{Token}}",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "GET",
+ "header": [
+ {
+ "key": "x-hotelid",
+ "value": "{{HotelId}}"
+ },
+ {
+ "key": "x-app-key",
+ "value": "{{AppKey}}"
+ }
+ ],
+ "url": {
+ "raw": "{{HostName}}/blk/v1/blocks/{{BlockId}}/owners?hotelId={{HotelId}}",
+ "host": [
+ "{{HostName}}"
+ ],
+ "path": [
+ "blk",
+ "v1",
+ "blocks",
+ "{{BlockId}}",
+ "owners"
+ ],
+ "query": [
+ {
+ "key": "hotelId",
+ "value": "{{HotelId}}"
+ }
+ ]
+ },
+ "description": "See also getBlock Owners in LOV module too."
+ },
+ "response": []
+ },
+ {
+ "name": "get Block PM Reservations",
"request": {
"auth": {
"type": "bearer",
@@ -7496,7 +8696,7 @@
}
],
"url": {
- "raw": "{{HostName}}/blk/v1/blocks/{{BlockId}}/roomTypes?fetchAllocatedRoomTypes=true&startDate=2023-08-01&endDate=2023-08-02&hotelId={{HotelId}}&fetchGenericRoomTypes=false",
+ "raw": "{{HostName}}/blk/v1/blocks/{{BlockId}}/roomTypes?fetchAllocatedRoomTypes=true&startDate=2024-08-01&endDate=2024-08-02&hotelId={{HotelId}}&fetchGenericRoomTypes=false",
"host": [
"{{HostName}}"
],
@@ -7514,11 +8714,11 @@
},
{
"key": "startDate",
- "value": "2023-08-01"
+ "value": "2024-08-01"
},
{
"key": "endDate",
- "value": "2023-08-02"
+ "value": "2024-08-02"
},
{
"key": "hotelId",
@@ -7558,7 +8758,7 @@
}
],
"url": {
- "raw": "{{HostName}}/blk/v1/blocks/statistics?statisticalCode=ArrivalsTotal&statisticalCode=InHouseBlocksTotal&reportCode=BlockArrivals&hotelId={{HotelId}}&reportStartDate=2023-08-01",
+ "raw": "{{HostName}}/blk/v1/blocks/statistics?statisticalCode=ArrivalsTotal&statisticalCode=InHouseBlocksTotal&reportCode=BlockArrivals&hotelId={{HotelId}}&reportStartDate=2024-08-01",
"host": [
"{{HostName}}"
],
@@ -7587,7 +8787,7 @@
},
{
"key": "reportStartDate",
- "value": "2023-08-01"
+ "value": "2024-08-01"
}
]
}
@@ -7619,7 +8819,7 @@
}
],
"url": {
- "raw": "{{HostName}}/blk/v1/blocks/{{BlockId}}/statistics?hotelId={{HotelId}}&statisticsInstructions=Contract&statisticsInstructions=Initial&statisticsInstructions=Actual&statisticsInstructions=Pickup&statisticsInstructions=Available&statisticsInstructions=Rates&statisticsInstructions=ROOMREVENUE&startDate=2023-08-01&numberOfDays=1",
+ "raw": "{{HostName}}/blk/v1/blocks/{{BlockId}}/statistics?hotelId={{HotelId}}&statisticsInstructions=Contract&statisticsInstructions=Initial&statisticsInstructions=Actual&statisticsInstructions=Pickup&statisticsInstructions=Available&statisticsInstructions=Rates&statisticsInstructions=ROOMREVENUE&startDate=2024-08-01&numberOfDays=1",
"host": [
"{{HostName}}"
],
@@ -7676,7 +8876,7 @@
},
{
"key": "startDate",
- "value": "2023-08-01"
+ "value": "2024-08-01"
},
{
"key": "numberOfDays",
@@ -7814,7 +9014,7 @@
}
],
"url": {
- "raw": "{{HostName}}/blk/v1/defaultBlockCode?blockName=Oracle&hotelId={{HotelId}}&blockCodeTemplate=AAAAAAMMYY&startDate=2023-08-20",
+ "raw": "{{HostName}}/blk/v1/defaultBlockCode?blockName=Oracle&hotelId={{HotelId}}&blockCodeTemplate=AAAAAAMMYY&startDate=2024-08-20",
"host": [
"{{HostName}}"
],
@@ -7838,7 +9038,7 @@
},
{
"key": "startDate",
- "value": "2023-08-20"
+ "value": "2024-08-20"
}
]
}
@@ -7870,7 +9070,7 @@
}
],
"url": {
- "raw": "{{HostName}}/blk/v1/inventoryToBorrow?blockId={{BlockId}}&requiredRooms=1&requiredRooms=1&endDate=2023-01-10&numberOfRooms=1&hotelId={{HotelId}}&overrideRateCode=false&blockIdType=Block&roomType=DLXQ&startDate=2023-01-08&borrowDate=2023-01-08&borrowDate=2023-01-09",
+ "raw": "{{HostName}}/blk/v1/inventoryToBorrow?blockId={{BlockId}}&requiredRooms=1&requiredRooms=1&endDate=2024-01-10&numberOfRooms=1&hotelId={{HotelId}}&overrideRateCode=false&blockIdType=Block&roomType=DLXQ&startDate=2024-01-08&borrowDate=2024-01-08&borrowDate=2024-01-09",
"host": [
"{{HostName}}"
],
@@ -7894,7 +9094,7 @@
},
{
"key": "endDate",
- "value": "2023-01-10"
+ "value": "2024-01-10"
},
{
"key": "numberOfRooms",
@@ -7918,15 +9118,15 @@
},
{
"key": "startDate",
- "value": "2023-01-08"
+ "value": "2024-01-08"
},
{
"key": "borrowDate",
- "value": "2023-01-08"
+ "value": "2024-01-08"
},
{
"key": "borrowDate",
- "value": "2023-01-09"
+ "value": "2024-01-09"
}
]
}
@@ -8040,7 +9240,7 @@
}
],
"url": {
- "raw": "{{HostName}}/blk/v1/hotels/{{HotelId}}/tracesByDateRange?hotelIds={{HotelId}}&beginDate=2023-01-08&endDate=2023-01-10",
+ "raw": "{{HostName}}/blk/v1/hotels/{{HotelId}}/tracesByDateRange?hotelIds={{HotelId}}&beginDate=2024-01-08&endDate=2024-01-10",
"host": [
"{{HostName}}"
],
@@ -8058,11 +9258,11 @@
},
{
"key": "beginDate",
- "value": "2023-01-08"
+ "value": "2024-01-08"
},
{
"key": "endDate",
- "value": "2023-01-10"
+ "value": "2024-01-10"
}
]
}
@@ -8106,7 +9306,7 @@
],
"body": {
"mode": "raw",
- "raw": "{\r\n \"criteria\": {\r\n \"sourceBlockId\": {\r\n \"type\": \"Block\",\r\n \"idContext\": \"OPERA\",\r\n \"id\": \"{{BlockId}}\"\r\n },\r\n \"newBlock\": {\r\n \"hotelId\": \"{{HotelId}}\",\r\n \"blockCode\": \"UPGDTEST1\",\r\n \"blockStatus\": \"TEN\",\r\n \"blockOrigin\": \"PMS\",\r\n \"cateringStatus\": \"TEN\",\r\n \"blockDatesRange\": {\r\n \"start\": \"2023-10-08\",\r\n \"end\": \"2023-10-09\"\r\n },\r\n \"sourceDateRangeToCopy\": {},\r\n \"gridType\": \"ORIGINAL\"\r\n },\r\n \"copyInstructions\": {\r\n \"rooms\": false,\r\n \"rateCode\": true,\r\n \"blockComments\": true,\r\n \"blockCode\": false,\r\n \"catering\": false,\r\n \"events\": false,\r\n \"eventComments\": false,\r\n \"resources\": false,\r\n \"resourceComments\": false,\r\n \"resourcePrices\": false,\r\n \"attendeesCount\": true,\r\n \"contractBilling\": false,\r\n \"groupProfile\": false,\r\n \"alternateDates\": false,\r\n \"ratesOfAlternateDates\": false,\r\n \"potentialProfile\": false,\r\n \"adjustDecisionAndFollowupDate\": true,\r\n \"createAsSubBlock\": false,\r\n \"createAsTourBlock\": false,\r\n \"overbook\": false,\r\n \"contractGrid\": false,\r\n \"changeNotes\": false,\r\n \"otherResources\": false,\r\n \"eventForecastFigures\": false\r\n },\r\n \"hotelId\": \"{{HotelId}}\"\r\n },\r\n \"responseInstruction\": \"Summary\"\r\n}",
+ "raw": "{\r\n \"criteria\": {\r\n \"sourceBlockId\": {\r\n \"type\": \"Block\",\r\n \"idContext\": \"OPERA\",\r\n \"id\": \"{{BlockId}}\"\r\n },\r\n \"newBlock\": {\r\n \"hotelId\": \"{{HotelId}}\",\r\n \"blockCode\": \"UPGDTEST1\",\r\n \"blockStatus\": \"TEN\",\r\n \"blockOrigin\": \"PMS\",\r\n \"cateringStatus\": \"TEN\",\r\n \"blockDatesRange\": {\r\n \"start\": \"2024-10-08\",\r\n \"end\": \"2024-10-09\"\r\n },\r\n \"sourceDateRangeToCopy\": {},\r\n \"gridType\": \"ORIGINAL\"\r\n },\r\n \"copyInstructions\": {\r\n \"rooms\": false,\r\n \"rateCode\": true,\r\n \"blockComments\": true,\r\n \"blockCode\": false,\r\n \"catering\": false,\r\n \"events\": false,\r\n \"eventComments\": false,\r\n \"resources\": false,\r\n \"resourceComments\": false,\r\n \"resourcePrices\": false,\r\n \"attendeesCount\": true,\r\n \"contractBilling\": false,\r\n \"groupProfile\": false,\r\n \"alternateDates\": false,\r\n \"ratesOfAlternateDates\": false,\r\n \"potentialProfile\": false,\r\n \"adjustDecisionAndFollowupDate\": true,\r\n \"createAsSubBlock\": false,\r\n \"createAsTourBlock\": false,\r\n \"overbook\": false,\r\n \"contractGrid\": false,\r\n \"changeNotes\": false,\r\n \"otherResources\": false,\r\n \"eventForecastFigures\": false\r\n },\r\n \"hotelId\": \"{{HotelId}}\"\r\n },\r\n \"responseInstruction\": \"Summary\"\r\n}",
"options": {
"raw": {
"language": "json"
@@ -8168,7 +9368,7 @@
],
"body": {
"mode": "raw",
- "raw": "{\r\n \"blocks\": {\r\n \"blockInfo\": [\r\n {\r\n \"block\": {\r\n \"blockDetails\": {\r\n \"blockCode\": \"VAILSKI21\",\r\n \"blockName\": \"Red Ski Conference\",\r\n \"blockAliases\": [],\r\n \"timeSpan\": {\r\n \"startDate\": \"2023-12-01\",\r\n \"endDate\": \"2023-12-03\"\r\n },\r\n \"shoulderDates\": {},\r\n \"blockStatus\": {\r\n \"bookingStatus\": {\r\n \"status\": {\r\n \"code\": \"TEN\"\r\n }\r\n }\r\n },\r\n \"reservationType\": {\r\n \"reservationType\": \"GRPGTD\"\r\n },\r\n \"marketCode\": {\r\n \"marketCode\": \"LEISURE\"\r\n },\r\n \"sourceOfSale\": {\r\n \"sourceCode\": {\r\n \"sourceCode\": \"WEB\"\r\n }\r\n },\r\n \"reservationMethod\": {},\r\n \"bookingType\": {},\r\n \"rateProtectionDetails\": {\r\n \"criteria\": \"None\"\r\n },\r\n \"nonCompeteDetails\": {\r\n \"criteria\": \"None\"\r\n },\r\n \"currencyCode\": \"USD\",\r\n \"blockClassification\": \"RegularBooking\",\r\n \"cateringOnlyBlock\": false,\r\n \"allowRateOverride\": false,\r\n \"manualCutOff\": false,\r\n \"wholesaleBlock\": false,\r\n \"controlBlockLocally\": false\r\n },\r\n \"blockOwners\": {\r\n \"owner\": [\r\n {\r\n \"ownership\": \"Block\",\r\n \"ownerCode\": \"ALL\",\r\n \"primary\": true\r\n },\r\n {\r\n \"ownership\": \"Catering\",\r\n \"ownerCode\": \"ALL\",\r\n \"primary\": true\r\n },\r\n {\r\n \"ownership\": \"Rooms\",\r\n \"ownerCode\": \"ALL\",\r\n \"primary\": true\r\n }\r\n ],\r\n \"lockBlockOwners\": false,\r\n \"lockRoomsOwners\": false,\r\n \"lockCateringOwners\": false\r\n },\r\n \"reservationDetails\": {\r\n \"ratePlanCode\": [\r\n {\r\n \"primary\": true,\r\n \"ratePlanCode\": \"BAR\"\r\n }\r\n ],\r\n \"traceCode\": {},\r\n \"breakfast\": {\r\n \"breakfastIncluded\": false,\r\n \"price\": {\r\n \"currencyCode\": \"USD\"\r\n }\r\n },\r\n \"porterage\": {\r\n \"porterageIncluded\": false,\r\n \"price\": {\r\n \"currencyCode\": \"USD\"\r\n }\r\n },\r\n \"elastic\": \"1\",\r\n \"suppressRate\": false,\r\n \"housing\": true\r\n },\r\n \"catering\": {\r\n \"cateringStatus\": {\r\n \"bookingStatus\": {\r\n \"status\": {}\r\n }\r\n },\r\n \"eventAttendees\": {},\r\n \"overrideEventsProcessingWarnings\": true\r\n },\r\n \"blockProfiles\": {\r\n \"fullOverlay\": false\r\n },\r\n \"blockPackages\": [],\r\n \"externalAttributes\": {\r\n \"eventType\": \"Convention\",\r\n \"rollEndDate\": false\r\n },\r\n \"hotelId\": \"{{HotelId}}\",\r\n \"markAsRecentlyAccessed\": true\r\n }\r\n }\r\n ]\r\n }\r\n}",
+ "raw": "{\r\n \"blocks\": {\r\n \"blockInfo\": [\r\n {\r\n \"block\": {\r\n \"blockDetails\": {\r\n \"blockCode\": \"VAILSKI21\",\r\n \"blockName\": \"Red Ski Conference\",\r\n \"blockAliases\": [],\r\n \"timeSpan\": {\r\n \"startDate\": \"2024-12-01\",\r\n \"endDate\": \"2024-12-03\"\r\n },\r\n \"shoulderDates\": {},\r\n \"blockStatus\": {\r\n \"bookingStatus\": {\r\n \"status\": {\r\n \"code\": \"TEN\"\r\n }\r\n }\r\n },\r\n \"reservationType\": {\r\n \"reservationType\": \"GRPGTD\"\r\n },\r\n \"marketCode\": {\r\n \"marketCode\": \"LEISURE\"\r\n },\r\n \"sourceOfSale\": {\r\n \"sourceCode\": {\r\n \"sourceCode\": \"WEB\"\r\n }\r\n },\r\n \"reservationMethod\": {},\r\n \"bookingType\": {},\r\n \"rateProtectionDetails\": {\r\n \"criteria\": \"None\"\r\n },\r\n \"nonCompeteDetails\": {\r\n \"criteria\": \"None\"\r\n },\r\n \"currencyCode\": \"USD\",\r\n \"blockClassification\": \"RegularBooking\",\r\n \"cateringOnlyBlock\": false,\r\n \"allowRateOverride\": false,\r\n \"manualCutOff\": false,\r\n \"wholesaleBlock\": false,\r\n \"controlBlockLocally\": false\r\n },\r\n \"blockOwners\": {\r\n \"owner\": [\r\n {\r\n \"ownership\": \"Block\",\r\n \"ownerCode\": \"ALL\",\r\n \"primary\": true\r\n },\r\n {\r\n \"ownership\": \"Catering\",\r\n \"ownerCode\": \"ALL\",\r\n \"primary\": true\r\n },\r\n {\r\n \"ownership\": \"Rooms\",\r\n \"ownerCode\": \"ALL\",\r\n \"primary\": true\r\n }\r\n ],\r\n \"lockBlockOwners\": false,\r\n \"lockRoomsOwners\": false,\r\n \"lockCateringOwners\": false\r\n },\r\n \"reservationDetails\": {\r\n \"ratePlanCode\": [\r\n {\r\n \"primary\": true,\r\n \"ratePlanCode\": \"BAR\"\r\n }\r\n ],\r\n \"traceCode\": {},\r\n \"breakfast\": {\r\n \"breakfastIncluded\": false,\r\n \"price\": {\r\n \"currencyCode\": \"USD\"\r\n }\r\n },\r\n \"porterage\": {\r\n \"porterageIncluded\": false,\r\n \"price\": {\r\n \"currencyCode\": \"USD\"\r\n }\r\n },\r\n \"elastic\": \"1\",\r\n \"suppressRate\": false,\r\n \"housing\": true\r\n },\r\n \"catering\": {\r\n \"cateringStatus\": {\r\n \"bookingStatus\": {\r\n \"status\": {}\r\n }\r\n },\r\n \"eventAttendees\": {},\r\n \"overrideEventsProcessingWarnings\": true\r\n },\r\n \"blockProfiles\": {\r\n \"fullOverlay\": false\r\n },\r\n \"blockPackages\": [],\r\n \"externalAttributes\": {\r\n \"eventType\": \"Convention\",\r\n \"rollEndDate\": false\r\n },\r\n \"hotelId\": \"{{HotelId}}\",\r\n \"markAsRecentlyAccessed\": true\r\n }\r\n }\r\n ]\r\n }\r\n}",
"options": {
"raw": {
"language": "json"
@@ -8229,7 +9429,7 @@
],
"body": {
"mode": "raw",
- "raw": "{\r\n \"blocks\": {\r\n \"blockInfo\": [\r\n {\r\n \"block\": {\r\n \"blockDetails\": {\r\n \"blockCode\": \"ERICTE1104\",\r\n \"blockName\": \"Catering Block Example\",\r\n \"blockAliases\": [],\r\n \"timeSpan\": {\r\n \"startDate\": \"2023-11-04\",\r\n \"endDate\": \"2023-11-05\"\r\n },\r\n \"shoulderDates\": {},\r\n \"blockStatus\": {\r\n \"bookingStatus\": {\r\n \"status\": {\r\n \"code\": \"INQ\"\r\n }\r\n }\r\n },\r\n \"reservationType\": {\r\n \"reservationType\": \"GRPGTD\"\r\n },\r\n \"marketCode\": {\r\n \"marketCode\": \"LEISURE\"\r\n },\r\n \"sourceOfSale\": {\r\n \"sourceCode\": {\r\n \"sourceCode\": \"WEB\"\r\n }\r\n },\r\n \"reservationMethod\": {},\r\n \"bookingType\": {},\r\n \"rateProtectionDetails\": {\r\n \"criteria\": \"None\"\r\n },\r\n \"nonCompeteDetails\": {\r\n \"criteria\": \"None\"\r\n },\r\n \"currencyCode\": \"USD\",\r\n \"blockClassification\": \"RegularBooking\",\r\n \"cateringOnlyBlock\": false,\r\n \"allowRateOverride\": false,\r\n \"manualCutOff\": false,\r\n \"wholesaleBlock\": false,\r\n \"controlBlockLocally\": false\r\n },\r\n \"blockOwners\": {\r\n \"owner\": [\r\n {\r\n \"ownership\": \"Block\",\r\n \"ownerCode\": \"ALL\",\r\n \"primary\": true\r\n },\r\n {\r\n \"ownership\": \"Catering\",\r\n \"ownerCode\": \"ALL\",\r\n \"primary\": true\r\n },\r\n {\r\n \"ownership\": \"Rooms\",\r\n \"ownerCode\": \"ALL\",\r\n \"primary\": true\r\n }\r\n ],\r\n \"lockBlockOwners\": false,\r\n \"lockRoomsOwners\": false,\r\n \"lockCateringOwners\": false\r\n },\r\n \"reservationDetails\": {\r\n \"ratePlanCode\": [],\r\n \"traceCode\": {},\r\n \"breakfast\": {\r\n \"breakfastIncluded\": false,\r\n \"price\": {\r\n \"currencyCode\": \"USD\"\r\n }\r\n },\r\n \"porterage\": {\r\n \"porterageIncluded\": false,\r\n \"price\": {\r\n \"currencyCode\": \"USD\"\r\n }\r\n },\r\n \"elastic\": \"1\",\r\n \"suppressRate\": false,\r\n \"housing\": true\r\n },\r\n \"catering\": {\r\n \"cateringStatus\": {\r\n \"bookingStatus\": {\r\n \"status\": {\r\n \"code\": \"INQ\"\r\n }\r\n }\r\n },\r\n \"eventAttendees\": {\r\n \"noOfAttendees\": 25,\r\n \"attendeesGuaranteed\": true\r\n },\r\n \"overrideEventsProcessingWarnings\": true\r\n },\r\n \"blockProfiles\": {\r\n \"fullOverlay\": false\r\n },\r\n \"blockPackages\": [],\r\n \"externalAttributes\": {\r\n \"eventType\": \"Convention\",\r\n \"rollEndDate\": false\r\n },\r\n \"hotelId\": \"{{HotelId}}\",\r\n \"markAsRecentlyAccessed\": true\r\n }\r\n }\r\n ]\r\n }\r\n}",
+ "raw": "{\r\n \"blocks\": {\r\n \"blockInfo\": [\r\n {\r\n \"block\": {\r\n \"blockDetails\": {\r\n \"blockCode\": \"ERICTE1104\",\r\n \"blockName\": \"Catering Block Example\",\r\n \"blockAliases\": [],\r\n \"timeSpan\": {\r\n \"startDate\": \"2014-11-04\",\r\n \"endDate\": \"2014-11-05\"\r\n },\r\n \"shoulderDates\": {},\r\n \"blockStatus\": {\r\n \"bookingStatus\": {\r\n \"status\": {\r\n \"code\": \"INQ\"\r\n }\r\n }\r\n },\r\n \"reservationType\": {\r\n \"reservationType\": \"GRPGTD\"\r\n },\r\n \"marketCode\": {\r\n \"marketCode\": \"LEISURE\"\r\n },\r\n \"sourceOfSale\": {\r\n \"sourceCode\": {\r\n \"sourceCode\": \"WEB\"\r\n }\r\n },\r\n \"reservationMethod\": {},\r\n \"bookingType\": {},\r\n \"rateProtectionDetails\": {\r\n \"criteria\": \"None\"\r\n },\r\n \"nonCompeteDetails\": {\r\n \"criteria\": \"None\"\r\n },\r\n \"currencyCode\": \"USD\",\r\n \"blockClassification\": \"RegularBooking\",\r\n \"cateringOnlyBlock\": false,\r\n \"allowRateOverride\": false,\r\n \"manualCutOff\": false,\r\n \"wholesaleBlock\": false,\r\n \"controlBlockLocally\": false\r\n },\r\n \"blockOwners\": {\r\n \"owner\": [\r\n {\r\n \"ownership\": \"Block\",\r\n \"ownerCode\": \"ALL\",\r\n \"primary\": true\r\n },\r\n {\r\n \"ownership\": \"Catering\",\r\n \"ownerCode\": \"ALL\",\r\n \"primary\": true\r\n },\r\n {\r\n \"ownership\": \"Rooms\",\r\n \"ownerCode\": \"ALL\",\r\n \"primary\": true\r\n }\r\n ],\r\n \"lockBlockOwners\": false,\r\n \"lockRoomsOwners\": false,\r\n \"lockCateringOwners\": false\r\n },\r\n \"reservationDetails\": {\r\n \"ratePlanCode\": [],\r\n \"traceCode\": {},\r\n \"breakfast\": {\r\n \"breakfastIncluded\": false,\r\n \"price\": {\r\n \"currencyCode\": \"USD\"\r\n }\r\n },\r\n \"porterage\": {\r\n \"porterageIncluded\": false,\r\n \"price\": {\r\n \"currencyCode\": \"USD\"\r\n }\r\n },\r\n \"elastic\": \"1\",\r\n \"suppressRate\": false,\r\n \"housing\": true\r\n },\r\n \"catering\": {\r\n \"cateringStatus\": {\r\n \"bookingStatus\": {\r\n \"status\": {\r\n \"code\": \"INQ\"\r\n }\r\n }\r\n },\r\n \"eventAttendees\": {\r\n \"noOfAttendees\": 25,\r\n \"attendeesGuaranteed\": true\r\n },\r\n \"overrideEventsProcessingWarnings\": true\r\n },\r\n \"blockProfiles\": {\r\n \"fullOverlay\": false\r\n },\r\n \"blockPackages\": [],\r\n \"externalAttributes\": {\r\n \"eventType\": \"Convention\",\r\n \"rollEndDate\": false\r\n },\r\n \"hotelId\": \"{{HotelId}}\",\r\n \"markAsRecentlyAccessed\": true\r\n }\r\n }\r\n ]\r\n }\r\n}",
"options": {
"raw": {
"language": "json"
@@ -8267,7 +9467,7 @@
],
"body": {
"mode": "raw",
- "raw": "{\r\n \"blocks\": {\r\n \"blockInfo\": [\r\n {\r\n \"block\": {\r\n \"blockDetails\": {\r\n \"blockCode\": \"ERICTE1030\",\r\n \"blockName\": \"Eric Test Event 3\",\r\n \"blockAliases\": [],\r\n \"timeSpan\": {\r\n \"startDate\": \"2023-10-30\",\r\n \"endDate\": \"2023-10-31\"\r\n },\r\n \"shoulderDates\": {},\r\n \"blockStatus\": {\r\n \"bookingStatus\": {\r\n \"status\": {\r\n \"code\": \"INQ\"\r\n }\r\n }\r\n },\r\n \"reservationType\": {\r\n \"reservationType\": \"GRPGTD\"\r\n },\r\n \"marketCode\": {\r\n \"marketCode\": \"LEISURE\"\r\n },\r\n \"sourceOfSale\": {\r\n \"sourceCode\": {\r\n \"sourceCode\": \"WEB\"\r\n }\r\n },\r\n \"reservationMethod\": {},\r\n \"bookingType\": {},\r\n \"rateProtectionDetails\": {\r\n \"criteria\": \"None\"\r\n },\r\n \"nonCompeteDetails\": {\r\n \"criteria\": \"None\"\r\n },\r\n \"currencyCode\": \"USD\",\r\n \"blockClassification\": \"RegularBooking\",\r\n \"cateringOnlyBlock\": false,\r\n \"allowRateOverride\": false,\r\n \"manualCutOff\": false,\r\n \"wholesaleBlock\": false,\r\n \"controlBlockLocally\": false\r\n },\r\n \"blockOwners\": {\r\n \"owner\": [\r\n {\r\n \"ownership\": \"Block\",\r\n \"ownerCode\": \"ALL\",\r\n \"primary\": true\r\n },\r\n {\r\n \"ownership\": \"Catering\",\r\n \"ownerCode\": \"ALL\",\r\n \"primary\": true\r\n },\r\n {\r\n \"ownership\": \"Rooms\",\r\n \"ownerCode\": \"ALL\",\r\n \"primary\": true\r\n }\r\n ],\r\n \"lockBlockOwners\": false,\r\n \"lockRoomsOwners\": false,\r\n \"lockCateringOwners\": false\r\n },\r\n \"reservationDetails\": {\r\n \"ratePlanCode\": [],\r\n \"traceCode\": {},\r\n \"breakfast\": {\r\n \"breakfastIncluded\": false,\r\n \"price\": {\r\n \"currencyCode\": \"USD\"\r\n }\r\n },\r\n \"porterage\": {\r\n \"porterageIncluded\": false,\r\n \"price\": {\r\n \"currencyCode\": \"USD\"\r\n }\r\n },\r\n \"elastic\": \"1\",\r\n \"suppressRate\": false,\r\n \"housing\": true\r\n },\r\n \"catering\": {\r\n \"cateringStatus\": {\r\n \"bookingStatus\": {\r\n \"status\": {\r\n \"code\": \"INQ\"\r\n }\r\n }\r\n },\r\n \"eventAttendees\": {\r\n \"noOfAttendees\": 25,\r\n \"attendeesGuaranteed\": true\r\n },\r\n \"overrideEventsProcessingWarnings\": true\r\n },\r\n \"blockProfiles\": {\r\n \"fullOverlay\": false\r\n },\r\n \"blockPackages\": [],\r\n \"externalAttributes\": {\r\n \"eventType\": \"Convention\",\r\n \"rollEndDate\": false\r\n },\r\n \"hotelId\": \"{{HotelId}}\",\r\n \"markAsRecentlyAccessed\": true\r\n }\r\n }\r\n ]\r\n }\r\n}",
+ "raw": "{\r\n \"blocks\": {\r\n \"blockInfo\": [\r\n {\r\n \"block\": {\r\n \"blockDetails\": {\r\n \"blockCode\": \"ERICTE1030\",\r\n \"blockName\": \"Eric Test Event 3\",\r\n \"blockAliases\": [],\r\n \"timeSpan\": {\r\n \"startDate\": \"2019-10-30\",\r\n \"endDate\": \"2019-10-31\"\r\n },\r\n \"shoulderDates\": {},\r\n \"blockStatus\": {\r\n \"bookingStatus\": {\r\n \"status\": {\r\n \"code\": \"INQ\"\r\n }\r\n }\r\n },\r\n \"reservationType\": {\r\n \"reservationType\": \"GRPGTD\"\r\n },\r\n \"marketCode\": {\r\n \"marketCode\": \"LEISURE\"\r\n },\r\n \"sourceOfSale\": {\r\n \"sourceCode\": {\r\n \"sourceCode\": \"WEB\"\r\n }\r\n },\r\n \"reservationMethod\": {},\r\n \"bookingType\": {},\r\n \"rateProtectionDetails\": {\r\n \"criteria\": \"None\"\r\n },\r\n \"nonCompeteDetails\": {\r\n \"criteria\": \"None\"\r\n },\r\n \"currencyCode\": \"USD\",\r\n \"blockClassification\": \"RegularBooking\",\r\n \"cateringOnlyBlock\": false,\r\n \"allowRateOverride\": false,\r\n \"manualCutOff\": false,\r\n \"wholesaleBlock\": false,\r\n \"controlBlockLocally\": false\r\n },\r\n \"blockOwners\": {\r\n \"owner\": [\r\n {\r\n \"ownership\": \"Block\",\r\n \"ownerCode\": \"ALL\",\r\n \"primary\": true\r\n },\r\n {\r\n \"ownership\": \"Catering\",\r\n \"ownerCode\": \"ALL\",\r\n \"primary\": true\r\n },\r\n {\r\n \"ownership\": \"Rooms\",\r\n \"ownerCode\": \"ALL\",\r\n \"primary\": true\r\n }\r\n ],\r\n \"lockBlockOwners\": false,\r\n \"lockRoomsOwners\": false,\r\n \"lockCateringOwners\": false\r\n },\r\n \"reservationDetails\": {\r\n \"ratePlanCode\": [],\r\n \"traceCode\": {},\r\n \"breakfast\": {\r\n \"breakfastIncluded\": false,\r\n \"price\": {\r\n \"currencyCode\": \"USD\"\r\n }\r\n },\r\n \"porterage\": {\r\n \"porterageIncluded\": false,\r\n \"price\": {\r\n \"currencyCode\": \"USD\"\r\n }\r\n },\r\n \"elastic\": \"1\",\r\n \"suppressRate\": false,\r\n \"housing\": true\r\n },\r\n \"catering\": {\r\n \"cateringStatus\": {\r\n \"bookingStatus\": {\r\n \"status\": {\r\n \"code\": \"INQ\"\r\n }\r\n }\r\n },\r\n \"eventAttendees\": {\r\n \"noOfAttendees\": 25,\r\n \"attendeesGuaranteed\": true\r\n },\r\n \"overrideEventsProcessingWarnings\": true\r\n },\r\n \"blockProfiles\": {\r\n \"fullOverlay\": false\r\n },\r\n \"blockPackages\": [],\r\n \"externalAttributes\": {\r\n \"eventType\": \"Convention\",\r\n \"rollEndDate\": false\r\n },\r\n \"hotelId\": \"{{HotelId}}\",\r\n \"markAsRecentlyAccessed\": true\r\n }\r\n }\r\n ]\r\n }\r\n}",
"options": {
"raw": {
"language": "json"
@@ -8430,7 +9630,7 @@
"response": []
},
{
- "name": "Post Rooming List",
+ "name": "Post Block Rooming List",
"request": {
"auth": {
"type": "bearer",
@@ -8450,7 +9650,7 @@
},
{
"key": "x-externalsystem",
- "value": "{{ExternalSystemCode}}"
+ "value": "{{ExternalSystem}}"
},
{
"key": "x-app-key",
@@ -8459,7 +9659,7 @@
],
"body": {
"mode": "raw",
- "raw": "{\r\n \"blockInfo\": {\r\n \"hotelId\": \"{{HotelID}}\",\r\n \"blockIdList\": [\r\n {\r\n \"type\": \"Block\",\r\n \"idContext\": \"OPERA\",\r\n \"id\": \"{{BlockId}}\"\r\n },\r\n {\r\n \"type\": \"BlockCode\",\r\n \"idContext\": \"OPERA\",\r\n \"id\": \"{{BlockCode}}\"\r\n }\r\n ]\r\n \"hotelId\": \"{{HotelId}}\"\r\n },\r\n \"shares\": [],\r\n \"reservations\": {\r\n \"reservation\": [\r\n {\r\n \"roomingListSequence\": \"1\",\r\n \"hotelReservation\": {\r\n \"reservationIdList\": [\r\n {\r\n \"type\": \"Reservation\",\r\n \"idContext\": \"OPERA\",\r\n \"id\": \"-1\"\r\n }\r\n ],\r\n \"roomStay\": {\r\n \"roomRates\": [\r\n {\r\n \"reservationBlock\": {\r\n \"blockIdList\": [\r\n {\r\n \"type\": \"Block\",\r\n \"idContext\": \"OPERA\",\r\n \"id\": \"{{BlockId}}\"\r\n },\r\n {\r\n \"type\": \"BlockCode\",\r\n \"idContext\": \"OPERA\",\r\n \"id\": \"{{BlockCode}}\"\r\n }\r\n ],\r\n \"hotelId\": \"{{HotelId}}\"\r\n },\r\n \"roomType\": \"DLXK\",\r\n \"numberOfUnits\": \"1\",\r\n \"discountAllowed\": false,\r\n \"start\": \"2023-02-02\",\r\n \"end\": \"2023-02-03\"\r\n }\r\n ],\r\n \"guestCounts\": {\r\n \"adults\": 1,\r\n \"children\": 0\r\n },\r\n \"expectedTimes\": {\r\n \"reservationExpectedArrivalTime\": \"2023-02-02\",\r\n \"reservationExpectedDepartureTime\": \"2023-02-03\"\r\n },\r\n \"guarantee\": {\r\n \"guaranteeCode\": \"GDED\"\r\n },\r\n \"arrivalDate\": \"2023-02-02\",\r\n \"departureDate\": \"2023-02-03\"\r\n },\r\n \"reservationGuests\": [\r\n {\r\n \"profileInfo\": {\r\n \"profile\": {\r\n \"customer\": {\r\n \"personName\": [\r\n {\r\n \"givenName\": \"John\",\r\n \"surname\": \"Doe\",\r\n \"nameType\": \"Primary\"\r\n }\r\n ],\r\n \"identifications\": {}\r\n },\r\n \"addresses\": {\r\n \"addressInfo\": [\r\n {\r\n \"address\": {\r\n \"addressLine\": [\r\n null,\r\n null,\r\n null,\r\n null\r\n ],\r\n \"country\": {}\r\n }\r\n }\r\n ]\r\n }\r\n },\r\n \"profileCashieringDetail\": {}\r\n },\r\n \"arrivalTransport\": {\r\n \"transportationReqd\": false\r\n },\r\n \"departureTransport\": {\r\n \"transportationReqd\": false\r\n },\r\n \"visaInfo\": {},\r\n \"primary\": true\r\n }\r\n ],\r\n \"additionalGuestInfo\": {}\r\n \"hotelId\": \"{{HotelId}}\"\r\n }\r\n }\r\n",
+ "raw": "{\r\n \"blockInfo\": {\r\n \"hotelId\": \"{{HotelID}}\",\r\n \"blockIdList\": [\r\n {\r\n \"type\": \"Block\",\r\n \"idContext\": \"OPERA\",\r\n \"id\": \"{{BlockId}}\"\r\n },\r\n {\r\n \"type\": \"BlockCode\",\r\n \"idContext\": \"OPERA\",\r\n \"id\": \"{{BlockCode}}\"\r\n }\r\n ]\r\n \"hotelId\": \"{{HotelId}}\"\r\n },\r\n \"shares\": [],\r\n \"reservations\": {\r\n \"reservation\": [\r\n {\r\n \"roomingListSequence\": \"1\",\r\n \"hotelReservation\": {\r\n \"reservationIdList\": [\r\n {\r\n \"type\": \"Reservation\",\r\n \"idContext\": \"OPERA\",\r\n \"id\": \"-1\"\r\n }\r\n ],\r\n \"roomStay\": {\r\n \"roomRates\": [\r\n {\r\n \"reservationBlock\": {\r\n \"blockIdList\": [\r\n {\r\n \"type\": \"Block\",\r\n \"idContext\": \"OPERA\",\r\n \"id\": \"{{BlockId}}\"\r\n },\r\n {\r\n \"type\": \"BlockCode\",\r\n \"idContext\": \"OPERA\",\r\n \"id\": \"{{BlockCode}}\"\r\n }\r\n ],\r\n \"hotelId\": \"{{HotelId}}\"\r\n },\r\n \"roomType\": \"DLXK\",\r\n \"numberOfUnits\": \"1\",\r\n \"discountAllowed\": false,\r\n \"start\": \"2024-02-02\",\r\n \"end\": \"2024-02-03\"\r\n }\r\n ],\r\n \"guestCounts\": {\r\n \"adults\": 1,\r\n \"children\": 0\r\n },\r\n \"expectedTimes\": {\r\n \"reservationExpectedArrivalTime\": \"2024-02-02\",\r\n \"reservationExpectedDepartureTime\": \"2024-02-03\"\r\n },\r\n \"guarantee\": {\r\n \"guaranteeCode\": \"GDED\"\r\n },\r\n \"arrivalDate\": \"2024-02-02\",\r\n \"departureDate\": \"2024-02-03\"\r\n },\r\n \"reservationGuests\": [\r\n {\r\n \"profileInfo\": {\r\n \"profile\": {\r\n \"customer\": {\r\n \"personName\": [\r\n {\r\n \"givenName\": \"John\",\r\n \"surname\": \"Doe\",\r\n \"nameType\": \"Primary\"\r\n }\r\n ],\r\n \"identifications\": {}\r\n },\r\n \"addresses\": {\r\n \"addressInfo\": [\r\n {\r\n \"address\": {\r\n \"addressLine\": [\r\n null,\r\n null,\r\n null,\r\n null\r\n ],\r\n \"country\": {}\r\n }\r\n }\r\n ]\r\n }\r\n },\r\n \"profileCashieringDetail\": {}\r\n },\r\n \"arrivalTransport\": {\r\n \"transportationReqd\": false\r\n },\r\n \"departureTransport\": {\r\n \"transportationReqd\": false\r\n },\r\n \"visaInfo\": {},\r\n \"primary\": true\r\n }\r\n ],\r\n \"additionalGuestInfo\": {}\r\n \"hotelId\": \"{{HotelId}}\"\r\n }\r\n }\r\n",
"options": {
"raw": {
"language": "json"
@@ -8503,7 +9703,7 @@
},
{
"key": "x-externalsystem",
- "value": "{{ExternalSystemCode}}"
+ "value": "{{ExternalSystem}}"
},
{
"key": "x-app-key",
@@ -8512,7 +9712,7 @@
],
"body": {
"mode": "raw",
- "raw": "{\r\n \"criteria\": {\r\n \"blockIdList\": [\r\n {\r\n \"type\": \"Block\",\r\n \"id\": \"{{BlockId}}\"\r\n }\r\n ],\r\n \"masterBlockHotelCode\": \"{{HotelId}}\",\r\n \"subBlockInfo\": [\r\n {\r\n \"hotelId\": \"{{HotelId}}\",\r\n \"blockName\": \"Sub Block Creation\",\r\n \"blockCode\": \"SUBB072816\",\r\n \"blockOrigin\": \"SC\",\r\n \"timeSpan\": {\r\n \"startDate\": \"2023-12-08\",\r\n \"endDate\": \"2023-12-09\"\r\n }\r\n }\r\n ]\r\n }\r\n}",
+ "raw": "{\r\n \"criteria\": {\r\n \"blockIdList\": [\r\n {\r\n \"type\": \"Block\",\r\n \"id\": \"{{BlockId}}\"\r\n }\r\n ],\r\n \"masterBlockHotelCode\": \"{{HotelId}}\",\r\n \"subBlockInfo\": [\r\n {\r\n \"hotelId\": \"{{HotelId}}\",\r\n \"blockName\": \"Sub Block Creation\",\r\n \"blockCode\": \"SUBB072816\",\r\n \"blockOrigin\": \"SC\",\r\n \"timeSpan\": {\r\n \"startDate\": \"2024-12-08\",\r\n \"endDate\": \"2024-12-09\"\r\n }\r\n }\r\n ]\r\n }\r\n}",
"options": {
"raw": {
"language": "json"
@@ -8538,6 +9738,60 @@
},
"response": []
},
+ {
+ "name": "Post Sub Block By ExtId",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "{{Token}}",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "POST",
+ "header": [
+ {
+ "key": "x-hotelid",
+ "value": "{{HotelId}}"
+ },
+ {
+ "key": "x-app-key",
+ "value": "{{AppKey}}"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"criteria\": {\r\n \"blockIdList\": [\r\n {\r\n \"type\": \"Block\",\r\n \"id\": \"{{BlockId}}\"\r\n }\r\n ],\r\n \"masterBlockHotelCode\": \"{{HotelId}}\",\r\n \"subBlockInfo\": [\r\n {\r\n \"hotelId\": \"{{HotelId}}\",\r\n \"blockName\": \"Sub Block Creation\",\r\n \"blockCode\": \"SUBB072816\",\r\n \"blockOrigin\": \"SC\",\r\n \"timeSpan\": {\r\n \"startDate\": \"2024-12-08\",\r\n \"endDate\": \"2024-12-09\"\r\n }\r\n }\r\n ]\r\n }\r\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{HostName}}/blk/v1/hotels/{{HotelId}}/externalSystems/{{ExternalSystemCode}}/blocks/{{BlockId}}/subBlocks",
+ "host": [
+ "{{HostName}}"
+ ],
+ "path": [
+ "blk",
+ "v1",
+ "hotels",
+ "{{HotelId}}",
+ "externalSystems",
+ "{{ExternalSystemCode}}",
+ "blocks",
+ "{{BlockId}}",
+ "subBlocks"
+ ]
+ },
+ "description": "Master Block must already exist"
+ },
+ "response": []
+ },
{
"name": "change Rate Override",
"request": {
@@ -8564,7 +9818,7 @@
],
"body": {
"mode": "raw",
- "raw": "{\r\n \"allowRateOverride\": true,\r\n \"hotelId\": \"{{HotelId}}\",\r\n \"blockIdList\": [\r\n {\r\n \"type\": \"Block\",\r\n \"idContext\": \"OPERA\",\r\n \"id\": \"{{BlockId}}\"\r\n }\r\n ],\r\n \"rateOverrideReason\": {\r\n \"code\": \"RMA\"\r\n }\r\n}",
+ "raw": "{\r\n \"allowRateOverride\": true,\r\n \"hotelId\": \"{{HotelId}}\",\r\n \"blockIdList\": [\r\n {\r\n \"type\": \"Block\",\r\n \"idContext\": \"OPERA\",\r\n \"id\": \"{{BlockId}}\"\r\n }\r\n ],\r\n \"rateOverrideReason\": {\r\n \"code\": \"RMA\",\r\n \"description\": \"Found better rate online\"\r\n }\r\n}",
"options": {
"raw": {
"language": "json"
@@ -8627,7 +9881,7 @@
],
"body": {
"mode": "raw",
- "raw": "{\r\n \"criteria\": {\r\n \"hotelId\": \"{{HotelId}}\",\r\n \"blockId\": {\r\n \"type\": \"Block\",\r\n \"idContext\": \"OPERA\",\r\n \"id\": \"{{BlockId}}\"\r\n },\r\n \"newStartDate\": \"2023-10-14\",\r\n \"overrideEventsProcessingWarnings\": false\r\n }\r\n}",
+ "raw": "{\r\n \"criteria\": {\r\n \"hotelId\": \"{{HotelId}}\",\r\n \"blockId\": {\r\n \"type\": \"Block\",\r\n \"idContext\": \"OPERA\",\r\n \"id\": \"{{BlockId}}\"\r\n },\r\n \"newStartDate\": \"2024-10-14\",\r\n \"overrideEventsProcessingWarnings\": false\r\n }\r\n}",
"options": {
"raw": {
"language": "json"
@@ -8678,7 +9932,7 @@
],
"body": {
"mode": "raw",
- "raw": "{\r\n \"blockId\": {\r\n \"type\": \"Block\",\r\n \"idContext\": \"OPERA\",\r\n \"id\": \"{{BlockId}}\"\r\n },\r\n \"date\": \"2023-11-06\",\r\n \"hotelId\": \"{{HotelId}}\"\r\n}",
+ "raw": "{\r\n \"blockId\": {\r\n \"type\": \"Block\",\r\n \"idContext\": \"OPERA\",\r\n \"id\": \"{{BlockId}}\"\r\n },\r\n \"date\": \"2024-11-06\",\r\n \"hotelId\": \"{{HotelId}}\"\r\n}",
"options": {
"raw": {
"language": "json"
@@ -8880,7 +10134,7 @@
}
],
"url": {
- "raw": "{{HostName}}/blk/v1/blocks/{{BlockId}}/restrictions?hotelId={{HotelId}}&code=Closed&endDate=2023-06-28&startDate=2023-06-28",
+ "raw": "{{HostName}}/blk/v1/blocks/{{BlockId}}/restrictions?hotelId={{HotelId}}&code=Closed&endDate=2024-06-28&startDate=2024-06-28",
"host": [
"{{HostName}}"
],
@@ -8902,13 +10156,533 @@
},
{
"key": "endDate",
- "value": "2023-06-28"
+ "value": "2024-06-28"
+ },
+ {
+ "key": "startDate",
+ "value": "2024-06-28"
+ }
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "name": "delete Block Wash Schedules",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "{{Token}}",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "DELETE",
+ "header": [
+ {
+ "key": "x-app-key",
+ "type": "text",
+ "value": "{{AppKey}}"
+ },
+ {
+ "key": "x-hotelid",
+ "type": "text",
+ "value": "{{HotelId}}"
+ }
+ ],
+ "url": {
+ "raw": "{{HostName}}/blk/v1/blocks/{{BlockId}}/washSchedules",
+ "host": [
+ "{{HostName}}"
+ ],
+ "path": [
+ "blk",
+ "v1",
+ "blocks",
+ "{{BlockId}}",
+ "washSchedules"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "name": "get Block by ExtID",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "{{Token}}",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "GET",
+ "header": [
+ {
+ "key": "x-app-key",
+ "type": "text",
+ "value": "{{AppKey}}"
+ },
+ {
+ "key": "x-hotelid",
+ "type": "text",
+ "value": "{{HotelId}}"
+ }
+ ],
+ "url": {
+ "raw": "{{HostName}}/blk/v1/hotels/{{HotelId}}/externalSystems/{{ExternalSystemCode}}/blocks/{{BlockExternalId}}",
+ "host": [
+ "{{HostName}}"
+ ],
+ "path": [
+ "blk",
+ "v1",
+ "hotels",
+ "{{HotelId}}",
+ "externalSystems",
+ "{{ExternalSystemCode}}",
+ "blocks",
+ "{{BlockExternalId}}"
+ ],
+ "query": [
+ {
+ "key": "fetchInstructions",
+ "value": "Comments",
+ "disabled": true
+ },
+ {
+ "key": "fetchInstructions",
+ "value": "RateGrid",
+ "disabled": true
+ },
+ {
+ "key": "fetchInstructions",
+ "value": "Packages",
+ "disabled": true
+ },
+ {
+ "key": "fetchInstructions",
+ "value": "Profiles",
+ "disabled": true
+ },
+ {
+ "key": "fetchInstructions",
+ "value": "Events",
+ "disabled": true
+ },
+ {
+ "key": "fetchInstructions",
+ "value": "Block",
+ "disabled": true
+ },
+ {
+ "key": "markAsRecentlyAccessed",
+ "value": "true",
+ "disabled": true
+ },
+ {
+ "key": "fetchAllocatedRoomTypes",
+ "value": "true",
+ "disabled": true
},
{
"key": "startDate",
- "value": "2023-06-28"
+ "value": "2021-06-16",
+ "disabled": true
+ },
+ {
+ "key": "numberOfDays",
+ "value": "4",
+ "disabled": true
+ },
+ {
+ "key": "roomAllocationCriteria",
+ "value": "Initial",
+ "disabled": true
+ },
+ {
+ "key": "roomAllocationCriteria",
+ "value": "Rates",
+ "disabled": true
+ },
+ {
+ "key": "roomAllocationCriteria",
+ "value": "Actual",
+ "disabled": true
+ },
+ {
+ "key": "roomAllocationCriteria",
+ "value": "Pickup",
+ "disabled": true
+ },
+ {
+ "key": "roomTypes",
+ "value": "EXEC",
+ "disabled": true
+ }
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "name": "post Sub Allocation",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "{{Token}}",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "POST",
+ "header": [
+ {
+ "key": "x-hotelid",
+ "value": "{{HotelId}}"
+ },
+ {
+ "key": "x-app-key",
+ "value": "{{AppKey}}"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"subAllocations\": {\n \"subAllocationInfo\": [\n {\n \"subAllocation\": {\n \"masterAllocationInfo\": {\n \"blockIdList\": [\n {\n \"type\": \"Block\",\n \"idContext\": \"OPERA\",\n \"id\": \"{{BlockId}}\"\n }\n ],\n \"hotelId\": \"{{HotelId}}\"\n },\n \"blockDetails\": {\n \"blockCode\": \"231007SUBA_001\",\n \"blockName\": \"Sub Allocation\",\n \"blockAliases\": [],\n \"timeSpan\": {\n \"startDate\": \"2023-10-22\",\n \"endDate\": \"2023-10-23\"\n },\n \"shoulderDates\": {},\n \"blockStatus\": {\n \"bookingStatus\": {\n \"status\": {\n \"code\": \"INQ\"\n }\n }\n },\n \"reservationType\": {\n \"reservationType\": \"GNON\"\n },\n \"marketCode\": {\n \"marketCode\": \"CORP\"\n },\n \"sourceOfSale\": {\n \"sourceCode\": {\n \"sourceCode\": \"CALL\"\n }\n },\n \"reservationMethod\": {},\n \"bookingType\": {},\n \"blockOrigin\": \"CS\",\n \"paymentMethod\": {},\n \"rateProtectionDetails\": {\n \"criteria\": \"None\"\n },\n \"nonCompeteDetails\": {\n \"criteria\": \"None\"\n },\n \"blockClassification\": \"SubAllocation\",\n \"cateringOnlyBlock\": false,\n \"allowRateOverride\": false,\n \"manualCutOff\": false,\n \"wholesaleBlock\": false,\n \"controlBlockLocally\": false\n },\n \"blockOwners\": {\n \"owner\": [\n {\n \"ownership\": \"Block\",\n \"ownerCode\": \"ALL\",\n \"primary\": true\n },\n {\n \"ownership\": \"Catering\",\n \"ownerCode\": \"ALL\",\n \"primary\": true\n },\n {\n \"ownership\": \"Rooms\",\n \"ownerCode\": \"ALL\",\n \"primary\": true\n }\n ],\n \"lockBlockOwners\": false,\n \"lockRoomsOwners\": false,\n \"lockCateringOwners\": false\n },\n \"reservationDetails\": {\n \"traceCode\": {},\n \"breakfast\": {\n \"breakfastIncluded\": false,\n \"price\": {}\n },\n \"porterage\": {\n \"porterageIncluded\": false,\n \"price\": {}\n },\n \"elastic\": \"1\",\n \"printRate\": true,\n \"housing\": true,\n \"controlBlockLocally\": false\n },\n \"catering\": {\n \"cateringStatus\": {\n \"bookingStatus\": {\n \"status\": {}\n }\n },\n \"eventAttendees\": {},\n \"overrideEventsProcessingWarnings\": true\n },\n \"blockProfiles\": {\n \"fullOverlay\": false\n },\n \"blockPackages\": [],\n \"externalAttributes\": {\n \"eventType\": \"Convention\",\n \"rollEndDate\": false\n },\n \"hotelId\": \"{{HotelId}}\",\n \"markAsRecentlyAccessed\": true\n }\n }\n ]\n }\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{HostName}}/blk/v1/allocation",
+ "host": [
+ "{{HostName}}"
+ ],
+ "path": [
+ "blk",
+ "v1",
+ "allocation"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "name": "post Block Validate",
+ "event": [
+ {
+ "listen": "test",
+ "script": {
+ "exec": [
+ "var data = pm.response.headers.get(\"Location\").split(\"/\").pop();\r",
+ "postman.setEnvironmentVariable(\"BlockId\", data);"
+ ],
+ "type": "text/javascript"
+ }
+ }
+ ],
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "{{Token}}",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "POST",
+ "header": [
+ {
+ "key": "x-hotelid",
+ "value": "{{HotelId}}"
+ },
+ {
+ "key": "x-app-key",
+ "value": "{{AppKey}}"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"blocks\": {\r\n \"blockInfo\": [\r\n {\r\n \"block\": {\r\n \"blockDetails\": {\r\n \"blockCode\": \"VAILSKI21\",\r\n \"blockName\": \"Red Ski Conference\",\r\n \"blockAliases\": [],\r\n \"timeSpan\": {\r\n \"startDate\": \"2024-12-01\",\r\n \"endDate\": \"2024-12-03\"\r\n },\r\n \"shoulderDates\": {},\r\n \"blockStatus\": {\r\n \"bookingStatus\": {\r\n \"status\": {\r\n \"code\": \"TEN\"\r\n }\r\n }\r\n },\r\n \"reservationType\": {\r\n \"reservationType\": \"GRPGTD\"\r\n },\r\n \"marketCode\": {\r\n \"marketCode\": \"LEISURE\"\r\n },\r\n \"sourceOfSale\": {\r\n \"sourceCode\": {\r\n \"sourceCode\": \"WEB\"\r\n }\r\n },\r\n \"reservationMethod\": {},\r\n \"bookingType\": {},\r\n \"rateProtectionDetails\": {\r\n \"criteria\": \"None\"\r\n },\r\n \"nonCompeteDetails\": {\r\n \"criteria\": \"None\"\r\n },\r\n \"currencyCode\": \"USD\",\r\n \"blockClassification\": \"RegularBooking\",\r\n \"cateringOnlyBlock\": false,\r\n \"allowRateOverride\": false,\r\n \"manualCutOff\": false,\r\n \"wholesaleBlock\": false,\r\n \"controlBlockLocally\": false\r\n },\r\n \"blockOwners\": {\r\n \"owner\": [\r\n {\r\n \"ownership\": \"Block\",\r\n \"ownerCode\": \"ALL\",\r\n \"primary\": true\r\n },\r\n {\r\n \"ownership\": \"Catering\",\r\n \"ownerCode\": \"ALL\",\r\n \"primary\": true\r\n },\r\n {\r\n \"ownership\": \"Rooms\",\r\n \"ownerCode\": \"ALL\",\r\n \"primary\": true\r\n }\r\n ],\r\n \"lockBlockOwners\": false,\r\n \"lockRoomsOwners\": false,\r\n \"lockCateringOwners\": false\r\n },\r\n \"reservationDetails\": {\r\n \"ratePlanCode\": [\r\n {\r\n \"primary\": true,\r\n \"ratePlanCode\": \"BAR\"\r\n }\r\n ],\r\n \"traceCode\": {},\r\n \"breakfast\": {\r\n \"breakfastIncluded\": false,\r\n \"price\": {\r\n \"currencyCode\": \"USD\"\r\n }\r\n },\r\n \"porterage\": {\r\n \"porterageIncluded\": false,\r\n \"price\": {\r\n \"currencyCode\": \"USD\"\r\n }\r\n },\r\n \"elastic\": \"1\",\r\n \"suppressRate\": false,\r\n \"housing\": true\r\n },\r\n \"catering\": {\r\n \"cateringStatus\": {\r\n \"bookingStatus\": {\r\n \"status\": {}\r\n }\r\n },\r\n \"eventAttendees\": {},\r\n \"overrideEventsProcessingWarnings\": true\r\n },\r\n \"blockProfiles\": {\r\n \"fullOverlay\": false\r\n },\r\n \"blockPackages\": [],\r\n \"externalAttributes\": {\r\n \"eventType\": \"Convention\",\r\n \"rollEndDate\": false\r\n },\r\n \"hotelId\": \"{{HotelId}}\",\r\n \"markAsRecentlyAccessed\": true\r\n }\r\n }\r\n ]\r\n }\r\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{HostName}}/blk/v1/blocks/actions/validate",
+ "host": [
+ "{{HostName}}"
+ ],
+ "path": [
+ "blk",
+ "v1",
+ "blocks",
+ "actions",
+ "validate"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "name": "post Tour Series",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "{{Token}}",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "POST",
+ "header": [
+ {
+ "key": "x-hotelid",
+ "value": "{{HotelId}}"
+ },
+ {
+ "key": "x-app-key",
+ "value": "{{AppKey}}"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"criteria\": {\n \"tourBlockId\": {\n \"type\": \"Block\",\n \"idContext\": \"OPERA\",\n \"id\": \"{{BlockId}}\"\n },\n \"tourCode\": \"231007MASTE_1\",\n \"tourSeriesBlocks\": [\n {\n \"hotelId\": \"{{HotelId}}\",\n \"blockCode\": \"231010MASTE\",\n \"startDate\": \"2023-10-10\",\n \"blockStatus\": \"INQ\",\n \"blockName\": \"Master Allocation Feb\",\n \"currency\": \"USD\",\n \"reservationType\": \"GNON\",\n \"sourceCode\": \"CALL\",\n \"marketCode\": \"CORP\"\n }\n ],\n \"tourInstructions\": {\n \"rooms\": false,\n \"blockComments\": false,\n \"events\": false,\n \"eventComments\": false,\n \"resources\": false,\n \"resourceComments\": false,\n \"contractBilling\": false,\n \"groupProfile\": true,\n \"adjustDecisionAndFollowupDate\": true,\n \"complimentaryInfo\": false,\n \"rates\": true,\n \"eventForecastFigures\": false,\n \"eventChangeNotes\": false,\n \"copyEventAttendees\": true,\n \"copyResourcePrice\": false\n },\n \"hotelId\": \"{{HotelId}}\",\n \"masterBlockCode\": \"231007MAST_001\",\n \"itinerary\": false\n }\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{HostName}}/blk/v1/blocks/{{BlockId}}/tourSeries",
+ "host": [
+ "{{HostName}}"
+ ],
+ "path": [
+ "blk",
+ "v1",
+ "blocks",
+ "{{BlockId}}",
+ "tourSeries"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "name": "put Block Access Exclusion",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "{{Token}}",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "PUT",
+ "header": [
+ {
+ "key": "x-hotelid",
+ "value": "{{HotelId}}"
+ },
+ {
+ "key": "x-app-key",
+ "value": "{{AppKey}}",
+ "type": "default"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"blockAccessExclusions\": {\n \"overlay\": false,\n \"blockAccessExclusion\": [\n {\n \"sourceType\": \"CRO\",\n \"sourceValue\": \"DFLT_FIRST\",\n \"allowModifyReservation\": true,\n \"allowCancelReservation\": true,\n \"allowCreateReservation\": false,\n \"inactive\": false,\n \"excludeFromAvailability\": true\n }\n ],\n \"accessExclusionMessage\": {\n \"exclusionMessage\": \"Important group coming today, Please prioritize\"\n },\n \"hotelId\": \"{{HotelId}}\",\n \"type\": \"AllotmentHeaderId\",\n \"idContext\": \"Opera\",\n \"id\": \"{{BlockId}}\"\n }\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{HostName}}/blk/v1/blocks/{{BlockId}}/blockAccessExclusion",
+ "host": [
+ "{{HostName}}"
+ ],
+ "path": [
+ "blk",
+ "v1",
+ "blocks",
+ "{{BlockId}}",
+ "blockAccessExclusion"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "name": "put Block CutOff",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "{{Token}}",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "PUT",
+ "header": [
+ {
+ "key": "x-hotelid",
+ "value": "{{HotelId}}"
+ },
+ {
+ "key": "x-app-key",
+ "value": "{{AppKey}}"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"blockId\": {\n \"type\": \"Block\",\n \"idContext\": \"OPERA\",\n \"id\": \"{{BlockId}}\"\n },\n \"hotelId\": \"{{HotelId}}\"\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{HostName}}/blk/v1/blocks/{{BlockId}}/blockCutOff",
+ "host": [
+ "{{HostName}}"
+ ],
+ "path": [
+ "blk",
+ "v1",
+ "blocks",
+ "{{BlockId}}",
+ "blockCutOff"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "name": "put Block Rates",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "{{Token}}",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "PUT",
+ "header": [
+ {
+ "key": "x-hotelid",
+ "value": "{{HotelId}}"
+ },
+ {
+ "key": "x-app-key",
+ "value": "{{AppKey}}"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"hotelId\": \"{{HotelId}}\",\n \"blockId\": {\n \"type\": \"Block\",\n \"idContext\": \"OPERA\",\n \"id\": \"{{BlockId}}\"\n }\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{HostName}}/blk/v1/blocks/{{BlockId}}/rates",
+ "host": [
+ "{{HostName}}"
+ ],
+ "path": [
+ "blk",
+ "v1",
+ "blocks",
+ "{{BlockId}}",
+ "rates"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "name": "put Validate Block Code",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "{{Token}}",
+ "type": "string"
}
]
+ },
+ "method": "PUT",
+ "header": [
+ {
+ "key": "x-hotelid",
+ "value": "{{HotelId}}"
+ },
+ {
+ "key": "x-app-key",
+ "value": "{{AppKey}}",
+ "type": "default"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"endDate\": \"2023-09-10\",\n \"hotelId\": \"{{HotelId}}\",\n \"blockIdList\": [\n {\n \"type\": \"BlockCode\",\n \"idContext\": \"OPERA\",\n \"id\": \"{{blockCode}}\"\n }\n ],\n \"startDate\": \"2023-09-09\"\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{HostName}}/blk/v1/blocks/{{blockCode}}/actions/validate",
+ "host": [
+ "{{HostName}}"
+ ],
+ "path": [
+ "blk",
+ "v1",
+ "blocks",
+ "{{blockCode}}",
+ "actions",
+ "validate"
+ ]
}
},
"response": []
@@ -10160,7 +11934,7 @@
}
],
"url": {
- "raw": "{{HostName}}/blk/config/v1/hotels/{{HotelId}}/blockSalesAllowance?startDateRange=2023-01-01&endDateRange=2023-06-31",
+ "raw": "{{HostName}}/blk/config/v1/hotels/{{HotelId}}/blockSalesAllowance?startDateRange=2024-01-01&endDateRange=2024-06-31",
"host": [
"{{HostName}}"
],
@@ -10175,11 +11949,11 @@
"query": [
{
"key": "startDateRange",
- "value": "2023-01-01"
+ "value": "2024-01-01"
},
{
"key": "endDateRange",
- "value": "2023-06-31"
+ "value": "2024-06-31"
}
]
}
@@ -10214,7 +11988,7 @@
],
"body": {
"mode": "raw",
- "raw": "{\r\n \"criteria\": {\r\n \"hotelId\": \"{{HotelId}}\",\r\n \"quantity\": \"21\",\r\n \"cutoffDays\": \"1\",\r\n \"incrementFlag\": true,\r\n \"overwriteExistingSalesAllowance\": false,\r\n \"validateExistingSalesAllowance\": true,\r\n \"sunday\": true,\r\n \"monday\": true,\r\n \"tuesday\": true,\r\n \"wednesday\": true,\r\n \"thursday\": true,\r\n \"friday\": true,\r\n \"saturday\": true,\r\n \"start\": \"2023-08-01\",\r\n \"end\": \"2023-08-31\"\r\n }\r\n}",
+ "raw": "{\r\n \"criteria\": {\r\n \"hotelId\": \"{{HotelId}}\",\r\n \"quantity\": \"21\",\r\n \"cutoffDays\": \"1\",\r\n \"incrementFlag\": true,\r\n \"overwriteExistingSalesAllowance\": false,\r\n \"validateExistingSalesAllowance\": true,\r\n \"sunday\": true,\r\n \"monday\": true,\r\n \"tuesday\": true,\r\n \"wednesday\": true,\r\n \"thursday\": true,\r\n \"friday\": true,\r\n \"saturday\": true,\r\n \"start\": \"2024-08-01\",\r\n \"end\": \"2024-08-31\"\r\n }\r\n}",
"options": {
"raw": {
"language": "json"
@@ -10275,7 +12049,7 @@
}
},
"url": {
- "raw": "{{HostName}}/blk/config/v1/hotels/{{HotelId}}/blockSalesAllowanceRange?startDate=2023-07-08&endDate=2023-08-08&sunday=true&saturday=true&tuesday=true&friday=true&thursday=true&wednesday=true&monday=true",
+ "raw": "{{HostName}}/blk/config/v1/hotels/{{HotelId}}/blockSalesAllowanceRange?startDate=2024-07-08&endDate=2024-08-08&sunday=true&saturday=true&tuesday=true&friday=true&thursday=true&wednesday=true&monday=true",
"host": [
"{{HostName}}"
],
@@ -10290,11 +12064,11 @@
"query": [
{
"key": "startDate",
- "value": "2023-07-08"
+ "value": "2024-07-08"
},
{
"key": "endDate",
- "value": "2023-08-08"
+ "value": "2024-08-08"
},
{
"key": "sunday",
@@ -10878,7 +12652,7 @@
],
"body": {
"mode": "raw",
- "raw": "{\r\n \"salesManagerGoals\": [\r\n {\r\n \"hotelId\": \"{{HotelId}}\",\r\n \"nameId\": {\r\n \"id\": \"11460\"\r\n },\r\n \"goalType\": \"GROUP_ROOMS_WITH_CATERING\",\r\n \"arrivalGoal\": false,\r\n \"productionStartDate\": \"2023-03-01\",\r\n \"productionEndDate\": \"2023-03-31\",\r\n \"marketCode\": \"CORPC\",\r\n \"roomNights\": \"200\",\r\n \"roomRevenue\": {\r\n \"amount\": \"40000\"\r\n },\r\n \"averageRate\": {\r\n \"amount\": \"200\"\r\n },\r\n \"cateringCovers\": \"200\",\r\n \"fBRevenue\": {\r\n \"amount\": \"20000\"\r\n },\r\n \"averageFBCheck\": {\r\n \"amount\": \"100\"\r\n },\r\n \"otherRevenue\": {\r\n \"amount\": \"5000\"\r\n },\r\n \"groupRoomsWithCatering\": true\r\n }\r\n ]\r\n}",
+ "raw": "{\r\n \"salesManagerGoals\": [\r\n {\r\n \"hotelId\": \"{{HotelId}}\",\r\n \"nameId\": {\r\n \"id\": \"11460\"\r\n },\r\n \"goalType\": \"GROUP_ROOMS_WITH_CATERING\",\r\n \"arrivalGoal\": false,\r\n \"productionStartDate\": \"2025-03-01\",\r\n \"productionEndDate\": \"2025-03-31\",\r\n \"marketCode\": \"CORPC\",\r\n \"roomNights\": \"200\",\r\n \"roomRevenue\": {\r\n \"amount\": \"40000\"\r\n },\r\n \"averageRate\": {\r\n \"amount\": \"200\"\r\n },\r\n \"cateringCovers\": \"200\",\r\n \"fBRevenue\": {\r\n \"amount\": \"20000\"\r\n },\r\n \"averageFBCheck\": {\r\n \"amount\": \"100\"\r\n },\r\n \"otherRevenue\": {\r\n \"amount\": \"5000\"\r\n },\r\n \"groupRoomsWithCatering\": true\r\n }\r\n ]\r\n}",
"options": {
"raw": {
"language": "json"
@@ -10932,7 +12706,7 @@
],
"body": {
"mode": "raw",
- "raw": "{\r\n \"salesManagerGoals\": [\r\n {\r\n \"hotelId\": \"{{HotelId}}\",\r\n \"nameId\": {\r\n \"id\": \"10489\"\r\n },\r\n \"goalID\": {\r\n \"id\": \"12616\"\r\n },\r\n \"arrivalGoal\": false,\r\n \"productionStartDate\": \"2023-10-01\",\r\n \"productionEndDate\": \"2023-10-31\",\r\n \"roomNights\": \"120\",\r\n \"roomRevenue\": {\r\n \"amount\": \"10000\"\r\n },\r\n \"averageRate\": {\r\n \"amount\": \"83.33\"\r\n },\r\n \"groupRoomsWithCatering\": true\r\n }\r\n ]\r\n}",
+ "raw": "{\r\n \"salesManagerGoals\": [\r\n {\r\n \"hotelId\": \"{{HotelId}}\",\r\n \"nameId\": {\r\n \"id\": \"10489\"\r\n },\r\n \"goalID\": {\r\n \"id\": \"12616\"\r\n },\r\n \"arrivalGoal\": false,\r\n \"productionStartDate\": \"2025-10-01\",\r\n \"productionEndDate\": \"2025-10-31\",\r\n \"roomNights\": \"120\",\r\n \"roomRevenue\": {\r\n \"amount\": \"10000\"\r\n },\r\n \"averageRate\": {\r\n \"amount\": \"83.33\"\r\n },\r\n \"groupRoomsWithCatering\": true\r\n }\r\n ]\r\n}",
"options": {
"raw": {
"language": "json"
@@ -11032,27 +12806,7 @@
"name": "Cashiering (CSH)",
"item": [
{
- "name": "post Passer By Sale",
- "event": [
- {
- "listen": "prerequest",
- "script": {
- "exec": [
- ""
- ],
- "type": "text/javascript"
- }
- },
- {
- "listen": "test",
- "script": {
- "exec": [
- ""
- ],
- "type": "text/javascript"
- }
- }
- ],
+ "name": "get Matured Deposits",
"request": {
"auth": {
"type": "bearer",
@@ -11064,7 +12818,7 @@
}
]
},
- "method": "POST",
+ "method": "GET",
"header": [
{
"key": "Content-Type",
@@ -11072,7 +12826,7 @@
"type": "text"
},
{
- "key": "x-hotelid",
+ "key": "x-hotelId",
"value": "{{HotelId}}",
"type": "text"
},
@@ -11080,24 +12834,10 @@
"key": "x-app-key",
"value": "{{AppKey}}",
"type": "text"
- },
- {
- "key": "x-externalsystem",
- "value": "{{ExternalSystemCode}}",
- "type": "text"
}
],
- "body": {
- "mode": "raw",
- "raw": "{\r\n \"criteria\": {\r\n \"profileId\": {\r\n \"type\": \"Profile\",\r\n \"idContext\": \"OPERA\",\r\n \"id\": \"{{ProfileId}}\"\r\n },\r\n \"payments\": [\r\n {\r\n \"paymentMethod\": {\r\n \"authorizationApproval\": {},\r\n \"paymentMethod\": \"CA\",\r\n \"folioView\": \"1\"\r\n },\r\n \"applyCCSurcharge\": false,\r\n \"folioWindowNo\": \"1\"\r\n }\r\n ], \r\n \"cashierId\": {{CashierId}},\r\n \"hotelId\": \"{{HotelId}}\",\r\n \"charges\": [\r\n {\r\n \"transactionCode\": \"2000\",\r\n \"articleCode\": \"200010\",\r\n \"price\": {\r\n \"amount\": \"10\",\r\n \"currencyCode\": \"EUR\"\r\n },\r\n \"postingQuantity\": 1,\r\n \"postingReference\": \" \",\r\n \"folioWindowNo\": \"1\"\r\n }\r\n ]\r\n }\r\n}",
- "options": {
- "raw": {
- "language": "json"
- }
- }
- },
"url": {
- "raw": "{{HostName}}/csh/v1/hotels/{{HotelId}}/passerBySale",
+ "raw": "{{HostName}}/csh/v1/hotels/{{HotelId}}/reservations/{{reservationId}}/depositPayments",
"host": [
"{{HostName}}"
],
@@ -11106,70 +12846,17 @@
"v1",
"hotels",
"{{HotelId}}",
- "passerBySale"
- ]
- }
- },
- "response": []
- },
- {
- "name": "post Credit Bill",
- "request": {
- "auth": {
- "type": "bearer",
- "bearer": [
- {
- "key": "token",
- "value": "{{Token}}",
- "type": "string"
- }
+ "reservations",
+ "{{reservationId}}",
+ "depositPayments"
]
},
- "method": "POST",
- "header": [
- {
- "key": "Content-Type",
- "value": "application/json",
- "type": "text"
- },
- {
- "key": "x-hotelid",
- "value": "{{HotelId}}",
- "type": "text"
- },
- {
- "key": "x-app-key",
- "value": "{{AppKey}}",
- "type": "text"
- },
- {
- "key": "x-externalsystem",
- "value": "{{ExternalSystemCode}}",
- "type": "text"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": "{\r\n \"criteria\": {\r\n \"originalFolio\": {\r\n \"folioNo\": \"2178\",\r\n \"folioTypeName\": \"FOLIO\",\r\n \"internalFolioWindowID\": \"1944499\",\r\n \"folioDate\": \"2023-11-15\"\r\n },\r\n \"fullCredit\": true,\r\n \"payments\": [\r\n {\r\n \"paymentMethod\": {\r\n \"paymentMethod\": \"CA\",\r\n \"folioView\": \"1\"\r\n },\r\n \"postingAmount\": {\r\n \"amount\": \"-11.77\",\r\n \"currencyCode\": \"EUR\"\r\n },\r\n \"folioWindowNo\": \"1\"\r\n }\r\n ], \r\n \"cashierId\": {{CashierId}},\r\n \"hotelId\": \"{{HotelId}}\",\r\n \"charges\": [\r\n {\r\n \"transactionCode\": \"1000\",\r\n \"price\": {\r\n \"amount\": \"-11\",\r\n \"currencyCode\": \"EUR\"\r\n },\r\n \"postingQuantity\": 1,\r\n \"postingReference\": \" \",\r\n \"folioWindowNo\": \"1\"\r\n }\r\n ]\r\n }\r\n}"
- },
- "url": {
- "raw": "{{HostName}}/csh/v1/hotels/{{HotelId}}/creditBill",
- "host": [
- "{{HostName}}"
- ],
- "path": [
- "csh",
- "v1",
- "hotels",
- "{{HotelId}}",
- "creditBill"
- ]
- }
+ "description": "Fetch the matured Deposit Payments associated to a reservation."
},
"response": []
},
{
- "name": "generate Folio",
+ "name": "get Comp Routing Instructions",
"request": {
"auth": {
"type": "bearer",
@@ -11181,7 +12868,7 @@
}
]
},
- "method": "POST",
+ "method": "GET",
"header": [
{
"key": "Content-Type",
@@ -11189,70 +12876,7 @@
"type": "text"
},
{
- "key": "x-hotelid",
- "value": "{{HotelId}}",
- "type": "text"
- },
- {
- "key": "x-app-key",
- "value": "{{AppKey}}",
- "type": "text"
- },
- {
- "key": "x-externalsystem",
- "value": "{{ExternalSystemCode}}",
- "type": "text"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": "{\n \"criteria\": {\n \"reservationId\": {\n \"idContext\": \"OPERA\",\n \"id\": {{ReservationId}},\n \"type\": \"Reservation\"\n },\n \"profileId\": {\n \"idContext\": \"OPERA\",\n \"id\": {{ProfileId}},\n \"type\": \"Profile\"\n },\n \"fiscalFolioInstruction\": \"New\",\n \"allFolioWindow\": false,\n \"folioQueue\": {\n \"generateFiscalFolio\": false\n },\n \"cashierId\": {{CashierId}},\n \"hotelId\": \"{{HotelId}}\",\n \"eventType\": \"CheckOut\",\n \"folioWindowNo\": 1,\n \"correction\": false,\n \"debitFolio\": false\n }\n}"
- },
- "url": {
- "raw": "{{HostName}}/csh/v1/hotels/{{HotelId}}/reservations/{{ReservationId}}/folios",
- "host": [
- "{{HostName}}"
- ],
- "path": [
- "csh",
- "v1",
- "hotels",
- "{{HotelId}}",
- "reservations",
- "{{ReservationId}}",
- "folios"
- ]
- }
- },
- "response": []
- },
- {
- "name": "get Folio",
- "protocolProfileBehavior": {
- "disableBodyPruning": true,
- "disableUrlEncoding": false
- },
- "request": {
- "auth": {
- "type": "bearer",
- "bearer": [
- {
- "key": "token",
- "value": "{{Token}}",
- "type": "string"
- }
- ]
- },
- "method": "GET",
- "header": [
- {
- "key": "Content-Type",
- "name": "Content-Type",
- "type": "text",
- "value": "application/json"
- },
- {
- "key": "x-hotelid",
+ "key": "x-hotelId",
"value": "{{HotelId}}",
"type": "text"
},
@@ -11260,24 +12884,10 @@
"key": "x-app-key",
"value": "{{AppKey}}",
"type": "text"
- },
- {
- "key": "x-externalsystem",
- "value": "{{ExternalSystemCode}}",
- "type": "text"
}
],
- "body": {
- "mode": "raw",
- "raw": "",
- "options": {
- "raw": {
- "language": "json"
- }
- }
- },
"url": {
- "raw": "{{HostName}}/csh/v1/hotels/{{HotelId}}/reservations/{{ReservationId}}/folios?folioWindowNo=1&limit=50&fetchInstructions=Postings&fetchInstructions=Totalbalance",
+ "raw": "{{HostName}}/csh/v1/hotels/{{HotelId}}/compRoutingInstructions?end=2024-01-30&start=2024-01-29",
"host": [
"{{HostName}}"
],
@@ -11286,82 +12896,87 @@
"v1",
"hotels",
"{{HotelId}}",
- "reservations",
- "{{ReservationId}}",
- "folios"
+ "compRoutingInstructions"
],
"query": [
{
- "key": "folioWindowNo",
- "value": "1"
+ "key": "end",
+ "value": "2024-01-30"
},
{
- "key": "limit",
- "value": "50"
+ "key": "start",
+ "value": "2024-01-29"
},
{
- "key": "fetchInstructions",
- "value": "Account",
+ "key": "nameWildcard",
+ "value": "",
"disabled": true
},
{
- "key": "fetchInstructions",
- "value": "Postings"
+ "key": "firstNameWildCard",
+ "value": "",
+ "disabled": true
},
{
- "key": "fetchInstructions",
- "value": "Totalbalance"
+ "key": "roomNumberCodes",
+ "value": "",
+ "disabled": true
},
{
- "key": "fetchInstructions",
- "value": "Transactioncodes",
+ "key": "id",
+ "value": "",
"disabled": true
},
{
- "key": "fetchInstructions",
- "value": "Windowbalances",
+ "key": "idContext",
+ "value": "",
"disabled": true
},
{
- "key": "fetchInstructions",
- "value": "Payment",
+ "key": "type",
+ "value": "",
"disabled": true
},
{
- "key": "fetchInstructions",
- "value": "Reservation",
+ "key": "membershipId",
+ "value": "",
"disabled": true
},
{
- "key": "fetchInstructions",
- "value": "Payee",
+ "key": "code",
+ "value": "",
"disabled": true
},
{
- "key": "guestPayOnly",
- "value": "Y",
+ "key": "resStatusCode",
+ "value": "",
+ "description": "Reserved , Requested , NoShow , Cancelled , InHouse , CheckedOut , Waitlisted , DueIn , DueOut , Walkin , PendingCheckout",
"disabled": true
},
{
- "key": "reservationBalanceOnly",
- "value": "false",
+ "key": "compRoutingStatuses",
+ "value": "",
+ "description": "Request , Comp , Declined",
"disabled": true
},
{
- "key": "includeFolioHistory",
- "value": "false",
+ "key": "",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "",
+ "value": "",
"disabled": true
}
]
- }
+ },
+ "description": "Fetch the property Comp Routing Instructions. Start and End dates are required."
},
"response": []
},
{
- "name": "get Folio Types",
- "protocolProfileBehavior": {
- "disableBodyPruning": true
- },
+ "name": "get Advance Payment Balance",
"request": {
"auth": {
"type": "bearer",
@@ -11381,7 +12996,7 @@
"type": "text"
},
{
- "key": "x-hotelid",
+ "key": "x-hotelId",
"value": "{{HotelId}}",
"type": "text"
},
@@ -11389,24 +13004,10 @@
"key": "x-app-key",
"value": "{{AppKey}}",
"type": "text"
- },
- {
- "key": "x-externalsystem",
- "value": "{{ExternalSystemCode}}",
- "type": "text"
}
],
- "body": {
- "mode": "raw",
- "raw": "",
- "options": {
- "raw": {
- "language": "json"
- }
- }
- },
"url": {
- "raw": "{{HostName}}/csh/v1/hotels/{{HotelId}}/folioTypes",
+ "raw": "{{HostName}}/csh/v1/hotels/{{HotelId}}/reservations/{{reservationId}}/advancePaymentBalance?type=Reservation&numberOfNights={{numberOfNights}}",
"host": [
"{{HostName}}"
],
@@ -11415,76 +13016,33 @@
"v1",
"hotels",
"{{HotelId}}",
- "folioTypes"
+ "reservations",
+ "{{reservationId}}",
+ "advancePaymentBalance"
],
"query": [
{
- "key": "fetchInactive",
- "value": "true",
- "disabled": true
- }
- ]
- }
- },
- "response": []
- },
- {
- "name": "get Deposit Folio",
- "request": {
- "method": "GET",
- "header": [
- {
- "key": "Content-Type",
- "value": "application/json"
- },
- {
- "key": "x-hotelid",
- "value": "{{HotelId}}"
- },
- {
- "key": "x-app-key",
- "value": "{{AppKey}}"
- },
- {
- "key": "Authorization",
- "value": "Bearer {{Token}}"
- },
- {
- "key": "x-externalsystem",
- "value": "{{ExternalSystemCode}}"
- }
- ],
- "url": {
- "raw": "{{HostName}}/csh/v1/hotels/{{HotelId}}/depositFolio?fetchInstructions=ProjectedRevenue&id={{ReservationId}}",
- "host": [
- "{{HostName}}"
- ],
- "path": [
- "csh",
- "v1",
- "hotels",
- "{{HotelId}}",
- "depositFolio"
- ],
- "query": [
+ "key": "type",
+ "value": "Reservation"
+ },
{
- "key": "fetchInstructions",
- "value": "ProjectedRevenue"
+ "key": "numberOfNights",
+ "value": "{{numberOfNights}}"
},
{
- "key": "id",
- "value": "{{ReservationId}}"
+ "key": "eventType",
+ "value": null,
+ "description": "AdvanceBill , Deposit , CheckIn",
+ "disabled": true
}
]
- }
+ },
+ "description": "1. API returns the amount based on numberOfNights parameter value.\n \n2. API always returns zero if numberOfNights parameter not included.\n \n3. type value is required to provide as 'Reservation'"
},
"response": []
},
{
- "name": "get Deposit Folio Transaction Details",
- "protocolProfileBehavior": {
- "disableBodyPruning": true
- },
+ "name": "get Billing (Routing) Instruction Codes",
"request": {
"auth": {
"type": "bearer",
@@ -11504,7 +13062,7 @@
"type": "text"
},
{
- "key": "x-hotelid",
+ "key": "x-hotelId",
"value": "{{HotelId}}",
"type": "text"
},
@@ -11512,24 +13070,10 @@
"key": "x-app-key",
"value": "{{AppKey}}",
"type": "text"
- },
- {
- "key": "x-externalsystem",
- "value": "{{ExternalSystemCode}}",
- "type": "text"
}
],
- "body": {
- "mode": "raw",
- "raw": "",
- "options": {
- "raw": {
- "language": "json"
- }
- }
- },
"url": {
- "raw": "{{HostName}}/csh/v1/hotels/{{HotelId}}/depositTransactions?includeGenerates=true&transactionNo={{transactionNo}}",
+ "raw": "{{HostName}}/csh/v1/hotels/{{HotelId}}/routingInstructionCodes?includeTransactionCodes=true&includeBillingInstructions=true&includeCompInstructions=true&type=Reservation",
"host": [
"{{HostName}}"
],
@@ -11538,27 +13082,38 @@
"v1",
"hotels",
"{{HotelId}}",
- "depositTransactions"
+ "routingInstructionCodes"
],
"query": [
{
- "key": "includeGenerates",
+ "key": "includeTransactionCodes",
"value": "true"
},
{
- "key": "transactionNo",
- "value": "{{transactionNo}}"
+ "key": "includeBillingInstructions",
+ "value": "true"
+ },
+ {
+ "key": "includeCompInstructions",
+ "value": "true"
+ },
+ {
+ "key": "idContext",
+ "value": "OPERA",
+ "disabled": true
+ },
+ {
+ "key": "type",
+ "value": "Reservation"
}
]
- }
+ },
+ "description": "1. type is required to provide as 'Reservation'.\n2. IncludeCompInstructions param value is true, the API returns only comp transaction codes and comp billin instrucations.\n \n3. Include CompInstructions param value is false, the API retunrns the transaction codes and billing instructions excluding comp transactions."
},
"response": []
},
{
- "name": "get Deposit Folio Transaction Details -> includeGenerates = false",
- "protocolProfileBehavior": {
- "disableBodyPruning": true
- },
+ "name": "get Authorization History",
"request": {
"auth": {
"type": "bearer",
@@ -11578,7 +13133,7 @@
"type": "text"
},
{
- "key": "x-hotelid",
+ "key": "x-hotelId",
"value": "{{HotelId}}",
"type": "text"
},
@@ -11586,24 +13141,10 @@
"key": "x-app-key",
"value": "{{AppKey}}",
"type": "text"
- },
- {
- "key": "x-externalsystem",
- "value": "{{ExternalSystemCode}}",
- "type": "text"
}
],
- "body": {
- "mode": "raw",
- "raw": "",
- "options": {
- "raw": {
- "language": "json"
- }
- }
- },
"url": {
- "raw": "{{HostName}}/csh/v1/hotels/{{HotelId}}/depositTransactions?includeGenerates=false&transactionNo={{transactionNo}}",
+ "raw": "{{HostName}}/csh/v1/hotels/{{HotelId}}/reservations/{{reservationId}}/authorizationHistory?includeRefunds=true&includeFailures=false&includePayments=true&folioView=1&type=Reservation&includeAuthorizations=false",
"host": [
"{{HostName}}"
],
@@ -11612,24 +13153,43 @@
"v1",
"hotels",
"{{HotelId}}",
- "depositTransactions"
+ "reservations",
+ "{{reservationId}}",
+ "authorizationHistory"
],
"query": [
{
- "key": "includeGenerates",
+ "key": "includeRefunds",
+ "value": "true"
+ },
+ {
+ "key": "includeFailures",
"value": "false"
},
{
- "key": "transactionNo",
- "value": "{{transactionNo}}"
+ "key": "includePayments",
+ "value": "true"
+ },
+ {
+ "key": "folioView",
+ "value": "1"
+ },
+ {
+ "key": "type",
+ "value": "Reservation"
+ },
+ {
+ "key": "includeAuthorizations",
+ "value": "false"
}
]
- }
+ },
+ "description": "Fetch any credit card authorization information associated to a reservation."
},
"response": []
},
{
- "name": "get Folio History",
+ "name": "get Cashier Closure Info",
"request": {
"auth": {
"type": "bearer",
@@ -11649,7 +13209,7 @@
"type": "text"
},
{
- "key": "x-hotelid",
+ "key": "x-hotelId",
"value": "{{HotelId}}",
"type": "text"
},
@@ -11657,15 +13217,10 @@
"key": "x-app-key",
"value": "{{AppKey}}",
"type": "text"
- },
- {
- "key": "x-externalsystem",
- "value": "{{ExternalSystemCode}}",
- "type": "text"
}
],
"url": {
- "raw": "{{HostName}}/csh/v1/hotels/{{HotelId}}/folioHistory?folioDate={{FolioDate}}",
+ "raw": "{{HostName}}/csh/v1/hotels/{{HotelId}}/closureList?cashierId=1&closureBusinessDate=2023-12-25",
"host": [
"{{HostName}}"
],
@@ -11674,20 +13229,45 @@
"v1",
"hotels",
"{{HotelId}}",
- "folioHistory"
+ "closureList"
],
"query": [
{
- "key": "folioDate",
- "value": "{{FolioDate}}"
+ "key": "closureNo",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "cashierId",
+ "value": "1"
+ },
+ {
+ "key": "shiftDropLocationCode",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "bagNumberForOthers",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "bagNumberForCash",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "closureBusinessDate",
+ "value": "2023-12-25"
}
]
- }
+ },
+ "description": "Fetches cashier closure informatin. Use either Cashier iD or openDate or closeDate parameter to fetch the results."
},
"response": []
},
{
- "name": "Get Folio Transaction Details",
+ "name": "get Cashier Transactions",
"request": {
"auth": {
"type": "bearer",
@@ -11707,7 +13287,7 @@
"type": "text"
},
{
- "key": "x-hotelid",
+ "key": "x-hotelId",
"value": "{{HotelId}}",
"type": "text"
},
@@ -11715,41 +13295,48 @@
"key": "x-app-key",
"value": "{{AppKey}}",
"type": "text"
- },
- {
- "key": "x-externalsystem",
- "value": "{{ExternalSystemCode}}",
- "type": "text"
}
],
"url": {
- "raw": "{{HostName}}/csh/v1/hotels/{{HotelId}}/transactionDetails?transactionNo={{transactionNo}}&includeGenerates=true",
+ "raw": "{{HostName}}/csh/v1/cashiers/{{cashierId}}/transactions?closureNo={{closureNo}}",
"host": [
"{{HostName}}"
],
"path": [
"csh",
"v1",
- "hotels",
- "{{HotelId}}",
- "transactionDetails"
+ "cashiers",
+ "{{cashierId}}",
+ "transactions"
],
"query": [
{
- "key": "transactionNo",
- "value": "{{transactionNo}}"
+ "key": "closureNo",
+ "value": "{{closureNo}}"
},
{
- "key": "includeGenerates",
- "value": "true"
+ "key": "shiftDropLocationCode",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "bagNumberForOthers",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "bagNumberForCash",
+ "value": "",
+ "disabled": true
}
]
- }
+ },
+ "description": "1. Fetches cashier transactions.\n \n2. closureNo parameter value is required.\n \n3. Get the closureNo from the get Cashier Closure Info Service."
},
"response": []
},
{
- "name": "get Folio Type Name",
+ "name": "get Check Details",
"request": {
"auth": {
"type": "bearer",
@@ -11764,28 +13351,72 @@
"method": "GET",
"header": [
{
- "key": "x-externalsystem",
- "value": "{{ExternalSystemCode}}",
+ "key": "Content-Type",
+ "value": "application/json",
+ "type": "text"
+ },
+ {
+ "key": "x-hotelId",
+ "value": "{{HotelId}}",
"type": "text"
},
{
"key": "x-app-key",
"value": "{{AppKey}}",
"type": "text"
+ }
+ ],
+ "url": {
+ "raw": "{{HostName}}/csh/v1/hotels/{{HotelId}}/check/{{checkNumber}}",
+ "host": [
+ "{{HostName}}"
+ ],
+ "path": [
+ "csh",
+ "v1",
+ "hotels",
+ "{{HotelId}}",
+ "check",
+ "{{checkNumber}}"
+ ]
+ },
+ "description": "Fetches specific check details when provided by the integrated Point of Sale System. Response can be in text format or base64."
+ },
+ "response": []
+ },
+ {
+ "name": "get Deposit Folio",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "{{Token}}",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "GET",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "type": "text"
},
{
- "key": "x-hotelid",
+ "key": "x-hotelId",
"value": "{{HotelId}}",
"type": "text"
},
{
- "key": "x-externalsystem",
- "value": "{{ExternalSystemCode}}",
+ "key": "x-app-key",
+ "value": "{{AppKey}}",
"type": "text"
}
],
"url": {
- "raw": "{{HostName}}/csh/v1/hotels/{{HotelId}}/folioTypeNames",
+ "raw": "{{HostName}}/csh/v1/hotels/{{HotelId}}/depositFolio?id={{reservationId}}&fetchInstructions=ProjectedRevenue",
"host": [
"{{HostName}}"
],
@@ -11794,17 +13425,25 @@
"v1",
"hotels",
"{{HotelId}}",
- "folioTypeNames"
+ "depositFolio"
+ ],
+ "query": [
+ {
+ "key": "id",
+ "value": "{{reservationId}}"
+ },
+ {
+ "key": "fetchInstructions",
+ "value": "ProjectedRevenue"
+ }
]
- }
+ },
+ "description": "1. Fetches the deposit folio data.\n \n2. provide the ReservationNameID for the id paramter, which is mandatory to get the deposit folio details.\n \n3. fetchInstrucation parameter is required to get the projected revenue details."
},
"response": []
},
{
- "name": "get Folio Printers",
- "protocolProfileBehavior": {
- "disableBodyPruning": true
- },
+ "name": "get Deposit Folio Transaction Details",
"request": {
"auth": {
"type": "bearer",
@@ -11824,7 +13463,7 @@
"type": "text"
},
{
- "key": "x-hotelid",
+ "key": "x-hotelId",
"value": "{{HotelId}}",
"type": "text"
},
@@ -11832,24 +13471,63 @@
"key": "x-app-key",
"value": "{{AppKey}}",
"type": "text"
+ }
+ ],
+ "url": {
+ "raw": "{{HostName}}/csh/v1/hotels/{{HotelId}}/depositTransactions?includeGenerates=false&transactionNo={{transactionNo}}",
+ "host": [
+ "{{HostName}}"
+ ],
+ "path": [
+ "csh",
+ "v1",
+ "hotels",
+ "{{HotelId}}",
+ "depositTransactions"
+ ],
+ "query": [
+ {
+ "key": "includeGenerates",
+ "value": "false"
+ },
+ {
+ "key": "transactionNo",
+ "value": "{{transactionNo}}"
+ }
+ ]
+ },
+ "description": "1. transactionNo parameter is Mandatory to fetch the Deposit Folio Transaction details.\n \n2. You can get the transaction number from the get Deposit folio service."
+ },
+ "response": []
+ },
+ {
+ "name": "get Deposit Maturity Info",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "{{Token}}",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "GET",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "type": "text"
},
{
- "key": "x-externalsystem",
- "value": "{{ExternalSystemCode}}",
+ "key": "x-hotelId",
+ "value": "{{HotelId}}",
"type": "text"
}
],
- "body": {
- "mode": "raw",
- "raw": "",
- "options": {
- "raw": {
- "language": "json"
- }
- }
- },
"url": {
- "raw": "{{HostName}}/csh/v1/hotels/{{HotelId}}/folioPrinters",
+ "raw": "{{HostName}}/csh/v1/hotels/{{HotelId}}/reservations/{{reservationId}}/depositMaturity",
"host": [
"{{HostName}}"
],
@@ -11858,1399 +13536,3064 @@
"v1",
"hotels",
"{{HotelId}}",
- "folioPrinters"
+ "reservations",
+ "{{reservationId}}",
+ "depositMaturity"
+ ],
+ "query": [
+ {
+ "key": "cashierId",
+ "value": "{{cashierId}}",
+ "disabled": true
+ },
+ {
+ "key": "type",
+ "value": "Reservation",
+ "disabled": true
+ }
]
},
- "description": "A"
+ "description": "1. API returns Deposit Maturity details for an Arrival reservations with the deposit maturity type information."
},
"response": []
- }
- ],
- "description": "###### APIs to cater for Cashiering related functionality in OPERA Cloud.\r\n\r\nCashiering provides access to a guest folio, posting journals, receipt histories, currency calculations, credit card settlements, and check a guest out.\r\n\r\nFor further detailed information on Cashiering, please refer to OPERA Cloud Services User Guide located [here](https://docs.oracle.com/cd/F18689_01/doc.193/f23597/c_cashiering_finance.htm#OCSUH-CashieringAndFinance-6AA33E56).",
- "event": [
- {
- "listen": "prerequest",
- "script": {
- "type": "text/javascript",
- "exec": [
- ""
- ]
- }
},
{
- "listen": "test",
- "script": {
- "type": "text/javascript",
- "exec": [
- ""
- ]
- }
- }
- ]
- },
- {
- "name": "Channel Configuration (CHL)",
- "item": [
- {
- "name": "Amenities Mapping",
- "item": [
- {
- "name": "get Amenities Mapping",
- "protocolProfileBehavior": {
- "disableBodyPruning": true
+ "name": "get Financial Postings",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "{{Token}}",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "GET",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "type": "text"
},
- "request": {
- "auth": {
- "type": "bearer",
- "bearer": [
- {
- "key": "token",
- "value": "{{Token}}",
- "type": "string"
- },
- {
- "key": "undefined",
- "type": "any"
- }
- ]
+ {
+ "key": "x-hotelId",
+ "value": "{{HotelId}}",
+ "type": "text"
+ },
+ {
+ "key": "x-app-key",
+ "value": "{{AppKey}}",
+ "type": "text"
+ }
+ ],
+ "url": {
+ "raw": "{{HostName}}/csh/v1/hotels/{{HotelId}}/financialPostings?limit=1000&offset=1&approvalStatusCode=A&approvalStatusCode=S&approvalStatusCode=D&startDate=2023-01-24&endDate=2023-03-15",
+ "host": [
+ "{{HostName}}"
+ ],
+ "path": [
+ "csh",
+ "v1",
+ "hotels",
+ "{{HotelId}}",
+ "financialPostings"
+ ],
+ "query": [
+ {
+ "key": "cashierId",
+ "value": "{{cashierId}",
+ "disabled": true
},
- "method": "GET",
- "header": [
- {
- "key": "Content-Type",
- "name": "Content-Type",
- "type": "text",
- "value": "application/json"
- },
- {
- "key": "x-hotelid",
- "type": "text",
- "value": "{{HotelId}}"
- },
- {
- "key": "x-app-key",
- "type": "text",
- "value": "{{AppKey}}"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": "",
- "options": {
- "raw": {
- "language": "json"
- }
- }
+ {
+ "key": "limit",
+ "value": "1000"
},
- "url": {
- "raw": "{{HostName}}/chl/v1/channels/amenities/mapping",
- "host": [
- "{{HostName}}"
- ],
- "path": [
- "chl",
- "v1",
- "channels",
- "amenities",
- "mapping"
- ]
- }
- },
- "response": []
- },
- {
- "name": "post Amenities Mapping",
- "request": {
- "auth": {
- "type": "bearer",
- "bearer": [
- {
- "key": "token",
- "value": "{{Token}}",
- "type": "string"
- },
- {
- "key": "undefined",
- "type": "any"
- }
- ]
+ {
+ "key": "offset",
+ "value": "1"
},
- "method": "POST",
- "header": [
- {
- "key": "Content-Type",
- "name": "Content-Type",
- "type": "text",
- "value": "application/json"
- },
- {
- "key": "x-hotelid",
- "type": "text",
- "value": "{{HotelId}}"
- },
- {
- "key": "x-app-key",
- "type": "text",
- "value": "{{AppKey}}"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": "{\r\n \"amenities\": [\r\n {\r\n \"amenityGroup\": \"ProductsFeatures\",\r\n \"systemInfo\": {\r\n \"systemCode\": \"WH\",\r\n \"systemType\": \"CHANNEL\"\r\n },\r\n \"localSystemCode\": \"100\",\r\n \"externalSystemCode\": \"FITNESS\",\r\n \"description\": \"Description\"\r\n }\r\n ]\r\n}",
- "options": {
- "raw": {
- "language": "json"
- }
- }
+ {
+ "key": "approvalStatusCode",
+ "value": "A"
},
- "url": {
- "raw": "{{HostName}}/chl/v1/channels/amenities",
- "host": [
- "{{HostName}}"
- ],
- "path": [
- "chl",
- "v1",
- "channels",
- "amenities"
- ]
- }
- },
- "response": []
- },
- {
- "name": "put Amenities Mapping",
- "request": {
- "auth": {
- "type": "bearer",
- "bearer": [
- {
- "key": "token",
- "value": "{{Token}}",
- "type": "string"
- },
- {
- "key": "undefined",
- "type": "any"
- }
- ]
+ {
+ "key": "approvalStatusCode",
+ "value": "S"
},
- "method": "PUT",
- "header": [
- {
- "key": "Content-Type",
- "name": "Content-Type",
- "type": "text",
- "value": "application/json"
- },
- {
- "key": "x-hotelid",
- "type": "text",
- "value": "{{HotelId}}"
- },
- {
- "key": "x-app-key",
- "type": "text",
- "value": "{{AppKey}}"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": "{\r\n \"amenities\": [\r\n {\r\n \"amenityGroup\": \"ProductsFeatures\",\r\n \"systemInfo\": {\r\n \"systemCode\": \"WH\",\r\n \"systemType\": \"CHANNEL\"\r\n },\r\n \"localSystemCode\": \"100\",\r\n \"externalSystemCode\": \"FITNESS\",\r\n \"description\": \"Description\"\r\n }\r\n ]\r\n}",
- "options": {
- "raw": {
- "language": "json"
- }
- }
+ {
+ "key": "approvalStatusCode",
+ "value": "D"
},
- "url": {
- "raw": "{{HostName}}/chl/v1/channels/amenities",
- "host": [
- "{{HostName}}"
- ],
- "path": [
- "chl",
- "v1",
- "channels",
- "amenities"
- ]
+ {
+ "key": "startDate",
+ "value": "2023-01-24"
+ },
+ {
+ "key": "endDate",
+ "value": "2023-03-15"
}
- },
- "response": []
+ ]
},
- {
- "name": "delete Amenities Mapping",
- "request": {
- "auth": {
- "type": "bearer",
- "bearer": [
- {
- "key": "token",
- "value": "{{Token}}",
- "type": "string"
- },
- {
- "key": "undefined",
- "type": "any"
- }
- ]
+ "description": "1. API returns only the past 31 days transactions.\n \n2. You need to pass the specific time frame, if you want to fetch the data past to 31 days."
+ },
+ "response": []
+ },
+ {
+ "name": "get Financial Postings Net Vat",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "{{Token}}",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "GET",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "type": "text"
+ },
+ {
+ "key": "x-hotelId",
+ "value": "{{HotelId}}",
+ "type": "text"
+ },
+ {
+ "key": "x-app-key",
+ "value": "{{AppKey}}",
+ "type": "text"
+ }
+ ],
+ "url": {
+ "raw": "{{HostName}}/csh/v1/hotels/{{HotelId}}/financialPostingsNetVat?reservationId={{ReservationId}}&folioWindowNo=1&startDate=YYYY-MM-DD&endDate=YYYY-MM-DD&limit=200&offset=0",
+ "host": [
+ "{{HostName}}"
+ ],
+ "path": [
+ "csh",
+ "v1",
+ "hotels",
+ "{{HotelId}}",
+ "financialPostingsNetVat"
+ ],
+ "query": [
+ {
+ "key": "reservationId",
+ "value": "{{ReservationId}}",
+ "description": "mandatory"
},
- "method": "DELETE",
- "header": [
- {
- "key": "Content-Type",
- "name": "Content-Type",
- "type": "text",
- "value": "application/json"
- },
- {
- "key": "x-hotelid",
- "type": "text",
- "value": "{{HotelId}}"
- },
- {
- "key": "x-app-key",
- "type": "text",
- "value": "{{AppKey}}"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": "",
- "options": {
- "raw": {
- "language": "json"
- }
- }
+ {
+ "key": "folioWindowNo",
+ "value": "1",
+ "description": "mandatory"
},
- "url": {
- "raw": "{{HostName}}/chl/v1/channels/amenities?amenityGroup=RoomFeatures&systemSubType=WEB&systemName=Website Channel&systemCode=DOC&systemType=CHANNEL&externalSystemCode=DOC&description=Website Channel&localSystemCode=100",
- "host": [
- "{{HostName}}"
- ],
- "path": [
- "chl",
- "v1",
- "channels",
- "amenities"
- ],
- "query": [
- {
- "key": "amenityGroup",
- "value": "RoomFeatures"
- },
- {
- "key": "systemSubType",
- "value": "WEB"
- },
- {
- "key": "systemName",
- "value": "Website Channel"
- },
- {
- "key": "systemCode",
- "value": "DOC"
- },
- {
- "key": "systemType",
- "value": "CHANNEL"
- },
- {
- "key": "externalSystemCode",
- "value": "DOC"
- },
- {
- "key": "description",
- "value": "Website Channel"
- },
- {
- "key": "localSystemCode",
- "value": "100"
- }
- ]
+ {
+ "key": "startDate",
+ "value": "YYYY-MM-DD"
+ },
+ {
+ "key": "endDate",
+ "value": "YYYY-MM-DD"
+ },
+ {
+ "key": "limit",
+ "value": "200"
+ },
+ {
+ "key": "offset",
+ "value": "0"
}
- },
- "response": []
- }
- ]
+ ]
+ },
+ "description": "Fetch the Financial Postings with Net and Vat included in the response. Limited to 31 days if startDate/endDate is not used. Included with OPERA version 22.4.0.0 and higher."
+ },
+ "response": []
},
{
- "name": "Channels (post/put/delete/get)",
- "item": [
- {
- "name": "get Channel",
- "protocolProfileBehavior": {
- "disableBodyPruning": true
+ "name": "get Fiscal Printing Details",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "{{Token}}",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "GET",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "type": "text"
},
- "request": {
- "auth": {
- "type": "bearer",
- "bearer": [
- {
- "key": "undefined",
- "type": "any"
- }
- ]
+ {
+ "key": "x-hotelid",
+ "value": "{{HotelId}}",
+ "type": "text"
+ },
+ {
+ "key": "x-app-key",
+ "value": "{{AppKey}}",
+ "type": "text"
+ },
+ {
+ "key": "x-externalsystem",
+ "value": "{{ExtSystem}",
+ "type": "text"
+ }
+ ],
+ "url": {
+ "raw": "{{HostName}}/csh/v1/hotels/{{HotelId}}/fiscalPrinting?folioView={{FolioViewNo}}",
+ "host": [
+ "{{HostName}}"
+ ],
+ "path": [
+ "csh",
+ "v1",
+ "hotels",
+ "{{HotelId}}",
+ "fiscalPrinting"
+ ],
+ "query": [
+ {
+ "key": "folioType",
+ "value": "",
+ "description": "Folio Type",
+ "disabled": true
},
- "method": "GET",
- "header": [
- {
- "key": "Content-Type",
- "name": "Content-Type",
- "type": "text",
- "value": "application/json"
- },
- {
- "key": "x-hotelid",
- "type": "text",
- "value": "{{HotelId}}"
- },
- {
- "key": "x-app-key",
- "type": "text",
- "value": "{{AppKey}}"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": "",
- "options": {
- "raw": {
- "language": "json"
- }
- }
+ {
+ "key": "id",
+ "value": "",
+ "description": "A unique identifying value assigned by the creating system. The ID attribute may be used to reference a primary-key value within a database or in a particular implementation.",
+ "disabled": true
},
- "url": {
- "raw": "{{HostName}}/chl/v1/channels/{{ChannelCode}}",
- "host": [
- "{{HostName}}"
- ],
- "path": [
- "chl",
- "v1",
- "channels",
- "{{ChannelCode}}"
- ]
- }
- },
- "response": []
- },
- {
- "name": "post Channels",
- "request": {
- "auth": {
- "type": "bearer",
- "bearer": [
- {
- "key": "undefined",
- "type": "any"
- }
- ]
+ {
+ "key": "code",
+ "value": "",
+ "disabled": true
},
- "method": "POST",
- "header": [
- {
- "key": "Content-Type",
- "name": "Content-Type",
- "type": "text",
- "value": "application/json"
- },
- {
- "key": "x-hotelid",
- "type": "text",
- "value": "{{HotelId}}"
- },
- {
- "key": "x-app-key",
- "type": "text",
- "value": "{{AppKey}}"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": "{\r\n \"channels\": [\r\n {\r\n \"systemInfo\": {\r\n \"systemName\": \"NEW CHANNEL\",\r\n \"systemCode\": \"DOC\",\r\n \"systemSubType\": \"WEB\",\r\n \"inactive\": false\r\n },\r\n \"sellBy\": \"RATEROOM\"\r\n }\r\n ]\r\n}",
- "options": {
- "raw": {
- "language": "json"
- }
- }
+ {
+ "key": "code",
+ "value": "",
+ "disabled": true
},
- "url": {
- "raw": "{{HostName}}/chl/v1/channels",
- "host": [
- "{{HostName}}"
- ],
- "path": [
- "chl",
- "v1",
- "channels"
- ]
- }
- },
- "response": []
- },
- {
- "name": "put Channels",
- "request": {
- "auth": {
- "type": "bearer",
- "bearer": [
- {
- "key": "undefined",
- "type": "any"
- }
- ]
+ {
+ "key": "fetchInstruction",
+ "value": "Profile",
+ "description": "Reservation Related information.",
+ "disabled": true
},
- "method": "PUT",
- "header": [
- {
- "key": "Content-Type",
- "name": "Content-Type",
- "type": "text",
- "value": "application/json"
- },
- {
- "key": "x-hotelid",
- "type": "text",
- "value": "{{HotelId}}"
- },
- {
- "key": "x-app-key",
- "type": "text",
- "value": "{{AppKey}}"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": "{\r\n \"channels\": [\r\n {\r\n \"systemInfo\": {\r\n \"systemName\": \"NEW CHANNEL\",\r\n \"systemCode\": \"DOC\",\r\n \"systemSubType\": \"WEB\",\r\n \"inactive\": false\r\n },\r\n \"sellBy\": \"RATEROOM\"\r\n }\r\n ]\r\n}",
- "options": {
- "raw": {
- "language": "json"
- }
- }
+ {
+ "key": "fetchInstruction",
+ "value": "Paymentmethod",
+ "description": "Reservation Related information.",
+ "disabled": true
},
- "url": {
- "raw": "{{HostName}}/chl/v1/channels",
- "host": [
- "{{HostName}}"
- ],
- "path": [
- "chl",
- "v1",
- "channels"
- ]
+ {
+ "key": "profileIdId",
+ "value": "",
+ "description": "A unique identifying value assigned by the creating system. The ID attribute may be used to reference a primary-key value within a database or in a particular implementation.",
+ "disabled": true
+ },
+ {
+ "key": "fiscalServiceMode",
+ "value": "",
+ "description": "Mode when fiscal printing is called.",
+ "disabled": true
+ },
+ {
+ "key": "cashieringEventType",
+ "value": "DepositRefund",
+ "description": "Cashiering event triggered.",
+ "disabled": true
+ },
+ {
+ "key": "balance",
+ "value": "",
+ "description": "A monetary amount",
+ "disabled": true
+ },
+ {
+ "key": "queueName",
+ "value": "",
+ "description": "Folio Queue Name",
+ "disabled": true
+ },
+ {
+ "key": "debitFolio",
+ "value": "",
+ "description": "This flag indicates if the folio to be generated is a Debit Folio.",
+ "disabled": true
+ },
+ {
+ "key": "simpleFolio",
+ "value": "",
+ "description": "This flag indicates if the folio to be generated is a Simple Folio.",
+ "disabled": true
+ },
+ {
+ "key": "manualFolioNo",
+ "value": "",
+ "description": "User provided folio number.",
+ "disabled": true
+ },
+ {
+ "key": "folioView",
+ "value": "{{FolioViewNo}}"
}
- },
- "response": []
+ ]
},
- {
- "name": "get Channels",
- "protocolProfileBehavior": {
- "disableBodyPruning": true
+ "description": "You can use this API to get Fiscal Printing Details. OperationId:getValidateFiscalPrintingDetails
"
+ },
+ "response": []
+ },
+ {
+ "name": "get Folios",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "{{Token}}",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "GET",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "type": "text"
},
- "request": {
- "auth": {
- "type": "bearer",
- "bearer": [
- {
- "key": "undefined",
- "type": "any"
- }
- ]
+ {
+ "key": "x-hotelId",
+ "value": "{{HotelId}}",
+ "type": "text"
+ },
+ {
+ "key": "x-app-key",
+ "value": "{{AppKey}}",
+ "type": "text"
+ }
+ ],
+ "url": {
+ "raw": "{{HostName}}/csh/v1/hotels/{{HotelId}}/reservations/{{reservationId}}/folios?folioWindowNo={{folioWindowNo}}&limit=50&fetchInstructions=Postings&fetchInstructions=Totalbalance&fetchInstructions=Transactioncodes&fetchInstructions=Windowbalances",
+ "host": [
+ "{{HostName}}"
+ ],
+ "path": [
+ "csh",
+ "v1",
+ "hotels",
+ "{{HotelId}}",
+ "reservations",
+ "{{reservationId}}",
+ "folios"
+ ],
+ "query": [
+ {
+ "key": "folioWindowNo",
+ "value": "{{folioWindowNo}}"
},
- "method": "GET",
- "header": [
- {
- "key": "Content-Type",
- "name": "Content-Type",
- "type": "text",
- "value": "application/json"
- },
- {
- "key": "x-hotelid",
- "type": "text",
- "value": "{{HotelId}}"
- },
- {
- "key": "x-app-key",
- "type": "text",
- "value": "{{AppKey}}"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": "",
- "options": {
- "raw": {
- "language": "json"
- }
- }
+ {
+ "key": "limit",
+ "value": "50"
},
- "url": {
- "raw": "{{HostName}}/chl/v1/channels",
- "host": [
- "{{HostName}}"
- ],
- "path": [
- "chl",
- "v1",
- "channels"
- ]
+ {
+ "key": "fetchInstructions",
+ "value": "Postings"
+ },
+ {
+ "key": "fetchInstructions",
+ "value": "Totalbalance"
+ },
+ {
+ "key": "fetchInstructions",
+ "value": "Transactioncodes"
+ },
+ {
+ "key": "fetchInstructions",
+ "value": "Windowbalances"
}
- },
- "response": []
- }
- ]
+ ]
+ },
+ "description": "1. If you provide folioWIndowNo and limit parameters, transactioncodesInfo section provides the detailed information of transactions on the specified folio."
+ },
+ "response": []
},
{
- "name": "Channel Card Type Mapping",
- "item": [
- {
- "name": "get Channel Card Type Mappings",
- "protocolProfileBehavior": {
- "disableBodyPruning": true
+ "name": "get Folio History",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "{{Token}}",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "GET",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "type": "text"
},
- "request": {
- "auth": {
- "type": "bearer",
- "bearer": [
- {
- "key": "undefined",
- "type": "any"
- }
- ]
+ {
+ "key": "x-hotelId",
+ "value": "{{HotelId}}",
+ "type": "text"
+ },
+ {
+ "key": "x-app-key",
+ "value": "{{AppKey}}",
+ "type": "text"
+ }
+ ],
+ "url": {
+ "raw": "{{HostName}}/v1/hotels/{{HotelId}}/folioHistory?aR=false&videoCheckOut=false&passerBy=false&creditBill=false&noShow=false&name=&postIt=false&checkOut=true&offlineFolio=false&folioDate={{Date}}",
+ "host": [
+ "{{HostName}}"
+ ],
+ "path": [
+ "v1",
+ "hotels",
+ "{{HotelId}}",
+ "folioHistory"
+ ],
+ "query": [
+ {
+ "key": "aR",
+ "value": "false"
},
- "method": "GET",
- "header": [
- {
- "key": "Content-Type",
- "name": "Content-Type",
- "type": "text",
- "value": "application/json"
- },
- {
- "key": "x-hotelid",
- "type": "text",
- "value": "{{HotelId}}"
- },
- {
- "key": "x-app-key",
- "type": "text",
- "value": "{{AppKey}}"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": "",
- "options": {
- "raw": {
- "language": "json"
- }
- }
+ {
+ "key": "videoCheckOut",
+ "value": "false"
},
+ {
+ "key": "passerBy",
+ "value": "false"
+ },
+ {
+ "key": "creditBill",
+ "value": "false"
+ },
+ {
+ "key": "noShow",
+ "value": "false"
+ },
+ {
+ "key": "name",
+ "value": ""
+ },
+ {
+ "key": "postIt",
+ "value": "false"
+ },
+ {
+ "key": "checkOut",
+ "value": "true"
+ },
+ {
+ "key": "offlineFolio",
+ "value": "false"
+ },
+ {
+ "key": "folioDate",
+ "value": "{{Date}}"
+ }
+ ]
+ },
+ "description": "1. Enter folioDate in 'YYYY-MM-DD' format to get the results."
+ },
+ "response": []
+ },
+ {
+ "name": "get Folio Transaction Details",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "{{Token}}",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "GET",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "type": "text"
+ },
+ {
+ "key": "x-hotelId",
+ "value": "{{HotelId}}",
+ "type": "text"
+ },
+ {
+ "key": "x-app-key",
+ "value": "{{AppKey}}",
+ "type": "text"
+ }
+ ],
+ "url": {
+ "raw": "{{HostName}}/csh/v1/hotels/{{HotelId}}/transactionDetails?transactionNo={{transactionNo}}&includeGenerates=true",
+ "host": [
+ "{{HostName}}"
+ ],
+ "path": [
+ "csh",
+ "v1",
+ "hotels",
+ "{{HotelId}}",
+ "transactionDetails"
+ ],
+ "query": [
+ {
+ "key": "transactionNo",
+ "value": "{{transactionNo}}"
+ },
+ {
+ "key": "includeGenerates",
+ "value": "true"
+ }
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "name": "get Folios Types",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "{{Token}}",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "GET",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "type": "text"
+ },
+ {
+ "key": "x-hotelId",
+ "value": "{{HotelId}}",
+ "type": "text"
+ },
+ {
+ "key": "x-app-key",
+ "value": "{{AppKey}}",
+ "type": "text"
+ }
+ ],
+ "url": {
+ "raw": "{{HostName}}/csh/v1/hotels/{{HotelId}}/folioTypes",
+ "host": [
+ "{{HostName}}"
+ ],
+ "path": [
+ "csh",
+ "v1",
+ "hotels",
+ "{{HotelId}}",
+ "folioTypes"
+ ],
+ "query": [
+ {
+ "key": "includeCompress",
+ "value": "false",
+ "disabled": true
+ },
+ {
+ "key": "includeCredit",
+ "value": "false",
+ "disabled": true
+ },
+ {
+ "key": "folioType",
+ "value": "FISCAL",
+ "disabled": true
+ }
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "name": "get Folios Type Names",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "{{Token}}",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "GET",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "type": "text"
+ },
+ {
+ "key": "x-hotelId",
+ "value": "{{HotelId}}",
+ "type": "text"
+ },
+ {
+ "key": "x-app-key",
+ "value": "{{AppKey}}",
+ "type": "text"
+ }
+ ],
+ "url": {
+ "raw": "{{HostName}}/csh/v1/hotels/{{HotelId}}/folioTypeNames?folioReportGroup=Guest",
+ "host": [
+ "{{HostName}}"
+ ],
+ "path": [
+ "csh",
+ "v1",
+ "hotels",
+ "{{HotelId}}",
+ "folioTypeNames"
+ ],
+ "query": [
+ {
+ "key": "internalFolioWindowId",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "languageCode",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "folioTypeName",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "folioReportGroup",
+ "value": "Guest",
+ "description": "Guest , Group , AccountsReceivables , PasserBy , PostIt , Expense , CorrectionHeader"
+ },
+ {
+ "key": "includeCompress",
+ "value": "false",
+ "disabled": true
+ },
+ {
+ "key": "includeCredit",
+ "value": "false",
+ "disabled": true
+ },
+ {
+ "key": "folioType",
+ "value": "FISCAL",
+ "disabled": true
+ }
+ ]
+ },
+ "description": "1. folioReportGroup param requires a value, should not be null."
+ },
+ "response": []
+ },
+ {
+ "name": "get Folios Printers",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "{{Token}}",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "GET",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "type": "text"
+ },
+ {
+ "key": "x-hotelId",
+ "value": "{{HotelId}}",
+ "type": "text"
+ },
+ {
+ "key": "x-app-key",
+ "value": "{{AppKey}}",
+ "type": "text"
+ }
+ ],
+ "url": {
+ "raw": "{{HostName}}/csh/v1/hotels/{{HotelId}}/folioPrinters?allFolioWindow=true&eventType=CheckOut",
+ "host": [
+ "{{HostName}}"
+ ],
+ "path": [
+ "csh",
+ "v1",
+ "hotels",
+ "{{HotelId}}",
+ "folioPrinters"
+ ],
+ "query": [
+ {
+ "key": "allFolioWindow",
+ "value": "true"
+ },
+ {
+ "key": "correction",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "debitFolio",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "folioWindowNo",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "manualFolioNo",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "cashierId",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "fiscalTerminalId",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "eventType",
+ "value": "CheckOut",
+ "description": "CheckOut , EarlyDeparture , AdvanceBill , InterimBill , PasserBy , PostIt , CreditBill , Deposit , DepositRefund , AutoFolio , PrepaidCard , AutoSettlement , InformationFolio , SupplementalFolio"
+ },
+ {
+ "key": "id",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "profileIdId",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "currencyCode",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "exchangeRate",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "associatedBillNumber",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "associatedBillFolioType",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "associatedBillQueueName",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "associatedBillFiscalBillNumber",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "associatedBillGenerationDate",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "folioType",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "generateFiscalFolio",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "queueName",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "folioSeqId",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "fiscalFolioInstruction",
+ "value": "",
+ "description": "Retry , New , Void , Offline",
+ "disabled": true
+ },
+ {
+ "key": "transactionServiceType",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "amount",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "balanceCurrencyCode",
+ "value": "",
+ "disabled": true
+ }
+ ]
+ },
+ "description": "1. eventType param should not be null."
+ },
+ "response": []
+ },
+ {
+ "name": "get Guests Transactions",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "{{Token}}",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "GET",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "type": "text"
+ },
+ {
+ "key": "x-hotelId",
+ "value": "{{HotelId}}",
+ "type": "text"
+ },
+ {
+ "key": "x-app-key",
+ "value": "{{AppKey}}",
+ "type": "text"
+ }
+ ],
+ "url": {
+ "raw": "{{HostName}}/csh/v1/hotels/{{HotelId}}/transactions?reservationList={{reservationId}}&includeGenerates=true&includeTransactionsWithARInvoiceNo=false&includeTransactionsWithFolioNo=true&includeTransactionsWithManualPostingOnly=false&type=Reservation",
+ "host": [
+ "{{HostName}}"
+ ],
+ "path": [
+ "csh",
+ "v1",
+ "hotels",
+ "{{HotelId}}",
+ "transactions"
+ ],
+ "query": [
+ {
+ "key": "reservationList",
+ "value": "{{reservationId}}"
+ },
+ {
+ "key": "includeGenerates",
+ "value": "true"
+ },
+ {
+ "key": "includeTransactionsWithARInvoiceNo",
+ "value": "false"
+ },
+ {
+ "key": "includeTransactionsWithFolioNo",
+ "value": "true"
+ },
+ {
+ "key": "includeTransactionsWithManualPostingOnly",
+ "value": "false"
+ },
+ {
+ "key": "type",
+ "value": "Reservation"
+ },
+ {
+ "key": "transactionNo",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "transactionGroup",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "transactionSubGroup",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "billingCode",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "billingHotelId",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "desc",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "routingInstructionsId",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "trxCodeWildCard",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "trxDescriptionWildCard",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "checkNumberWildCard",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "referenceNumberWildCard",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "supplementWildCard",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "windowNo",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "cashieringTransactionType",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "startDate",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "endDate",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "cashierId",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "code",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "commissionable",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "serviceRecoveryAllowed",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "postedTransactionType",
+ "value": "",
+ "disabled": true
+ }
+ ]
+ },
+ "description": "1. param value type= 'Reservation' is required."
+ },
+ "response": []
+ },
+ {
+ "name": "get Hotel Revenue",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "{{Token}}",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "GET",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "type": "text"
+ },
+ {
+ "key": "x-hotelId",
+ "value": "{{HotelId}}",
+ "type": "text"
+ },
+ {
+ "key": "x-app-key",
+ "value": "{{AppKey}}",
+ "type": "text"
+ }
+ ],
+ "url": {
+ "raw": "{{HostName}}/csh/v1/hotels/{{HotelId}}/revenue?businessDate={{BusinessDate}}",
+ "host": [
+ "{{HostName}}"
+ ],
+ "path": [
+ "csh",
+ "v1",
+ "hotels",
+ "{{HotelId}}",
+ "revenue"
+ ],
+ "query": [
+ {
+ "key": "businessDate",
+ "value": "{{BusinessDate}}"
+ }
+ ]
+ },
+ "description": "Date format \"YYYY-MM-DD\" required."
+ },
+ "response": []
+ },
+ {
+ "name": "get Receipt History",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "{{Token}}",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "GET",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "type": "text"
+ },
+ {
+ "key": "x-hotelId",
+ "value": "{{HotelId}}",
+ "type": "text"
+ },
+ {
+ "key": "x-app-key",
+ "value": "{{AppKey}}",
+ "type": "text"
+ }
+ ],
+ "url": {
+ "raw": "{{HostName}}/csh/v1/hotels/{{HotelId}}/receiptHistory?fromDate=2022-02-14&toDate=2022-03-15",
+ "host": [
+ "{{HostName}}"
+ ],
+ "path": [
+ "csh",
+ "v1",
+ "hotels",
+ "{{HotelId}}",
+ "receiptHistory"
+ ],
+ "query": [
+ {
+ "key": "fromDate",
+ "value": "2022-02-14"
+ },
+ {
+ "key": "toDate",
+ "value": "2022-03-15"
+ },
+ {
+ "key": "name",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "firstName",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "receiptTypeName",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "taxInvoice",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "receiptNo",
+ "value": "",
+ "disabled": true
+ }
+ ]
+ },
+ "description": "Date format \"YYYY-MM-DD\" required."
+ },
+ "response": []
+ },
+ {
+ "name": "get Reservation Package Options",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "{{Token}}",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "GET",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "type": "text"
+ },
+ {
+ "key": "x-hotelId",
+ "value": "{{HotelId}}",
+ "type": "text"
+ },
+ {
+ "key": "x-app-key",
+ "value": "{{AppKey}}",
+ "type": "text"
+ }
+ ],
+ "url": {
+ "raw": "{{HostName}}/csh/v1/hotels/{{HotelId}}/reservations/{{reservationId}}/packageOptions",
+ "host": [
+ "{{HostName}}"
+ ],
+ "path": [
+ "csh",
+ "v1",
+ "hotels",
+ "{{HotelId}}",
+ "reservations",
+ "{{reservationId}}",
+ "packageOptions"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "name": "get Reservation Revenue Bucket Totals",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "{{Token}}",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "GET",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "type": "text"
+ },
+ {
+ "key": "x-hotelId",
+ "value": "{{HotelId}}",
+ "type": "text"
+ },
+ {
+ "key": "x-app-key",
+ "value": "{{AppKey}}",
+ "type": "text"
+ }
+ ],
+ "url": {
+ "raw": "{{HostName}}/csh/v1/hotels/{{HotelId}}/reservations/{{reservationId}}/revenueBuckets?type=Reservation&revenueBucketType={{revenueBucketType}}",
+ "host": [
+ "{{HostName}}"
+ ],
+ "path": [
+ "csh",
+ "v1",
+ "hotels",
+ "{{HotelId}}",
+ "reservations",
+ "{{reservationId}}",
+ "revenueBuckets"
+ ],
+ "query": [
+ {
+ "key": "type",
+ "value": "Reservation"
+ },
+ {
+ "key": "revenueBucketType",
+ "value": "{{revenueBucketType}}"
+ },
+ {
+ "key": "compRevenue",
+ "value": "false",
+ "disabled": true
+ }
+ ]
+ },
+ "description": "revenueBucketType value is case sensitive. provide the value in capitals"
+ },
+ "response": []
+ },
+ {
+ "name": "get Routing Instructions",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "{{Token}}",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "GET",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "type": "text"
+ },
+ {
+ "key": "x-hotelId",
+ "value": "{{HotelId}}",
+ "type": "text"
+ },
+ {
+ "key": "x-app-key",
+ "value": "{{AppKey}}",
+ "type": "text"
+ }
+ ],
+ "url": {
+ "raw": "{{HostName}}/csh/v1/hotels/{{HotelId}}/reservations/{{reservationId}}/routingInstructions?includeWindowRouting=true&includeRoomRouting=true&includeCompRouting=true",
+ "host": [
+ "{{HostName}}"
+ ],
+ "path": [
+ "csh",
+ "v1",
+ "hotels",
+ "{{HotelId}}",
+ "reservations",
+ "{{reservationId}}",
+ "routingInstructions"
+ ],
+ "query": [
+ {
+ "key": "includeWindowRouting",
+ "value": "true"
+ },
+ {
+ "key": "includeRoomRouting",
+ "value": "true"
+ },
+ {
+ "key": "includeCompRouting",
+ "value": "true"
+ },
+ {
+ "key": "includeCompRoutingRequests",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "effectiveOn",
+ "value": "",
+ "disabled": true
+ }
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "name": "Get Stored Folio Details",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "{{Token}}",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "GET",
+ "header": [
+ {
+ "key": "x-app-key",
+ "value": "{{AppKey}}",
+ "type": "text"
+ },
+ {
+ "key": "x-hotelid",
+ "value": "{{HotelId}}",
+ "type": "text"
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "type": "text"
+ },
+ {
+ "key": "x-externalsystem",
+ "value": "{{ExtSystem}}",
+ "type": "text"
+ },
+ {
+ "key": "Authorization",
+ "value": "Bearer {{Token}}",
+ "type": "text"
+ }
+ ],
+ "url": {
+ "raw": "{{HostName}}/csh/v1/hotels/{{HotelId}}/storedFolios/{{FolioId}}?folioDate={{folioDate}}&folioTypeName={{folioTypeName}}&internalFolioWindowID={{internalFolioWindowID}}",
+ "host": [
+ "{{HostName}}"
+ ],
+ "path": [
+ "csh",
+ "v1",
+ "hotels",
+ "{{HotelId}}",
+ "storedFolios",
+ "{{FolioId}}"
+ ],
+ "query": [
+ {
+ "key": "folioDate",
+ "value": "{{folioDate}}"
+ },
+ {
+ "key": "folioTypeName",
+ "value": "{{folioTypeName}}"
+ },
+ {
+ "key": "internalFolioWindowID",
+ "value": "{{internalFolioWindowID}}"
+ }
+ ]
+ },
+ "description": "You can use this API to get Stored Folio Details. OperationId:getStoredFolioDetails
"
+ },
+ "response": [
+ {
+ "name": "Response object for fetch stored folio details operation",
+ "originalRequest": {
+ "method": "GET",
+ "header": [
+ {
+ "description": "(Required) Client or Partner's Application Key",
+ "key": "x-app-key",
+ "value": "e190c498-b615-4254-870c-61a23202018c"
+ },
+ {
+ "description": "(Required) Mandatory parameter to identify the hotel code where the end user is logged in",
+ "key": "x-hotelid",
+ "value": ""
+ },
+ {
+ "description": "External system code.",
+ "key": "x-externalsystem",
+ "value": ""
+ },
+ {
+ "description": "Language code",
+ "key": "Accept-Language",
+ "value": ""
+ },
+ {
+ "key": "Accept",
+ "value": "application/json;charset=UTF-8"
+ }
+ ],
"url": {
- "raw": "{{HostName}}/chl/v1/channels/cardType/mappings?includeInactive=false&offset=0&hotelIds={{HotelId}}&bookingChannelCodes=DOC",
+ "raw": "{{baseUrl}}/hotels/:hotelId/storedFolios/:folioId?fiscalBillNo=&folioDate=&folioStatus=Ok&folioTypeName=&internalFolioWindowID=&invoiceNo=",
"host": [
- "{{HostName}}"
+ "{{baseUrl}}"
],
"path": [
- "chl",
- "v1",
- "channels",
- "cardType",
- "mappings"
+ "hotels",
+ ":hotelId",
+ "storedFolios",
+ ":folioId"
],
"query": [
{
- "key": "includeInactive",
- "value": "false"
+ "key": "fiscalBillNo",
+ "value": "",
+ "description": "The Fiscal Bill number of this posting"
},
{
- "key": "offset",
- "value": "0"
+ "key": "folioDate",
+ "value": "",
+ "description": "Date of Folio Generation."
},
{
- "key": "hotelIds",
- "value": "{{HotelId}}"
+ "key": "folioStatus",
+ "value": "Ok",
+ "description": "The Folio Status Example: DEPOSIT folio, VOID folio or the default OK folio status."
},
{
- "key": "cardTypes",
- "value": "CA",
- "disabled": true
+ "key": "folioTypeName",
+ "value": "",
+ "description": "The name of the Folio Type used for the Folio Number sequence."
},
{
- "key": "fetchMapped",
- "value": "true",
- "disabled": true
+ "key": "internalFolioWindowID",
+ "value": "",
+ "description": "Internal window ID which is unique to the reservation. This ID can only be used for reference."
},
{
- "key": "bookingChannelCodes",
- "value": "DOC"
- },
+ "key": "invoiceNo",
+ "value": "",
+ "description": "Invoice No after the folio is generated. Same invoice number may be referred in multiple folios"
+ }
+ ],
+ "variable": [
{
- "key": "fetchUnmapped",
- "value": "false",
- "disabled": true
+ "key": "hotelId"
},
{
- "key": "channelCardTypes",
- "value": "CA",
- "disabled": true
+ "key": "folioId"
}
]
}
},
- "response": []
+ "status": "OK",
+ "code": 200,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json;charset=UTF-8"
+ },
+ {
+ "key": "Content-Language",
+ "value": "nc-V-Hk",
+ "description": {
+ "content": "Audience language",
+ "type": "text/plain"
+ }
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"storedFolioDetails\": {\n \"folioReportURL\": \"\",\n \"hotelId\": \"\",\n \"storedFolioId\": {\n \"id\": \"\",\n \"type\": \"\"\n },\n \"storedFolioFileName\": \"\",\n \"reportStatus\": \"Running\"\n },\n \"links\": [\n {\n \"href\": \"\",\n \"rel\": \"\",\n \"templated\": false,\n \"method\": \"POST\",\n \"targetSchema\": \"\",\n \"operationId\": \"\",\n \"title\": \"\"\n },\n {\n \"href\": \"\",\n \"rel\": \"\",\n \"templated\": false,\n \"method\": \"PUT\",\n \"targetSchema\": \"\",\n \"operationId\": \"\",\n \"title\": \"\"\n }\n ],\n \"warnings\": [\n {\n \"value\": \"\",\n \"shortText\": \"\",\n \"code\": \"\",\n \"docURL\": \"\",\n \"status\": \"\",\n \"tag\": \"\",\n \"recordId\": \"\",\n \"type\": \"\",\n \"language\": \"GRmQLgaV-nYdLEo-ql-T0uryPYV-mExBt-8uSl\",\n \"rph\": \"\"\n },\n {\n \"value\": \"\",\n \"shortText\": \"\",\n \"code\": \"\",\n \"docURL\": \"\",\n \"status\": \"\",\n \"tag\": \"\",\n \"recordId\": \"\",\n \"type\": \"\",\n \"language\": \"t-XIK0JLL\",\n \"rph\": \"\"\n }\n ]\n}"
},
{
- "name": "post Channel Card Type Mapping",
- "request": {
- "auth": {
- "type": "bearer",
- "bearer": [
- {
- "key": "undefined",
- "type": "any"
- }
- ]
- },
- "method": "POST",
+ "name": "StoredFolioDetails not found.",
+ "originalRequest": {
+ "method": "GET",
"header": [
{
- "key": "Content-Type",
- "name": "Content-Type",
- "type": "text",
- "value": "application/json"
+ "description": "(Required) Client or Partner's Application Key",
+ "key": "x-app-key",
+ "value": "e190c498-b615-4254-870c-61a23202018c"
},
{
+ "description": "(Required) Mandatory parameter to identify the hotel code where the end user is logged in",
"key": "x-hotelid",
- "type": "text",
- "value": "{{HotelId}}"
+ "value": ""
},
{
- "key": "x-app-key",
- "type": "text",
- "value": "{{AppKey}}"
+ "description": "External system code.",
+ "key": "x-externalsystem",
+ "value": ""
+ },
+ {
+ "description": "Language code",
+ "key": "Accept-Language",
+ "value": ""
}
],
- "body": {
- "mode": "raw",
- "raw": "{\r\n \"channelCardTypeMapping\": {\r\n \"newChannelCardType\": \"AX\",\r\n \"inactiveDate\": \"2023-06-30\",\r\n \"hotelId\": \"{{HotelId}}\",\r\n \"bookingChannelCode\": \"DOC\",\r\n \"cardType\": \"AX\"\r\n }\r\n}",
- "options": {
- "raw": {
- "language": "json"
- }
- }
- },
"url": {
- "raw": "{{HostName}}/chl/v1/hotels/{{HotelId}}/channels/{{ChannelCode}}/cardType/{{CardTypeCode}}",
+ "raw": "{{baseUrl}}/hotels/:hotelId/storedFolios/:folioId?fiscalBillNo=&folioDate=&folioStatus=Ok&folioTypeName=&internalFolioWindowID=&invoiceNo=",
"host": [
- "{{HostName}}"
+ "{{baseUrl}}"
],
"path": [
- "chl",
- "v1",
"hotels",
- "{{HotelId}}",
- "channels",
- "{{ChannelCode}}",
- "cardType",
- "{{CardTypeCode}}"
+ ":hotelId",
+ "storedFolios",
+ ":folioId"
+ ],
+ "query": [
+ {
+ "key": "fiscalBillNo",
+ "value": "",
+ "description": "The Fiscal Bill number of this posting"
+ },
+ {
+ "key": "folioDate",
+ "value": "",
+ "description": "Date of Folio Generation."
+ },
+ {
+ "key": "folioStatus",
+ "value": "Ok",
+ "description": "The Folio Status Example: DEPOSIT folio, VOID folio or the default OK folio status."
+ },
+ {
+ "key": "folioTypeName",
+ "value": "",
+ "description": "The name of the Folio Type used for the Folio Number sequence."
+ },
+ {
+ "key": "internalFolioWindowID",
+ "value": "",
+ "description": "Internal window ID which is unique to the reservation. This ID can only be used for reference."
+ },
+ {
+ "key": "invoiceNo",
+ "value": "",
+ "description": "Invoice No after the folio is generated. Same invoice number may be referred in multiple folios"
+ }
+ ],
+ "variable": [
+ {
+ "key": "hotelId"
+ },
+ {
+ "key": "folioId"
+ }
]
}
},
- "response": []
+ "status": "No Content",
+ "code": 204,
+ "_postman_previewlanguage": "text",
+ "header": [],
+ "cookie": [],
+ "body": ""
+ }
+ ]
+ },
+ {
+ "name": "get Transaction Codes",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "{{Token}}",
+ "type": "string"
+ }
+ ]
},
- {
- "name": "put Channel Card Type Mapping",
- "request": {
- "auth": {
- "type": "bearer",
- "bearer": [
- {
- "key": "undefined",
- "type": "any"
- }
- ]
+ "method": "GET",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "type": "text"
+ },
+ {
+ "key": "x-hotelId",
+ "value": "{{HotelId}}",
+ "type": "text"
+ },
+ {
+ "key": "x-app-key",
+ "value": "{{AppKey}}",
+ "type": "text"
+ }
+ ],
+ "url": {
+ "raw": "{{HostName}}/csh/v1/hotels/{{HotelId}}/transactionCodes?includeArticles=true",
+ "host": [
+ "{{HostName}}"
+ ],
+ "path": [
+ "csh",
+ "v1",
+ "hotels",
+ "{{HotelId}}",
+ "transactionCodes"
+ ],
+ "query": [
+ {
+ "key": "event",
+ "value": "CheckOut",
+ "description": "enum \"CheckOut\", \"EarlyDeparture\", \"AdvanceBill\", \"InterimBill\", \"PasserBy\", \"PostIt\", \"CreditBill\", \"Deposit\", \"DepositRefund\", \"AutoFolio\", \"PrepaidCard\", \"AutoSettlement\", \"InformationFolio\", \"SupplementalFolio\"",
+ "disabled": true
},
- "method": "PUT",
- "header": [
- {
- "key": "Content-Type",
- "name": "Content-Type",
- "type": "text",
- "value": "application/json"
- },
- {
- "key": "x-hotelid",
- "type": "text",
- "value": "{{HotelId}}"
- },
- {
- "key": "x-app-key",
- "type": "text",
- "value": "{{AppKey}}"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": "{\r\n \"channelCardTypeMapping\": {\r\n \"newChannelCardType\": \"AX\",\r\n \"inactiveDate\": \"2023-06-30\",\r\n \"hotelId\": \"{{HotelId}}\",\r\n \"bookingChannelCode\": \"DOC\",\r\n \"cardType\": \"AX\"\r\n }\r\n}",
- "options": {
- "raw": {
- "language": "json"
- }
- }
+ {
+ "key": "includeArticles",
+ "value": "true"
},
- "url": {
- "raw": "{{HostName}}/chl/v1/hotels/{{HotelId}}/channels/{{ChannelCode}}/cardType/{{CardTypeCode}}",
- "host": [
- "{{HostName}}"
- ],
- "path": [
- "chl",
- "v1",
- "hotels",
- "{{HotelId}}",
- "channels",
- "{{ChannelCode}}",
- "cardType",
- "{{CardTypeCode}}"
- ]
- }
- },
- "response": []
- },
- {
- "name": "delete Channel Card Type Mapping",
- "request": {
- "auth": {
- "type": "bearer",
- "bearer": [
- {
- "key": "undefined",
- "type": "any"
- }
- ]
+ {
+ "key": "userRoleTransactions",
+ "value": "",
+ "disabled": true
},
- "method": "DELETE",
- "header": [
- {
- "key": "Content-Type",
- "name": "Content-Type",
- "type": "text",
- "value": "application/json"
- },
- {
- "key": "x-hotelid",
- "type": "text",
- "value": "{{HotelId}}"
- },
- {
- "key": "x-app-key",
- "type": "text",
- "value": "{{AppKey}}"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": "",
- "options": {
- "raw": {
- "language": "json"
- }
- }
+ {
+ "key": "manualPostAllowed",
+ "value": "",
+ "disabled": true
},
- "url": {
- "raw": "{{HostName}}/chl/v1/hotels/{{HotelId}}/channels/{{ChannelCode}}/cardType/{{CardTypeCode}}?channelCardType={{CardTypeCode}}",
- "host": [
- "{{HostName}}"
- ],
- "path": [
- "chl",
- "v1",
- "hotels",
- "{{HotelId}}",
- "channels",
- "{{ChannelCode}}",
- "cardType",
- "{{CardTypeCode}}"
- ],
- "query": [
- {
- "key": "channelCardType",
- "value": "{{CardTypeCode}}"
- }
- ]
- }
- },
- "response": []
- }
- ]
- },
- {
- "name": "Channel Carriers",
- "item": [
- {
- "name": "post Channel Carriers",
- "request": {
- "auth": {
- "type": "bearer",
- "bearer": [
- {
- "key": "undefined",
- "type": "any"
- }
- ]
+ {
+ "key": "code",
+ "value": "",
+ "disabled": true
},
- "method": "POST",
- "header": [
- {
- "key": "Content-Type",
- "name": "Content-Type",
- "type": "text",
- "value": "application/json"
- },
- {
- "key": "x-hotelid",
- "type": "text",
- "value": "{{HotelId}}"
- },
- {
- "key": "x-app-key",
- "type": "text",
- "value": "{{AppKey}}"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": "{\r\n \"carriers\": {\r\n \"carrier\": [\r\n {\r\n \"carrierCode\": {\r\n \"code\": \"DOC\"\r\n },\r\n \"merchant\": false,\r\n \"inactive\": false\r\n }\r\n ],\r\n \"bookingChannelCode\": \"DOC\"\r\n }\r\n}",
- "options": {
- "raw": {
- "language": "json"
- }
- }
+ {
+ "key": "description",
+ "value": "",
+ "disabled": true
},
- "url": {
- "raw": "{{HostName}}/chl/v1/channels/{{ChannelCode}}/subChannels",
- "host": [
- "{{HostName}}"
- ],
- "path": [
- "chl",
- "v1",
- "channels",
- "{{ChannelCode}}",
- "subChannels"
- ]
- }
- },
- "response": []
- },
- {
- "name": "put Channel Carriers",
- "request": {
- "auth": {
- "type": "bearer",
- "bearer": [
- {
- "key": "undefined",
- "type": "any"
- }
- ]
+ {
+ "key": "wildCard",
+ "value": "",
+ "disabled": true
},
- "method": "PUT",
- "header": [
- {
- "key": "Content-Type",
- "name": "Content-Type",
- "type": "text",
- "value": "application/json"
- },
- {
- "key": "x-hotelid",
- "type": "text",
- "value": "{{HotelId}}"
- },
- {
- "key": "x-app-key",
- "type": "text",
- "value": "{{AppKey}}"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": "{\r\n \"carriers\": {\r\n \"carrier\": [\r\n {\r\n \"carrierCode\": {\r\n \"code\": \"DOC\"\r\n },\r\n \"merchant\": false,\r\n \"inactive\": false\r\n }\r\n ],\r\n \"bookingChannelCode\": \"DOC\"\r\n }\r\n}",
- "options": {
- "raw": {
- "language": "json"
- }
- }
+ {
+ "key": "fiscalBillNo",
+ "value": "",
+ "disabled": true
},
- "url": {
- "raw": "{{HostName}}/chl/v1/channels/{{ChannelCode}}/subChannels",
- "host": [
- "{{HostName}}"
- ],
- "path": [
- "chl",
- "v1",
- "channels",
- "{{ChannelCode}}",
- "subChannels"
- ]
- }
- },
- "response": []
- },
- {
- "name": "delete Channel Carriers",
- "request": {
- "auth": {
- "type": "bearer",
- "bearer": [
- {
- "key": "undefined",
- "type": "any"
- }
- ]
+ {
+ "key": "folioDate",
+ "value": "",
+ "disabled": true
},
- "method": "DELETE",
- "header": [
- {
- "key": "Content-Type",
- "name": "Content-Type",
- "type": "text",
- "value": "application/json"
- },
- {
- "key": "x-hotelid",
- "type": "text",
- "value": "{{HotelId}}"
- },
- {
- "key": "x-app-key",
- "type": "text",
- "value": "{{AppKey}}"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": "",
- "options": {
- "raw": {
- "language": "json"
- }
- }
+ {
+ "key": "folioNo",
+ "value": "",
+ "disabled": true
},
- "url": {
- "raw": "{{HostName}}/chl/v1/channels/subChannels?bookingChannelCodes=DOC&carriers=DOC",
- "host": [
- "{{HostName}}"
- ],
- "path": [
- "chl",
- "v1",
- "channels",
- "subChannels"
- ],
- "query": [
- {
- "key": "bookingChannelCodes",
- "value": "DOC"
- },
- {
- "key": "carriers",
- "value": "DOC"
- }
- ]
+ {
+ "key": "folioStatus",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "folioTypeName",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "internalFolioWindowID",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "invoiceNo",
+ "value": "",
+ "disabled": true
+ },
+ {
+ "key": "trxServiceType",
+ "value": "",
+ "disabled": true
}
- },
- "response": []
- }
- ]
+ ]
+ },
+ "description": "1. event value is mandatory if you select the Parameter."
+ },
+ "response": []
},
{
- "name": "Channel Errors",
- "item": [
- {
- "name": "post Channel Errors",
- "request": {
- "auth": {
- "type": "bearer",
- "bearer": [
- {
- "key": "undefined",
- "type": "any"
- }
- ]
- },
- "method": "POST",
- "header": [
- {
- "key": "Content-Type",
- "name": "Content-Type",
- "type": "text",
- "value": "application/json"
- },
- {
- "key": "x-hotelid",
- "type": "text",
- "value": "{{HotelId}}"
- },
- {
- "key": "x-app-key",
- "type": "text",
- "value": "{{AppKey}}"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": "{\r\n \"errors\": {\r\n \"error\": [\r\n {\r\n \"errorCode\": \"ALT_NAME_TRANSLATION_NOT_SUPPORTED\",\r\n \"errorDescription\": \"Alternate name translation functionality is not supported.\",\r\n \"errorPrefix\": \"SYS\",\r\n \"errorSuffix\": \"81\",\r\n \"bookingResponse\": \"Unconfirmed\",\r\n \"dateRange\": {\r\n \"startDate\": \"2023-02-03\"\r\n },\r\n \"manualProcess\": true\r\n }\r\n ],\r\n \"bookingChannelCode\": \"DOC\"\r\n }\r\n}",
- "options": {
- "raw": {
- "language": "json"
- }
- }
- },
- "url": {
- "raw": "{{HostName}}/chl/v1/channels/{{ChannelCode}}/errorCodes",
- "host": [
- "{{HostName}}"
- ],
- "path": [
- "chl",
- "v1",
- "channels",
- "{{ChannelCode}}",
- "errorCodes"
- ]
+ "name": "post Articles Sale",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "{{Token}}",
+ "type": "string"
}
- },
- "response": []
+ ]
},
- {
- "name": "put Channel Errors",
- "request": {
- "auth": {
- "type": "bearer",
- "bearer": [
- {
- "key": "undefined",
- "type": "any"
- }
- ]
- },
- "method": "PUT",
- "header": [
- {
- "key": "Content-Type",
- "name": "Content-Type",
- "type": "text",
- "value": "application/json"
- },
- {
- "key": "x-hotelid",
- "type": "text",
- "value": "{{HotelId}}"
- },
- {
- "key": "x-app-key",
- "type": "text",
- "value": "{{AppKey}}"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": "{\r\n \"errors\": {\r\n \"error\": [\r\n {\r\n \"errorCode\": \"ALT_NAME_TRANSLATION_NOT_SUPPORTED\",\r\n \"errorDescription\": \"Alternate name translation functionality is not supported.\",\r\n \"errorPrefix\": \"SYS\",\r\n \"errorSuffix\": \"81\",\r\n \"bookingResponse\": \"Unconfirmed\",\r\n \"dateRange\": {\r\n \"startDate\": \"2023-02-26\"\r\n },\r\n \"manualProcess\": true\r\n }\r\n ],\r\n \"bookingChannelCode\": \"DOC\"\r\n }\r\n}",
- "options": {
- "raw": {
- "language": "json"
- }
- }
- },
- "url": {
- "raw": "{{HostName}}/chl/v1/channels/{{ChannelCode}}/errorCodes",
- "host": [
- "{{HostName}}"
- ],
- "path": [
- "chl",
- "v1",
- "channels",
- "{{ChannelCode}}",
- "errorCodes"
- ]
+ "method": "POST",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "type": "text"
+ },
+ {
+ "key": "x-hotelid",
+ "value": "{{HotelId}}",
+ "type": "text"
+ },
+ {
+ "key": "x-app-key",
+ "value": "{{AppKey}}",
+ "type": "text"
+ },
+ {
+ "key": "x-externalsystem",
+ "value": "{{ExtSystem}}",
+ "type": "text"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"criteria\": {\n \"payments\": [\n {\n \"paymentMethod\": {\n \"authorizationApproval\": {},\n \"paymentMethod\": \"CA\",\n \"folioView\": \"1\"\n },\n \"applyCCSurcharge\": false,\n \"folioWindowNo\": \"1\"\n }\n ],\n \"fiscalFolioInfo\": {\n \"folioQueueName\": {\n \"folioType\": \"FACTURA A\",\n \"queueName\": \"FATTURA\",\n \"generateFiscalFolio\": false\n }\n },\n \"cashierId\": \"13\",\n \"hotelId\": \"{{HotelId}}\",\n \"charges\": [\n {\n \"transactionCode\": \"2150\",\n \"articleCode\": \"2000\",\n \"price\": {\n \"amount\": \"200\",\n \"currencyCode\": \"ARS\"\n },\n \"postingQuantity\": 1,\n \"postingReference\": \" \",\n \"folioWindowNo\": \"1\"\n }\n ]\n }\n}",
+ "options": {
+ "raw": {
+ "headerFamily": "json",
+ "language": "json"
}
+ }
+ },
+ "url": {
+ "raw": "{{HostName}}/csh/v1/hotels/{{HotelId}}/articlesSale",
+ "host": [
+ "{{HostName}}"
+ ],
+ "path": [
+ "csh",
+ "v1",
+ "hotels",
+ "{{HotelId}}",
+ "articlesSale"
+ ]
+ },
+ "description": "You can use this API to create Articles Sale. OperationId:postArticlesSale
"
+ },
+ "response": []
+ },
+ {
+ "name": "Create Batch Advance Folio",
+ "request": {
+ "method": "POST",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "type": "text"
},
- "response": []
+ {
+ "key": "x-hotelid",
+ "value": "{{HotelId}}",
+ "type": "text"
+ },
+ {
+ "key": "x-app-key",
+ "value": "{{AppKey}}",
+ "type": "text"
+ },
+ {
+ "key": "x-externalsystem",
+ "value": "{{ExtSystem}}",
+ "type": "text"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"batchAdvanceFolio\": {\n \"hotelId\": \"{{HotelId}}\",\n \"reservations\": [\n {\n \"type\": \"Reservation\",\n \"idContext\": \"OPERA\",\n \"id\": \"1092770\"\n },\n {\n \"type\": \"Reservation\",\n \"idContext\": \"OPERA\",\n \"id\": \"825107\"\n }\n ],\n \"cashierId\": \"13\"\n }\n}",
+ "options": {
+ "raw": {
+ "headerFamily": "json",
+ "language": "json"
+ }
+ }
},
- {
- "name": "delete Channel Errors",
- "request": {
- "auth": {
- "type": "bearer",
- "bearer": [
- {
- "key": "undefined",
- "type": "any"
- }
- ]
- },
- "method": "DELETE",
- "header": [
- {
- "key": "Content-Type",
- "name": "Content-Type",
- "type": "text",
- "value": "application/json"
- },
- {
- "key": "x-hotelid",
- "type": "text",
- "value": "{{HotelId}}"
- },
- {
- "key": "x-app-key",
- "type": "text",
- "value": "{{AppKey}}"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": "",
- "options": {
- "raw": {
- "language": "json"
- }
- }
- },
- "url": {
- "raw": "{{HostName}}/chl/v1/channels/errorCodes?bookingChannelCode={{ChannelCode}}&error=ALT_NAME_TRANSLATION_NOT_SUPPORTED",
- "host": [
- "{{HostName}}"
- ],
- "path": [
- "chl",
- "v1",
- "channels",
- "errorCodes"
- ],
- "query": [
- {
- "key": "bookingChannelCode",
- "value": "{{ChannelCode}}"
- },
- {
- "key": "error",
- "value": "ALT_NAME_TRANSLATION_NOT_SUPPORTED"
- }
- ]
+ "url": {
+ "raw": "{{HostName}}/csh/v1/hotels/{{HotelId}}/advanceFolio/batchJobs",
+ "host": [
+ "{{HostName}}"
+ ],
+ "path": [
+ "csh",
+ "v1",
+ "hotels",
+ "{{HotelId}}",
+ "advanceFolio",
+ "batchJobs"
+ ]
+ },
+ "description": "You can use this API to create Batch Advance Folio. OperationId:postAdvanceFolio
"
+ },
+ "response": []
+ },
+ {
+ "name": "post Fiscal Info",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "{{Token}}",
+ "type": "string"
}
+ ]
+ },
+ "method": "POST",
+ "header": [
+ {
+ "description": "(Required) Client or Partner's Application Key",
+ "key": "x-app-key",
+ "value": "{{AppKey}}"
},
- "response": []
- }
- ]
+ {
+ "description": "(Required) Mandatory parameter to identify the hotel code where the end user is logged in",
+ "key": "x-hotelid",
+ "value": "{{HotelId}}"
+ },
+ {
+ "description": "External system code.",
+ "key": "x-externalsystem",
+ "value": "{{ExtSystem}}"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"fiscalPayloadType\": \"CheckOut\"\n}",
+ "options": {
+ "raw": {
+ "headerFamily": "json",
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{HostName}}/csh/v1/hotels/{{HotelId}}/reservations/{{ReservationId}}/fiscalInfo",
+ "host": [
+ "{{HostName}}"
+ ],
+ "path": [
+ "csh",
+ "v1",
+ "hotels",
+ "{{HotelId}}",
+ "reservations",
+ "{{ReservationId}}",
+ "fiscalInfo"
+ ]
+ },
+ "description": "API to generate CHECK OUT payload for a reservation"
+ },
+ "response": []
},
{
- "name": "Channel Guarantee Code Mapping",
- "item": [
- {
- "name": "post Channel Guarantee Code Mapping",
- "request": {
- "auth": {
- "type": "bearer",
- "bearer": [
- {
- "key": "undefined",
- "type": "any"
- }
- ]
- },
- "method": "POST",
- "header": [
- {
- "key": "Content-Type",
- "name": "Content-Type",
- "type": "text",
- "value": "application/json"
- },
- {
- "key": "x-hotelid",
- "type": "text",
- "value": "{{HotelId}}"
- },
- {
- "key": "x-app-key",
- "type": "text",
- "value": "{{AppKey}}"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": "{\r\n \"channelGuaranteeCodeMapping\": {\r\n \"newChannelGuaranteeCode\": \"4PM\",\r\n \"paymentType\": \"CASH\",\r\n \"hotelId\": \"{{HotelId}}\",\r\n \"bookingChannelCode\": \"DOC\",\r\n \"guaranteeCode\": \"4PM\"\r\n }\r\n}",
- "options": {
- "raw": {
- "language": "json"
- }
- }
- },
- "url": {
- "raw": "{{HostName}}/chl/v1/hotels/{{HotelId}}/channels/{{ChannelCode}}/guarantees/{{GuaranteeCode}}",
- "host": [
- "{{HostName}}"
- ],
- "path": [
- "chl",
- "v1",
- "hotels",
- "{{HotelId}}",
- "channels",
- "{{ChannelCode}}",
- "guarantees",
- "{{GuaranteeCode}}"
- ]
+ "name": "Create Fiscal Invoice",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "{{Token}}",
+ "type": "string"
}
+ ]
+ },
+ "method": "POST",
+ "header": [
+ {
+ "description": "(Required) Mandatory parameter to identify the hotel code where the end user is logged in",
+ "key": "x-hotelid",
+ "value": "{{HotelId}}"
},
- "response": []
+ {
+ "description": "External system code.",
+ "key": "x-externalsystem",
+ "value": "{{ExtSystem}}"
+ },
+ {
+ "key": "x-app-key",
+ "value": "{{AppKey}}"
+ },
+ {
+ "key": "Accept",
+ "value": "application/json;charset=UTF-8",
+ "disabled": true
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"criteria\": {\n \"hotelId\": {{HotelId}},\n \"folioCommand\": \"EndOfPeriod\",\n \"effectiveDate\": \"2024-03-06\",\n \"folios\": {\n \"fiscalTerminalId\": \"tt\",\n \"generateFiscalFolio\": true,\n \"folioTypeName\": \"FISCAL_INVOICE\"\n }\n }\n}",
+ "options": {
+ "raw": {
+ "headerFamily": "json",
+ "language": "json"
+ }
+ }
},
- {
- "name": "put Channel Guarantee Code Mapping",
- "request": {
- "auth": {
- "type": "bearer",
- "bearer": [
- {
- "key": "undefined",
- "type": "any"
- }
- ]
- },
- "method": "PUT",
- "header": [
- {
- "key": "Content-Type",
- "name": "Content-Type",
- "type": "text",
- "value": "application/json"
- },
- {
- "key": "x-hotelid",
- "type": "text",
- "value": "{{HotelId}}"
- },
- {
- "key": "x-app-key",
- "type": "text",
- "value": "{{AppKey}}"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": "{\r\n \"channelGuaranteeCodeMapping\": {\r\n \"newChannelGuaranteeCode\": \"4PM\",\r\n \"paymentType\": \"CASH\",\r\n \"hotelId\": \"{{HotelId}}\",\r\n \"bookingChannelCode\": \"DOC\",\r\n \"guaranteeCode\": \"4PM\"\r\n }\r\n}",
- "options": {
- "raw": {
- "language": "json"
- }
- }
- },
- "url": {
- "raw": "{{HostName}}/chl/v1/hotels/{{HotelId}}/channels/{{ChannelCode}}/guarantees/{{GuaranteeCode}}",
- "host": [
- "{{HostName}}"
- ],
- "path": [
- "chl",
- "v1",
- "hotels",
- "{{HotelId}}",
- "channels",
- "{{ChannelCode}}",
- "guarantees",
- "{{GuaranteeCode}}"
- ]
+ "url": {
+ "raw": "{{HostName}}/csh/v1/hotels/{{HotelId}}/fiscalCommands",
+ "host": [
+ "{{HostName}}"
+ ],
+ "path": [
+ "csh",
+ "v1",
+ "hotels",
+ "{{HotelId}}",
+ "fiscalCommands"
+ ]
+ },
+ "description": "You can use this API to create Fiscal Invoice. OperationId:postFiscalCommandInvoice
"
+ },
+ "response": []
+ },
+ {
+ "name": "post Generate Folios",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "{{Token}}",
+ "type": "string"
}
+ ]
+ },
+ "method": "POST",
+ "header": [
+ {
+ "key": "Content-Type",
+ "name": "Content-Type",
+ "type": "text",
+ "value": "application/json"
},
- "response": []
+ {
+ "key": "x-hotelid",
+ "type": "text",
+ "value": "{{HotelId}}"
+ },
+ {
+ "key": "x-app-key",
+ "value": "{{AppKey}}",
+ "type": "text"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"criteria\": {\r\n \"allFolioWindow\": true,\r\n \"folioQueue\": {\r\n \"generateFiscalFolio\": false\r\n },\r\n \"eventType\": \"CheckOut\",\r\n \"cashierId\": {{CashierId}},\r\n \"folioWindowNo\": 1,\r\n \"correction\": false,\r\n \"debitFolio\": false\r\n }\r\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
},
- {
- "name": "delete Channel Guarantee Code Mapping",
- "request": {
- "auth": {
- "type": "bearer",
- "bearer": [
- {
- "key": "undefined",
- "type": "any"
- }
- ]
- },
- "method": "DELETE",
- "header": [
- {
- "key": "Content-Type",
- "name": "Content-Type",
- "type": "text",
- "value": "application/json"
- },
- {
- "key": "x-hotelid",
- "type": "text",
- "value": "{{HotelId}}"
- },
- {
- "key": "x-app-key",
- "type": "text",
- "value": "{{AppKey}}"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": "",
- "options": {
- "raw": {
- "language": "json"
- }
- }
- },
- "url": {
- "raw": "{{HostName}}/chl/v1/hotels/{{HotelId}}/channels/{{ChannelCode}}/guarantees/{{GuaranteeCode}}",
- "host": [
- "{{HostName}}"
- ],
- "path": [
- "chl",
- "v1",
- "hotels",
- "{{HotelId}}",
- "channels",
- "{{ChannelCode}}",
- "guarantees",
- "{{GuaranteeCode}}"
- ]
+ "url": {
+ "raw": "{{HostName}}/csh/v1/hotels/{{HotelId}}/reservations/{{reservationId}}/folios",
+ "host": [
+ "{{HostName}}"
+ ],
+ "path": [
+ "csh",
+ "v1",
+ "hotels",
+ "{{HotelId}}",
+ "reservations",
+ "{{reservationId}}",
+ "folios"
+ ]
+ },
+ "description": "Use this API to generate a folio for the reservation in preparation for payment and checkout."
+ },
+ "response": []
+ },
+ {
+ "name": "post Guest Check Details",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "{{Token}}",
+ "type": "string"
}
+ ]
+ },
+ "method": "POST",
+ "header": [
+ {
+ "key": "x-hotelid",
+ "type": "text",
+ "value": "{{HotelId}}"
},
- "response": []
- }
- ]
+ {
+ "key": "x-app-key",
+ "value": "{{AppKey}}",
+ "type": "text"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"checkDetails\": {\r\n \"checkDate\": \"2024-03-16T13:38:51.180Z\",\r\n \"checkImage\": \"ZGF0YTppbWFnZS9qcGc7YmFzZTY0LC85ai80QUFRU2taSlJnQUJBUUVBWUFCZ0FBRC8yd0JEQUNBV0dCd1lGQ0FjR2h3a0lpQW1NRkEwTUN3c01HSkdTanBRZEdaNmVISm1jRzZBa0xpY2dJaXVpbTV3b05xaXJyN0V6dERPZkpyaTh1REk4TGpLenNiLzJ3QkRBU0lrSkRBcU1GNDBORjdHaEhDRXhzYkd4c2JHeHNiR3hzYkd4c2JHeHNiR3hzYkd4c2JHeHNiR3hzYkd4c2JHeHNiR3hzYkd4c2JHeHNiR3hzYkd4c2Ivd0FBUkNBSHlBVTREQVNJQUFoRUJBeEVCLzhRQUh3QUFBUVVCQVFFQkFRRUFBQUFBQUFBQUFBRUNBd1FGQmdjSUNRb0wvOFFBdFJBQUFnRURBd0lFQXdVRkJBUUFBQUY5QVFJREFBUVJCUkloTVVFR0UxRmhCeUp4RkRLQmthRUlJMEt4d1JWUzBmQWtNMkp5Z2drS0ZoY1lHUm9sSmljb0tTbzBOVFkzT0RrNlEwUkZSa2RJU1VwVFZGVldWMWhaV21Oa1pXWm5hR2xxYzNSMWRuZDRlWHFEaElXR2g0aUppcEtUbEpXV2w1aVptcUtqcEtXbXA2aXBxckt6dExXMnQ3aTV1c0xEeE1YR3g4akp5dExUMU5YVzE5aloydUhpNCtUbDV1Zm82ZXJ4OHZQMDlmYjMrUG42LzhRQUh3RUFBd0VCQVFFQkFRRUJBUUFBQUFBQUFBRUNBd1FGQmdjSUNRb0wvOFFBdFJFQUFnRUNCQVFEQkFjRkJBUUFBUUozQUFFQ0F4RUVCU0V4QmhKQlVRZGhjUk1pTW9FSUZFS1JvYkhCQ1NNelV2QVZZbkxSQ2hZa05PRWw4UmNZR1JvbUp5Z3BLalUyTnpnNU9rTkVSVVpIU0VsS1UxUlZWbGRZV1ZwalpHVm1aMmhwYW5OMGRYWjNlSGw2Z29PRWhZYUhpSW1La3BPVWxaYVhtSm1hb3FPa3BhYW5xS21xc3JPMHRiYTN1TG02d3NQRXhjYkh5TW5LMHRQVTFkYlgyTm5hNHVQazVlYm42T25xOHZQMDlmYjMrUG42LzlvQURBTUJBQUlSQXhFQVB3RG9LS0tLQUNpaWlnQW9vb29BS0tLS0FDaWlpZ0FxQzRrYUtFdWloaU94Ykg2NE5UMUJkUk5OQzBTbFYzY0hjdTRZK21SUUJIRmNTeTd5a1M3QVBsZmVjTWZ5NmU5UGltQnQvTmsyeGdaM2ZOa0RCeDEvQ21wYnZIdkVib29ZQTdkbkFidWNaNkgwcHNkdklMZDQ1SlZZSEpVcW1DRG5QcWM4MEFLOTZubFNOR0NXUmR4VndVT1BYa1U1THFKd3hWbStWZDNLRVpIcU9PUjlLamUybWxTUVNTcHVkTmdJUWdBSHJ4bnJUNDRwQko1a2tna0txVlhhbTM2NTU2OEQwb0FldHhHeklxbHN1dTVmbFBJL0xpa3Q1bW1Nb1pObmx5RkJ6blB2K3RRMlViSTBqU1Jzbk9JMVlnNFhyamdudWY1VmRQVGppZ0N2SGRSU3lDTkdiY1JrWlVnRWVvSkhOV2FwVzltWVp2TVpvODdTRDVjZXpkN3R5YzFkb0FveDNwZVZsMkp0WE80Q1RMcUI2cmpQODZraXZyZVZsV04ySmJwbEdIOHhURmdtTEk4azhidEhuYWZLd2NrWTU1L1RpbXgyVXNZWDk4aDJoQjl3L3dBSlB2NkdnQ2NYVUpsMkJqbk8wSGFkcFBvRDB6VFB0YUxJWTVRVll1VlVLQzI3QUJ6d09PdEl0dklDcUdWVEVqYmd1ejV2VWM1L3BUUmFPbDJiaFpWRE1mbitROHJ4Z2RlMk90QUUzMm1MelBMM0hPZHVkcDI1OU00eG1vNHJ0REs4VEFxNnZzNEJJOXVjWUgwcGdzQXN4a0N3RUY5K1dpeS9YUDNzL3dCS2NiV1U3c1RKODB3ay93QldlMk9PdnRRREpXdW9rbDJGamtFQTRVa0Fuc1QwRkJ1SWh1eXpmSzRRL0llQ2Z3OSt2U28zdDVHWjFFcWlKemxsS1pQdmc1L3BUWnJTV1I1Tmt3UlhZTVFVeWNqSGZQVGdVQVN6WGNVT1JKdUdBQ1NFWWdmVWdjVXNsekZHMjEzSUk2a0tTRitweGdmalVVOW0wMDI5bWl4eGdtTExyOUd6eFNUV0t5VHRLQkFTMk0rWkR2NmVoeUtBTDFGSU9CUzBBRkZGRkFCUlJSUUFVVVVVQUZGRkZBQlJSUlFBVVVVVUFGRkZGQUJSUlJRQVVVVVVBRkZGRkFCUlJSUUFVVVVVQUZGRkZBQlJSUlFBVVVVVUFGRkZGQUJSUlJRQVVVVVVBRkZGRkFCUlJSUUFVVVVVQUZGRkZBQlJSUlFBVVVVVUFGRkZGQUJSUlJRQldubWRIVkkwVjJLbHZtZmFNREhzZldtbTRkMWlNQ0NUekYzZ00yMFkvSStvcGJxM053cXJpTEEvNTZSYi93QXVlS0dnWlZqOGgxUXhyc0JaZDJSeDdqbmlnQkd1V1lSZVVnWnBGTEFNMjBBRHJrNFBxS1UzREdLTXhSaG5rNkt6WUE5Y25ta05zeWlMeVhDdEdwVUZsM0FnNHp4a2VncFRBeXh4Q0Z3cng4Qm1YSVByeGtVQUpKZE10cjU2UmJzWjNBdGpianJ6K0ZXNnB5V3p0YWVTa2lya0VNekpuT2V2Y1k1cXhHSENZa0ladTVWY0Q4c21nQ0tlZnlKWWxLWlJ6Z3RuN3ZweFVjVjA4c1Vza1VTa0syRjNQamNNWnowOTZmUEFabVRjeWVXTWhsWmM3Z2VPdWVLYWx2TXFTcXNzZVhPUis3T0FNWXhqZDdVQUtMaVh5a0pqWHpKRGhWRDhkTThuSDlLUjU1MGpMTkFnYmNxZ2Vad2NuR1FjZTQ3VW90NUJDZ01xK1pHY3E0VEE2WTVHZlQzcHMxdkxOQTBja3NiRm1CT1l2bHdPY1l6L0FGb0JDL2FuRWJaakhtaDlnVlh5Q2NaNjQvcFFicDFqbDh5TEVrYTd0b2JJSTlRY2YwcEJaYlZLeHVFVUVQR0F2M0c3L2g3VTd5SnNPM25BU3RnQmdueWdEdGpQMTc5NkFIV3M3M0NzU0k5bzREUnlid2YwRldhclFRdWtqdkl5czc0QjJydEdCN1pQclZtZ0Fvb29vQUtLS0tBQ2lpaWdBb29vb0FLS0tLQUNpaWlnQW9vb29BS0tLS0FDaWlpZ0Fvb29vQUtLS0tBQ2lpaWdBb29vb0FLS0tLQUNpb1piYUNZZ3l3eHlFY0F1b09LUjdXM2tDaDRJbUNqQ2dvRGdlMUFFOUZRTmEyN3FxdEJFeXFNS0NnSUgwb2ExdDNSVWFHSmxYN3FsQVFQcFFCUFJVRFcwRElzYlFSRlYrNnBRWUgwRkJ0YmN4aU13eEZBY2hTZ3dQd29Bbm9xQTJ0dVl4R1lJaWdPUXV3WUIrbEgyV0R5dkw4aVBabk8zWU1aOWNVQVQwVkI5bHQvTDh2eUk5aE9kdXdZejY0b0ZyQUl6R0lJZ2hPU3V3WUorbEFFOUZRQzF0MWpNWWdpQ0U1S2hCZy9oUXR0QXFNaXd4QlcrOG9RWVAxRkFFOUZRQzJ0MFJrV0NNSy8zZ0VBQit0QzJ0dWlzcXdScXJqREFJQUQ5YUFKNktnUzF0MERCWUlsREREQUlCa2U5Q1cwQ2J2TGhqWGNNTnRRREk5RFFCUFJVQ1dzRVpKamdqUWtZTzFBTWowb1MxdDRpVEhCRWhJd1NxQWNVQVQwVkJIYTI4VGJvNElrYkdNcWdCb2p0YmVKdDhjRVNONnFnQm9Bbm9xQkxTM2pjT2tFU09PaktnQm9TMXQwZmVrRVNzUDRnZ0IvT2dDZWlvRnRiZFpQTVdDSVBuTzRJTTUrdEF0YmNTZVlJSWcrYzdnZ3puMXpRQlBSVUgyUzM4enpQSWkzWnp1MkRPZlhOQnRiY3llWVlJaStjN3Rnem4xelFCUFJVRFd0dTcrWTBFVFBuTzRvTS9uUTlyYnlQdmVDSm1QOEFFVUJQNTBBVDBWQkphVzhybDVMZUoyUFVzZ0pva3RiZVZ0OGtFVHQ2c2dKb0Fub3FDUzF0NVczU1FSTzJNWlpBVFE5cmJ5a0dTQ0p5QmdGa0I0b0Fub3FCN1dDVEhtUXh2dEdCdVFIQTlLUjdXM2NLSGdpWUtNTGxBY0QwRkFGaWlvSHRiZVFLSGdpWUtNS0NnT0I3VU5hMjdxcXRCRXlxTUtDZ0lIMG9Bbm9xQnJXM2RGUm9ZbVZmdXFVQkErbERXMERJc2JRUkZWKzZwUVlIMEZBRTlGUUcxdHpHSXpERVVCeUZLREEvQ2cydHVZeEdZSWlnT1F1d1lCK2xBRTlGUWZaWVBLOHZ5STltYzdkZ3huMXhUbzRZNFYyeFJxaWs1d2lnQ2dDV2lpaWdBb29vb0FLS0tLQUNpaWlnQW9vb29BS0tLS0FDaWlpZ0Fvb29vQVpJNGlqYVJ1aWdrNHFGWmJrdDg5c3FnaklJa3pqMlBIOHMxTklna2paRys2d0lOUXJIY0RPKzRWaHRJR0k4WlBxZWVmd3hRQkJiMy8yaDQwakVSWjR5NUFreVVQb2VQY2ZyVG9MdDVtUUxFdU1aY2lRa0o2RHB5ZmFpSzFsak1PSlVQa3hsUHVIbjM2K3cvV2xnczJoOHNxeUJsQkRsWThieCtmWDM5elRBdTFWU2VUemxTU0lLSHp0SWJKNDlSamo4elZxcU1GclBITVhlZFpDZnZIeThFanNNNTRIMEZJQlZ1OTEwWVkvTEpCd2QwbUc5OEwzL0FFcVFYTzY2OHBVeXVEbDg4WkhhbUxhYlppVmRSR1pQTks3ZWQzMXovU2o3R291MW5SSWh0em5FZnpFbnZuTkFGeWlpaWdBb29vb0FLS0tLQUNpaWlnQW9vb29BS0tLS0FDaWlpZ0Fvb29vQUtLS0tBQ2lpaWdBb29vb0FLS0tLQUNpaWlnQW9vb29BS0tLS0FDaWlpZ0FwcE9BU0FUN0R2VHFqY01VWUkyMWlPR3huQitsQUVVTTBqU0dPVkZSZ29iNVgzY2UvQXBVbFo1NUZVRFlnd1QzTGVuNVkvT21XOXZOYmhzeUpJU1A3aFVzM3FUazFKREY1VUFUZDgvSkxZNnNlcC9PZ0NPS2FWcGRra0lRbGR3dzI3QTkrT0R6Nzk2UzJ1L3REc3Y3b2JjOExMdVljNDVHT0tTMnQ1b3BDenpxNVlmTVFtQ3g5U2NucDZEQTVwNndTK2FIa21EN1FRdUV3ZWZVNS9saWdCL21Gcm55d0J0VmN1ZmM5Qi9PbUpQSjV5cEpFRkQ1MmtOazhlb3h4K1pwOXZHVURGOEdSMjNNUjYvOEExaGdWQkJhenh6RjNuV1FuN3g4dkJJN0RPZUI5QlFBOWJoaktCc1VSc3hRUHU1SkdlMk9uQjcwdm55aVpWYUVLck1WVTc4dDlTTWRPUFdrVzNjU2pMcVkxWXVGMjg1T2VwejdudFRJN2FaYmd5UE9IeVQveXo1Qy8zUWM0QS9EbkZBRHpjTjV2K3JIbGIvTDM3dWMvVEhUUEhXcmRWRGJ1WmZ2anl0Ky9adDV6OWM5TTg5S3QwQUZGRkZBQlJSUlFBVVVVVUFGRkZGQUJSUlJRQVVVVVVBRkZGRkFCUlJSUUFVVkRMYlFURUdXR09RamdGMUJ4U1BhMjhnVVBCRXdVWVVGQWNEMm9Bbm9xQnJXM2RWVm9JbVZSaFFVQkErbERXdHU2S2pReE1xL2RVb0NCOUtBSjZLZ2EyZ1pGamFDSXF2M1ZLREErZ29OcmJtTVJtR0lvRGtLVUdCK0ZBRTlGUUcxdHpHSXpCRVVCeUYyREFQMG8reXdlVjVma1I3TTUyN0JqUHJpZ0NlaW9Qc3R2NWZsK1JIc0p6dDJER2ZYRkF0WUJHWXhCRUVKeVYyREJQMG9Bbm9xQVd0dXNaakVFUVFuSlVJTUg4S0Z0b0ZSa1dHSUszM2xDREIrb29Bbm9xQVcxdWlNaXdSaFgrOEFnQVAxb1cxdDBWbFdDTlZjWVlCQUFmclFCUFJVQ1d0dWdZTEJFb1lZWUJBTWozb1MyZ1RkNWNNYTdoaHRxQVpIb2FBSjZLZ1MxZ2pKTWNFYUVqQjJvQmtlbENXdHZFU1k0SWtKR0NWUURpZ0NlaW9JN1czaWJkSEJFall4bFVBTkVkcmJ4TnZqZ2lSdlZVQU5BRTlGUUphVzhiaDBnaVJ4MFpVQU5DV3R1ajcwZ2lWaC9FRUFQNTBBVDBWQXRyYnJKNWl3UkI4NTNCQm5QMW9GcmJpVHpCQkVIem5jRUdjK3VhQUo2S2creVcvbWVaNUVXN09kMndaejY1b05yYm1UekRCRVh6bmRzR2MrdWFBSjZLZ2ExdDNmekdnaVo4NTNGQm44Nkh0YmVSOTd3Uk14L2lLQW44NkFKNktna3RMZVZ5OGx2RTdIcVdRRTBTV3R2SzIrU0NKMjlXUUUwQVQwVkJKYTI4cmJwSUluYkdNc2dKb2UxdDVTREpCRTVBd0N5QThVQVQwVkE5ckJKanpJWTMyakEzSURnZWxJOXJidUZEd1JNRkdGeWdPQjZDZ0N4UlVEMnR2SUZEd1JNRkdGQlFIQTlxR3RiZDFWV2dpWlZHRkJRRUQ2VUFUMFZBMXJidWlvME1US3YzVktBZ2ZTaHJhQmtXTm9JaXEvZFVvTUQ2Q2dDZWlvRGEyNWpFWmhpS0E1Q2xCZ2ZoUWJXM01Zak1FUlFISVhZTUEvU2dDZWlvUHNzSGxlWDVFZXpPZHV3WXo2NHAwY01jSzdZbzFSU2M0UlFCUUJMUlJSUUFVVVVVQUZGRkZBQlZlNWtsalRkSEdyNHlXM1B0d01mUTFZcUdkSGtpS0l3VXNNWlpjL3BrVUFRL2FKaEdOMElFanNBaWg4aHVNNXpqanYyN1ZMQkkwdTVaRTJPcDVIVWV4QnBqVzhqUXhqekZFc1p5cmhPUFRwbjA5NmZCRzBXNXBIM3V4NVBRZXdBb0FkUElZa3lxN21KQVZjNHlhaDgrYU5ITXNBRFpBUUsrUTVQNERINDFMUEg1cUFLMjFsSVpUak9EOUtyTFlnQ1JzeGgzSUlhS1BhQVJ5RGpKenpRQlBESzdPeVN4aEhBeU5yYmdSOWNDckZWNFluVjJlV1FPNUdCdFhhQVBwazFZb0FLS0tLQUNpaWlnQW9vb29BS0tLS0FDaWlpZ0Fvb29vQUtLS0tBQ2lpaWdBb29vb0FLS0tLQUNpaWlnQW9vb29BS0tLS0FDaWlpZ0FxdGN6TkNFS3g3MUxBTWQyTVpJSDQ5YXMxV3VZWkowQ282SU1nbmNoYkpCQkhjZWxBRm1xN1N1dHdpQkZLT0Q4Mi9CeU8yTWYxOWFsUU1FRzhndDNJR0IrVlIzTVBueGJBNVJzNUREcUtBSTQ3dk1ZZVZObTVpRkNaY3NCM3dCbW50ZFFpSlpOeEtzY0x0VWtrK21CelVjOW1zeXhEYkhtTVlVT205Y2ZUajBGTmVDU0tHTXdxbm1SazRFY1lDa0hyd1dIODZBSkZ2WVRFSkZaaXBPMGZJeEpQc01aTkQza1NRaVhEc3BiYjhxa2tIT09SMnFCTEpwTFZGbjh2ekE3UGgwREx5VDFHZmYxcWI3TGkxTVE4cER1REF4eDdWQkJCSEdmYjFvQWsrMElJdk5Ja0M1eGd4dG44c1pwRGN4Q0V6RXNFWHI4aHlQcU1acU9TM2tsaDJTU0k3YnQzelIvS1I2YmM5UHg2MDFMS1JMU1NCWll4NWhQSWl3RkI2Z0ROQUV5WE1jaU02Rm1WZTRSdWZweHorRktzNE5zSmlNS1YzSEFKL3BuOUtGV2NSWTh5UHpPeDhzNHg5TjM5YWhGdEtiVHlIa1J1QUJpTWdZSFlqUE9md29Ba04xQ0lubHl3VlB2WlJnUjlSak5QaG5TY0hZV3lPb1pTcC9JMVZTeGRZWm8xa2lVUzQ0U0hhRi9ETlR4UXlyY1NTczZzSFZSZ0xqR1B4OXpRQk5JU3FNVkFMQVpBSndEVmEzdW5mYjVxSkdIajNxUStlT092QXgxcXpJQ3lNRklERVlCSXlCVlczc2xodDJpSWkrWmRwYU9QWVNNZCtUazBBU3gzTVVyWVJteUJ1d1VJeVBVWkhQNFUyTzhobEo4dG5iR2MvSTNHT282ZGZiclFzVTIvZkpMR1dWU0Z3aEFHZTU1NTZlMUxiUlN3cVZlUkhYSlB5b1ZPU2MrcDlhQUNDNVM0WDVCSU92M295TytPcEdLVmJsSkR0UW5kaklES1ZCK2hJNS9DbVJRU1JFanpRWXZtMnFxWVBKenljOXZ3cUtDeGVDWlpGZUlFSVZPMkhCYjNKenllS0FKYmU5am5DRGxYWWRNSEdlNERZd2FldHpFOGdqVmprNXdTcEFiSG9TTUg4S2lodFpZeEVyenE2Um5JQVRCSit1ZW5OSmIyQ3dTQmtXRGFwT0Q1WHovOEFmV2Y2VUFUUnl1MDhrVElxN1FHQkRaeUNUN2NkS1ZaWE03eHVpZ0FBcVEyY2pucnh4MHBpd3ppZHBETEdRd0NrQ01nNEdlKzczb0VNNG5NaGxqd1JqYjVaempKNzd1dk5BRHZ0TWZtZVZsdDJjZmNPTSttY1lxeFdjYkZoY0NVUEdDSEw3akhsejdGczlQOEE2MWFOQUJSUlJRQVVVVVVBRkZGRkFCUlJSUUFVVVVVQUZGRkZBQlJSUlFBVVVVVUFGRkZGQUJWV2E1OHE0U04xQVJsSjM1NkVlb3ExVldhM00wNExsREdGSUtNbWM4ZzljK3c3VUFOdDcxWmtVdWhqTEZncTRKeUIrSFgycVQ3VEY1U3k3bTJzY0RDRWtuMHhqUFkxQ3RwS3FyaVpQTVdSbkI4czQrYk9SalB2NjBuMk9UN09zSmtpa3c1WStaRnVEWnllUm4xTkFEbXZZMVNPUmN0RzdsQ2NISVBQYkdUMHhValhjU3crZVdJakhCTzA4ZlVZeUtqVzBaRWhWWkZBU1F1UUV3Ty9BR2VCejcwaHRaakJKSDV5ZnZHTEUrV2VBZTJOMUFFb3VvakdYREhhRGo3cHlUMndNYy9oU2k2aU1UU2JpRkJ3UVZJSVBwanJta2VLVjBUTHA1cU51VmdoMituVFBvVDNwdjJlUXF4YVZmTkxCZ3dUQUdPT21mNjBBS2IyRUp2M09CdTI0OHRzZytoR00wNkM0aW56NWJFNDU1VWorZjBxTTIweE81cFUzN2dTUWh4Z2RCalAxcGJhMWVCOG1SV0d3SmdKam9TUjM5NkFKNXBQS2hlVGFXMmpPQjNxdkJjbVZIZGhGc1FmZWprM2crdllmNU5XSlZkb2lJMzJQMllybkg0VlhOdEk0bUx5cnZrVUx1VkNvQUdlMlRucjYwQVNDNmlLTStYQVVaWUdOZ1FQcGpORWQxRklyTUdJQ2pKTEtWNDllZTN2VmVPeGVOWmdyeElKVjI0U0hhQjc0ejcxS2JWMlp0OHFsV2k4c2dKZy9YclFBMzdmRVpHSElSWXk1SlZnUVA4QWRJNmU5VCtlbTVGeTI2UVpYNUQvQUljZmpVSzI4elRoNXBrY2JDaFZZOXZCL0UrbE50Ykw3Tys4eWwySzRKSS9pUFUvb1B5b0FuZ204N2ZnRUJXMjhnZzlBZVFRUFdtSmVSTzZ4b3hMTm5ibFNBMlBRNHdhSVlaa2Qya2tqWlpEa2hVS25PQU91NCtsSkZCT2dWVE9walVZVUNQQlBwazUvbGlnQkxhOVM0Q2pCVnpuakJ4eDF3Y1lOWEtwUjJzcWVSbVpTSXlTZjNaRzdQNDhWZG9BS0tLS0FDaWlpZ0Fvb29vQUtLS0tBQ3FrOXk4VGJWalZ0cUYyTFB0d1Biam45S3QxVXVyVTNCQXhGZ2QzajNFZlE1NC9LZ0N3amgwVmw1RERJcUdlWjBkVWpSWFlxVytaOW93TWV4OWFkTEUreU5ZSlBLQ0VaK1hPVkhhbVhWdWJoVlhFV0IvejBpMy9BSmM4VUFJMXlXV0V3SUhNcTdodWJhTVk5Y0hubXBvSlZuaFNWZWpETlJTMmdhRklrRVJWQmpFc2UvOEFxS21oakVVU3hyMFVZb0Frb29vb0FLS0tLQUNpaWlnQXF0Y3pOQ0VLeDcxTEFNZDJNWklINDlhczFXdVlaSjBDbzZJTWduY2hiSkJCSGNlbEFGbXFsM2RHMmFQaUlLK1J1a2syQUg4alZoQXdRYnlDM2NnWUg1VkZORks4a2J4U0ltelBESVd6bjhSUUF3WHNhMjZUUy9JcmQ4RWdmampwNzA4M1VRUU9TMkNjQWJHM0UvN3VNMUNiU1R5VWpTV05TSDh4aVU0SnpuZ1o0RlN2Rkt5eHNIUVNwL0ZzeXB6MTR6L1dnQlZ1WTJLaFN4TGtnZktlbzY1NDQvR2thOWdVRWt1TU50UDd0dXZwMHFOck15UmJYa0JZdnZjaGNCdXhHTStuRkMyanh4UnhwS01xKzhzeTV6K3Ywb0FsKzBvWVRJdTRnY1kyTm5QdU1aL1NsODlGZ1dSamhTQWVBVG5QcDNOUnJCT2l5QVRSNWRpMlRHY0FlbjNxUTJqUGFpQ1YwZmJqYWZMNDQ5UVNjMEFUUlRKS3VVSk9EZ2dnZ2o2ZzgxTlZlMXQvczZzTnNJeWMvdTQ5Zy9tYXNVQUZGRkZBQlJSUlFBVVVVVUFGRkZGQUJSUlJRQVVVVVVBRkZGRkFCUlJSUUFVVVVVQUZWNXBXam1pQWp5am5hVzNZd2ZwMzZWWXFyUERMSzZHT1JFQ0hkaGtMWlBQdVBXZ0MxVmFlV1JIQ3hSaDJ3V09XMmdEOGp6VHBVbGNKNWN1d2hnV08zTzRkeDdVMmFHUm1EeHVxTnRLbmN1N2o4eFFBalhETUkvSVFPWkYzamMyMEFjZDhIMUZUUlNDV0paRjZNTTFDMERLSS9JZFl6R3V3YmwzREhIdVBRVk5GR0lvbGpYb294UUJKUlJSUUFVVVVVQUZGRkZBQlJSUlFBVlZ1WnBvc0dPSlhYdVdmYmc1eDZHclZWN21LU1dQYWpxbklKTEx1L3FLQUlwTGw0WWxhV0pFTE1WK2FUQ0QzTFk3L0FFcWEzZHBZbFoxQ2s5bGJjTWRpRFNPbHdWVGJNcXNQdlpqeUcvRFBINTB0dkY1VVFYSUp5U1NCZ1pKeWVLQUV1SkpJL0xFY2FPWGJiOHo3Y2NaOUQ2VTFMcGZJODJRYkR1S2tENXNrSEhHT3RGMWJtNUNMbVBhcmJpcnB1RGZyVFJiTWlCVWtDN0d6SDh1UW94akI1NUhKOUtBSlB0TVhsZVp1TzNPM0JVNXo2WTY1cHJYc0lRT1dmQmJialkyUWZRakdSU2ZaNUN1NHlyNXUvZUcyZkwweDB6NmU5SWJlUWtONXE3dDRkanNPRGdZd0JuajlhQUpvTGlPY0V4c1NCNnFSL09pYVFSSVcybGprQUFkeWVCVWRyYlBiZ0F5SytFQ2NKanBuSGYzcVdhSVNJUm5hY2dnK2hIU2dDQ1M1bmhpa2VXM1VCQm5Ja3lENjlzL3BVaVhNVWlPVkxZVVpiY2hCQStoRlJ2QlBMRElyenJsd0FNSmdEOE01eitORDIwanRNVElvODFBdkNkTWZqejFOQUVzZHdqcVN1LzVlb0tNRCtSR2FiRGR3elo4dHlRQmtrcVFQZmsxRmIyYndOSXlQQ3U4QUFKRHRBSTc0elQ0N1p4YXRCTTZ1aFhhTnFGVGo4elFBNk85aGtmWXJOdTI3c01qTHg2OGpwU3gzTWN6YlVMWnhuRElWeVBVWkhOVjRvWjVwWkRjcmhERjVlTm9YT2ZveHFTMnRQSWJkdGc2WXlrT3h2eE9hQUxsRkZGQUJSUlJRQVVVVVVBRkZGRkFCUlJSUUFWVG1ua1c0RU1TUnNjQWtNKzBrZjdQMHE1Vktlek0wb0xTTjVlY2xEZ2pqcGpJeVB3TkFFc3N6eHp4SjVlVWtPMHZ1NkhCUFQ4S1pkWFJ0OEhZcFhIVm5DNVBvQjNQdFRyaUthV1NOa2tSQkdkd0RJVzV3UjZqMXBKNEpwRktyTXFxeTdXRFI3dnk1L25tZ0N5T1Jtb0o1bWlhUEVlNVdZS1R1eGpKQS9IclE2U0ZZMWltTWUwakpLaHR3OVA4QTY5SmN3eVRCUWpvZ1ZnM3pJV3lRY2p1S0FDNnVWdGxYTzNjeHdON0JSK0pxV05pOGFzMjNKR2ZsT1IrQnFHVzNhUXhTYmtFMFdjTVV5T1J6eG4rdFN3eCtWQ3NlYzdSMXhpZ0NXaWlpZ0Fvb29vQUtLS0tBQ2lpaWdBcXZOTEtra2FSUm8rL1BMT1Z4ajhEVmlxdHpiZmFXajMrV1VVa2xYVGRuOWVLQUFYYWVSSEsyUnY2S29MRS9USFduRzZpRVN5YmlWSndBRkpKUHBqcm1veGJTb0UyU2pjbVFwWmMvS2V4NTVQQTVwZnM4aW9wV1JSS0dMRmltUWM5ZU0vMTdVQURYdHVpaGl6QU5uSHlOMjZqcHhVME0wY3lreGtrQTRPUVIvT3E3MmtqakJsVExidDUySGtrWTQ1NDQrdFNXMEx4Ynk3cSs3QjRYR0NBQjZuMG9BTHFjMnlJMnplcFlLM1BJSHI3MDFicm1WcGdxcEd3VUZXTFp5QWVtUGNVKzVpZVVKc2RWS3NHK1pkMmYxRlJwWjdFY1J2Z2w5NlpHUXZBR1BjY1VBVFF6SktwS2s4SEJES1ZJL0E4MU5WZUtLUmZNYVIxYVJ1TXF1QUFPbkdUVDRVa1NGVmxsOHh4MWJialA0VUFFRThkekVKSW0zSWVod1JUbkpWQ1ZVc1FPRkhlbVFKSWtRV1dYelg3dnRDNS9DblNxN1JNc2IrV3hIRFl6ajhLQUlVbmY5NzVrWURScnV3amJnZXZIUWM4ZnlwdHJkK2Z2RzFEdEFPWW4zZzU3WndPYVNHMmRJWkkzbERCMXhsVklPZWNra2trbi9DcFk0WlZaMmtsVXN5aFJzVGJqR2ZVbjFvQVpCY3RJN0lWUUZCazdYM2JmWnZRL25UN2U0ODUzQVhDQUFxMmZ2QTU1L1NteFc4bm1HU2FSWkR0MjRWTm94NzhuTkpCWnJCTzhpTEVxc0FBcVI3U1B4elFCYm9vb29BS0tLS0FDaWlpZ0Fvb29vQUtLS0tBQ2lpaWdBb29vb0FLS0tLQUNpaWlnQW9vb29BS0tLS0FDaWlpZ0Fvb29vQUtyelNPanFrVVlaMkJQek50QUE5OEgxcXhWZWFKM2RYaWNLNmdqTEx1QkI5c2lnQVM0UHlyTEdZNUd6aGZ2Wng3aWo3VEY1U3k3bTJzY0RDRWtuMHhqUFkweDRKbUViZWN2bW94TzRweHlNWXhuK3RSL1k1UHM2d21TS1REbGo1a1c0Tm5KNUdmVTBBU0c5aThvU0R6R1ZtMmZLaEp6bkhJeFVodUkxakVwTEtwT0FDaEJKOU1ZelVRdFN0c0lsY0Jnd2NIYjhvT2M0QXowOXMwNHd5dEd1WlFaRmJjRzJmTDZZeG5wZyt0QUExN0FxcXhaOE0yMERZMmMraEdNaWxXOGhhUGVya3FNRDdwNXowd01jL2hVWnRwU3lreXB1MzcyT3c0UEczQTU0NCt0Tit3RXcrWEpJamdLb0dZK01yNmpQSTlxQUovdE1QbHZMdWJhdjNoc09SOVJqTkxEY1J6Z21NbGdPKzBnSDZldFJMYU90dThhR0NNdnhtT0hhTWZUTlRRcElzZTJSbFlqZ0ZWMjhmbWFBRmduanVZaEpFMjVEME9DS1dWL0xpWjlwYmFDY0wxTk5nU1JJZ3Nzdm12M2ZhRnorRk9sVjJqWlkzMk9SdzJNNC9DZ0N0QmVHVU96TEdZMUdkMFVubWMrbUFNNXFTRzZTYVB6RjNxb0FZbGtLOGZqMS9Da2loY084a3JvN01vWDVVMjhmbWZXbXhXcmlBd3pTaDAyZVdBcTdlUFU4bm1nQ1NPNWptSkNiczR6aGtLa2oxR1J6UkZPc2tiT04yRkpHTnJaL0lqT2FpdHJNd01XQXRnY1lCU0hhZng1cDBVTndoY21XSnQ1ei9xeU1IQUg5N3B4UUFxWGNVeS91Q1diYVdYY3BVTitKRkpiM2NVNnB0SkRNdWNFSEI5UURqQi9DbUpheklZc1RSbnlrS2ZjUE9lLzN2WWZyU3cyc2tZaVI1VmVPRWZLTm1EMHh5YytoTkFFcVhNVWo3RmM1UFRLa0J2b1NNSDhLYWw3QThoalJtTGc0STJNTUgzNDRxTzNzUmJ5S3lyYjdWemdpSEQ0L3dCN1A5S2tnaG1pa2Rta1JnNTNFQkNEbkFIWEo5S0FEN1pCNWdqM051WTdSaEd3VDN3Y1lxMVdjSWJnWEVTQUVRUk9XQktqbmc5OTJlL29LMGFBQ2lpaWdBb29vb0FLS0tLQUNpaWlnQW9vb29BS0tLS0FDaWlpZ0Fvb29vQUtLS0tBQ2lpaWdBb29vb0FLS0tLQUNpaWlnQW9vb29BS0tLS0FDaWlpZ0Fvb29vQUtLS0tBQ2lpaWdBb29vb0FLS0tLQUNpaWlnQW9vb29BS0tLS0FDaWlpZ0Fvb29vQUtLS0tBQ2lpaWdBb29vb0FLS0tLQUNpaWlnQXFyZDNQMmRVT0V3eHhsMzJxUHFjR3JWUVRKT3hVd3lxbU01REp1Qi9VVUFSQzRsekFCRW43M0pQN3pwajB3T2VLamU5bFNOWGVPSkF6dEdTMHhBR004NTIreC9TcEJhc3NjWWpkVmtRazVLWlU1NjhaL3JRYmFRSkVFbFVNakZ5V1FuY1RuM0dPcG9BYWJ1WDdONXlRS3dBWXQrODR3TzRPT2MwOHp5cW9EUXFKWGJhaWg4Zzhaem5IQTY5cVEyci9acFl4SWdhVWtzMnpqbmpnWi9yVDNpa2VORDVpaVZEa09FNC9MUFRIdlFBeHJtYlkyMkZTNkg1d1pNQURHY2c0NS9LajdSTXRzOHp3cXUwYmdQTUpCR1BYSDlLZDVFZ2pmOTZwbGZxeFRnZXdHZjYweVMya2t0MGlNcUFnamNRaEdRT25Sc2o4NkFGYTZmN0cwd2lYZW1kNkY4WXgxNXhWaFM1UUYxQ3QzQU9SK2ZGVlRaeUJKMFNjQkpmN3lzeEhHT3BibXBvbzVWZG1sbFY4Z0FCVktnWXo3bjEvU2dDeFJSUlFBVVVVVUFGRkZGQUJSUlJRQVVVVVVBRkZGRkFCUlJSUUFVVVVVQUZVNXA1RnVCREVrYkhBSkRQdEpIK3o5S3VWU25zek5LQzBqZVhuSlE0STQ2WXlNajhEUUJMTE04YzhTZVhsSkR0Mzd1aHdUMC9DbVQzRHh1UWtZZll1OThuR0I3Y2NuZzA2NGlsbGtqWkpFUVJuY0F5RnVjRWVvOWFTYTNra0pLeUt1OU5qNVRPUnowNTQ2bjFvR1dGWU1vWWRDTWlvSjVuUjFTTkZkaXBiNW4yakF4N0gxcDBzY2hWQkRMNVFWaG41UWNqMHBsMWJtNFZWeEZnZjg5SXQvNWM4VUNFYTVMTENZRURtVmR3M050R01ldUR6elUwRXF6d3BLdlJobW9wYlFOQ2tTQ0lxZ3hpV1BmL1VWTkRHSW9salhvb3hRQkpSUlJRQVVVVVVBRkZGRkFCUlJSUUFWVnU3bjdPcUhDWVk0eTc3VkgxT0RWcW9Ka25ZcVlaVlRHY2hrM0EvcUtBSzAxODhVRVVqeHhLSHpuZEx3TzR3UURuSXFSNTdoRmkvY3B1a1lyanpPQjFJT2NlZ3B2MlJ4SEdpU1JnS1dMQm84aGljNTR6d09UeFN5MnJ6Skdzenh5YkhMTUdqeUQ3WXo3KzlBRGx1WFlSRXhLTjdsR0pmb1JucHh6MDlxQmNUbEpHRU1meU1RUDNoNUE2bjd0QXRpTGQ0UStCL3l6SUhLZW4xeFR6Q3kyd2loZFZ3TnVXWGQvVVVBTUZ4TDVTRXhyNWtod3FoK09tZVRqK2xObHVab29Ha2toU01xd0dUTDhwQk9NNXgvTVU0VzhnaFFHVmZNak9WY0pnZE1jalBwNzBra004a2UxcDEzYmxZSHkrT0RuR001N2V0QUlrdFpYbWozc2lxcCs2VWZjR0hyMEZPbWtFU0Z0cFk1QUFIY25nVWtFY3FBaVNSR0hHMEltMEwrcHAwMFFrUWpPMDVCQjlDT2xBRUVsek5EREpKSmJxdXdaeUpQbFA0NHorbEVWMzV6UytWNUxoRkJETExrRW5zZU9PbER3VHl3eUs4NjVjQURDWUEvRE9jL2pTU1dzMGhtUG5JUE1VTC9BS3M4QVovMnZjMEFFVjIwbHBKSjVRRG9NN1MzQkdNam5IcDdVNUxsaDVublJxcFJBL3lQdTRPZlljOFV6N0ZJdm1CSmZsZVBZUTRaL3dBZVc5enhTcFloRVpRVVZIVGE2b20wRStvNTRvQWNzbHp6dnQwVWJTUVJMa1o5RHgvalRiUzdlNStZUngrWGpsa2szWVBCeDBIclNMWnY1cGxkNGpMc0tobGl4MTdubm5wN1U2Q0NlSUJUTW0wTGo1WThFbkFBSk9UNlVBTnRyeDU1ZG9STnVDVGlUTEo3TXVPRFY2cXNVRXZtcEpOS2pzaWtEYW0wODQ2OG4wcTFRQVVVVVVBRkZGRkFCUlJSUUFVVVVVQUZGRkZBRk81dUpFbldLSlVac2JpSGJhV0hQQys5U1RTdEhORUJIbEhPMHR1eGcvVHYwcUs2dERjTi9yVzJIN3lZQkhHZW1RY0duend5eXVoamtSQWgzWVpDMlR6N2oxb0F0VlV1cnY3TzhhL3VodkJPWkpOZzR4N0gxcVNWSlhDZVhMc0lZRmp0enVIY2UxRXlUTWYzVWlweGdoazNEK1lvQWJjVE5FcU1zWWNGZ0dPN0FHU0IrUFdyTlZKYlp2czhjTU1pb2liZnZKdUp3Ump1UFNyQ0JnZzNrRnU1QXdQeW9BZlJSUlFBVVVVVUFGRkZGQUJSUlJRQVZVdmJrMnFvMjJNaG0ya3UrMERqUG9mU3JkVnJtQjV6R1VaRjJOdXd5YmdlQ1BVZXBvQVlMbVk3VkVDK1krU0I1bnk3UmpuT005L1NqN1U1MnFzV1pTU0NoYkFHT3B6NmNqdDNGT2tnY21OMGNKSWdLOHJsU0QyeG4ySGVtL1pYRzFsbHhLQ1NYSzVCejFHUFRnZCt3b0FRM01wUlFzSTh6ZjViS3o0QU9NOWNISXFhQ1V5Qmc2YkhVNFlBNUhyd2FoTnRLRVVyTVBNMytZek1tUVRqSFRJd0tsaGpaQXhadzdzY3NRTUQwNEhQcFFBczd5b2dNVWF2NjduMmdESDBOUmZhSmx0bm1lRkYyamNCNWhJSXg2NC9wVTh5dTBaV01oU1JqTExrZmxrVlhrdHBKTGRJaktnSUkzRUlSa0RwMGJJL09nQlRjeWZadk9XSExLY09tN2xjSG5ISE5QdHAzbjNzRUFqQndqaHM3eDY5S2hObEtva1NPY0xISXdKREt6SDM1TGQ2bXQ0SHR5NmgxTVpPVVVMalo3ZGVsQUZtaWlpZ0Fvb29vQUtLS0tBQ2lpaWdBb29vb0FLS0tLQUNpaWlnQW9vb29BS0tLS0FLZHpjU0pPc1VTb3pZM0VPMjBzT2VGOTZkUGNQRzdCSXcreGQ3NU9NRDI0NVBCcGwxYUc0Yi9XdHNQM2t3Q09NOU1nNE5QbXQza1lsWkFtOWRqL0xra2M5T2VEeWZXZ0N3ckJsRERvUmtWWHU3dGJjSUR0RE4wTHR0VWZVMCtXT1FxZ2hsOG9Ld3o4b09SNlUyZTNNa3Njc1pWWkVCQUxMdUdEMTR5S0FHejNYMmVOQy9saG42QXlZVWY4Q1BiOEtuall2R3JOdHlSbjVUa2ZnYXJ0YTRTRHl5b2tnR0ZabHlNWXdlTWlwNFkvS2hXUE9kbzY0eFFCTFJSUlFBVVVVVUFGRkZGQUJSUlJRQVZXdVpaSTJqRWNhT1hiYjh6N2NjWjlENlZacXJkMjV1UkdOMGVGYmR0a2ozZzhZOVI2MEFNZTZsRUN1c0tzKzhvVTh6SE9jY0hIUDZVK1M1MnhSektxbUo4WmN0amFEMzZVa3Rwdk1RQkNSUi93QUNBcWMreEJHS1lMV1FXYjIvbXFkMlFDVUp3RDlXNS9PZ0FXOGNHTGZFb2prWWdNSHp4Mk9NRGcwMzdleGlhVlk0d2drMkJuazJnanNlbnZVajI4a2dqV1JvMkNnaHhzUHpBOGV2SEgxcHYyV1laQ3pSRExoeCs2T0JnWXg5NzJGQUNHOGRJRW1hQWJXY0Q1WHo4cEdkdzQvVGluaTR1R2FUWkJHMnh3dWZONHhqT2VudUtEYlRsRkJuaitWd3dBaXdBQU9tTTBzVnMwQ1NMRTQrWnNydVhJVVlBeDFIcFFBKzJsbGxUZkpFcUFnRmRyN3M1L0FWWXFDMmplS0ZVZDFiYU1BcXVPUHpOVDBBRkZGRkFCUlJSUUFVVVVVQUZGRkZBQlJSUlFBVVVVVUFGRkZGQUJSUlJRQVZUbW5rVzRFTVNSc2NBa00rMGtmN1AwcTVWS2V6TTBvTFNONWVjbERnampwakl5UHdOQUVzc3p4enhKNWVVa08wdnU2SEJQVDhLWmRYUnQ4SFlwWEhWbkM1UG9CM1B0VHJpS2FXU05ra1JCR2R3RElXNXdSNmoxcEo0SnBGS3JNcXF5N1dEUjd2eTUvbm1nQ3lPUm1vSjVtaWFQRWU1V1lLVHV4akpBL0hyUTZTRlkxaW1NZTBqSktodHc5UC9yMGx6REpNRkNPaUJXRGZNaGJKQnlPNG9BTHE1VzJWYzdkekhBM3NGSDRtcFkyTHhxemJja1orVTVINEdvWmJkcERGSnVRVFJad3hUSTVIUEdmNjFMREg1VUt4NXp0SFhHS0FKYUtLS0FDaWlpZ0Fvb29vQXF6elR4dUFrQ01wSUFacE52SjlzR2thZVlsSTBoWHpDdVdWcE1CZnh3Yy9sVDdpS1dYWjVib20wN3ZtUXRrL21LU1dHUXlDV0tSVmZiaHR5NUJIMHlQNTBBUnRkeStXc2lRcVZKQ25lKzBodDIzSEFQZWxsdUpvb28yTUtGMmJhVTh6K1hIUEF6MnBYdG44aFk0NVZYREJtWjAzRmpuUFlqdlNTMnp6U1J0SkxoVkhLcUdVayt1UTNGQURwYmgxamllRkVrV1FnQXM1WHIwN0dyVlVWdGJoSWtqVzRqd2piZ1RHVDlCOTZyRUt5S3A4MlFPeE9jZ1lBOXNaTkFEYmlXU1BaNWNhdVdiYjh6N2Nmb2FqKzB5L0t2a3I1bm1iR0JZNEhHY2c0NTRxUzRpa2syZVhJcUZXM2ZNbTdQNmlvL3N6RkN4a0htbHcrN2I4dVFNZE05TWU5QURaTHVXTkpHYUtJQkhDRW1VZ2M0NXp0OXhVMXRLODBXOTFWUWVWS3R1RERIWG9LaWEybE1lQkt2bUdRU014VElKSFlEUEhRZDZtdDQ1STFJa2RHSFlJbTBLUFRHVFFCUFJSUlFBVVVVVUFGTkp3Q2NFNDdDblV4MTNJeTVJeU1aSFVVQVZyYTVrbVJuWlkvTHhsV2pmZCtCNDYwNkdkNUdDdEdFM3J2VERaeVBmamc4ajFwc0ZwNWJTUEkrOTM0M0VBSEhiT0FNbW5RUU9qQnBIVmlxN0Z3dU1EMzVPVHdLQUxWVklybHBHWE1ZQ3lBdEdkMlNSN2pISDYxTEdraXRJWkpkNnNjcXUwRGFQVDNxS0syYU5seklDc2FsWTFDNElIdWM4L3BRQVIzTFBLdTZNTEc1SVJ0MlNjZW94eDM3MWJxcEZiTWtpczBnWkV6c1VEQkdmVTU1NHEzUUFVVVVVQUZGRkZBQlJSUlFBVVVVVUFGRkZGQUJSUlJRQVVVVVVBRkZGRkFCUlJSUUFVVVVVQUZGRkZBQlJSUlFBVVVVVUFGRkZGQUJSUlJRQVVVVVVBRkZGRkFCUlJSUUFVVVVVQUZGRkZBQlJSUlFBVVVVVUFGRkZGQUJSUlJRQVVVVVVBRkZGRkFCUlJSUUFVVVVVQUZGRkZBQlJSUlFBVVVVVUFGRkZGQUJVVWlDUk1OdUh1cElJL0VWTFJRQlUyeVJqRHl5RmV6QUFrZlhqOWY1VklGa3dDazI0SHV5ZzUvTEZUMUMwUXlTaDJzZVNNWkIrb29BUXMrUG1qSTkxT2Y4RFRoSWpIRzduKzZlRCtYV2tXVGtLNDJzZW5PUWZvYWtaRmNZWUFpZ0Nzbm14bmFXTCtnYnFSN0gxK3Y2Vk1qaHhsVDA0SVBVSDNxQ2J6STA0eTRCRzNQVlRuQStvL1g2MFJ5ck1ESW4zME9IWHY5UDZpZ0M1UlRGWU1vSU9RUmtHbjBBRkZGRkFCUlJSUUFVVVVVQUZGRkZBQlJSUlFBVVVVVUFGRkZGQUJSUlJRQVVVVVVBRkZGRkFCUlJSUUFVVVVVQUZGRkZBQlJSUlFBVVVVVUFGRkZGQUJSUlJRQVVVVVVBTVpRd0lJQkI2Zzk2aXhKSDkzTHIvZEo1SDBQK1A1MVlvb0FydXdraVpWUHo3Y2hUd1FlM0ZSU29Xa2puZ2JCY1k5bUdNalA2L25WaG8xY0RJempvZTQraHFzeVNwOGlqZXU0RWRpQmtFalAvNnFBTEVBS29kd3dXSk9BTVlxYW9GbUE0Y2xENk1NZnIwUDRWTURrWkZBQzBVVVVBRkZGRkFCUlJUQXdKSUJCSTZqMG9BZlJSUlFBVVVVVUFGRkZGQUJSUlJRQVVVVVVBRkZGRkFCUlJSUUFVVVVVQUZGRkZBQlJSUlFBVVVVVUFGRkZGQUJSUlJRQVVVVVVBRkZGRkFCUlJSUUFVVVVVQUZSR0Zlb0JVLzdKeFV0RkFFT0psNk9ISG93d2Z6SCtGSG1PT0dpYjZnZ2ovSDlLbW9vQWg4M0krVkhZK20zSDg4VWJwVDBpQUgrMDJEK21hbW9vQWgyeUVmTklCL3VyaitlYWtWQXE0VVlGT29vQUtLS0tBQ2lpaWdBb29vb0FLS0tLQUNpaWlnQW9vb29BS0tLS0FDaWlpZ0Fvb29vQUtLS0tBQ2lpaWdBb29vb0FLS0tLQUNpaWlnQW9vb29BS0tLS0FDaWlpZ0Fvb29vQUtLS0tBQ2lpaWdBb29vb0FLS0tLQUNpaWlnQW9vb29BS0tLS0FDaWlpZ0Fvb29vQUtLS0tBQ2lpaWdBb29vb0FLS0tLQUNpaWlnQW9vb29BS0tLS0FDaWlpZ0Fvb29vQUtLS0tBQ2lpaWdBb29vb0FLS0tLQUNpaWlnQW9vb29BS0tLS0FDaWlpZ0Fvb29vQUtLS0tBQ2lpaWdBb29vb0FLS0tLQUNpaWlnQW9vb29BS0tLS0FDaWlpZ0Fvb29vQUtLS0tBQ2lvNVkza3h0bmtpeC9jQzgvbURUV2hjb3FpNWxVanF3QzViNjhmeW9BbW9xRXd1WTFVWE1vSTZzQXVUOWVNVUdGekdGKzB5Z2c4dUF1VCttUDBvQW1vcUV3djVZWDdUS0NEbmZoY24yNlkvU2p5WDhyWjlwbDNaenZ3dWZwMHgrbEFFMUZRK1MvbDdmdE11YzUzNFhQMDZZL1NnUXVJeXYybVVrbk8vQzVINlkvU2dDYWlvUkM0aksvYVpTU2VHSVhJL1RGQ3d1STJVM01wSjZNUXVSOU9NVUFUVVZDc0xoR0J1WldKNk1RdVYrbkg4NmRGRzhlZDA4a3VmNzRYajhnS0FIc3lvcFppRlVESko3VlhGOWJra2JuQkNseURHd09QWEdLbHVFTWtES3VOeEhHZWxRdEpOTEZJdjJWMCtRL2VaY2srZ3dmNTRwQVdWWU1vWWNnaklwYXpvYlo0enRoZ01HNkRhempiOS9zVGc1SjY4MGxqYUdGeVJITkd4VEJKOHNLVC93SGsvVTB3TkttUlNMS2dkQ1NwOVFSK2hxbmEyNFNXTmpaZVhJZ082VGNQbVA0SEovSEZSMnR0SXQ1NXM5dVgzWktPZHY3cjVpY2RmZnI3MEFhZFZ4ZVFHUUlIT1dPRk8wNFkreHhnMU9lbFZyY3pSckhBYmM0UWJUSnVHM0E3am5QNlVBVEpNa2tqeHJ1M0oxQlVqK2ZYcFVsVkVhWDdhN0cya0NNcXJ1SlhIQlBQWFBlb2t0MkV5bjdNUktKTW00eXZJejljOU9NWW9BMEtLekh0R2t2eEw1RGdpVU51YllWd08rZnZmaDBvTm0zMjB5dXN6TjVtNFNKNVlHUFRKK2JIYkZBR2hKSXNTN25KQXlCd0NmNVUrc3k1dDNMT1JhR1NYekF5eWhsSEdSeHljOU9NZEswaDA5S0FGb3FHU0dSM0xMY3lvUDdxaGNEODFORWtMdStWdVpZeC9kVUxqOVFhQUpxS2hraGQyeXR6TEdNZEZDNC9VR2lTRjNJSzNNcWNZd29YbjM1Qm9BbW9xR1NGM3h0dVpVd01mS0Y1OStRYUhoZGd1TG1WTURCd0Y1OXprVUFUVVZDOExzRkF1WlV3TUVnTDgzMXlLR2hkbFVDNWxVZ2NrQmN0OWNqK1ZBRTFGUXRDNVJWRnpLcEhWZ0Z5MzE0L2xRWVhNYXFMbVVFZFdBWEordkdLQUpxS2hNTG1NTDlwbEJCNWNCY245TWZwVDQwS0pocEdrUDk1c1ovUUNnQjlGRkZBQlJSUlFBVVVVVUFGRkZGQUJSUlJRQVVVVVVBRk5rZFkwTHVjS09wcDFSenZJa0xOREg1c2c2TGtEUDQwQUVVeVRBN0NlRGdobEtrZmdlYVR6MC9la25DeGZlWTlPbWFnZ2FhT0dXU1NGektlZWNaWStnQUp3UHhxVlVlM3RNSW5teUFFNHpqY3g2OC9XZ0IwZHhGS0dLbGh0R1NHVXFRUG9SbWxoblNjRW9IeC90SXk1L01WWHRoT3l5dE5DUkl5amxtQUI2L0tNRTRBL3JSYks4UmR2TG1qaUNmY2Q5NUo5dVQvbnRRQlk4MWZNWlA3Z0JZOWhTUTNNVXhJUW5PTTRaU3VSNmpQVVV5QlhqdDJjcnVsZkxzb1BmMHorUXFPMTg5NVdlNGhaR1pjWkpYQyt3d1QrZEFFOFZ6Rkt4VkdKSTU1VWdFZW9KNi9oU1JYVU16N1VZazR5TXFRR0hxQ2V2NFZEQWt1NkxmRXlDR01ya2tmT2VPbUQ3ZDhVbHNiaVM0OHk0Z1pEZ2daWmRxRDBHQ1NTZlhqcFFCWVM1aWtrTWFNU3d6L0NjSEhYQjZHcGFwd3h5NzRVYU5sV0VrN3lSaHVvR09jOSs5WEtBSVZ1b1dsOHBXSmJPTTdUalBwbnBuMnFhcWJKTEplUnVZWFhZeHl4a0JRakI2RDE1OUI5YWVzZU5RZVR5TVpqQTg3ZjE1NlkvclFCSzAwYXpMRVcrZGhrREZJYm1JVGVWdU8vT1B1bkdmVFBUUHRWWjdaMXY0NVVNekt6bG4rNWdjWXg2MDVvNVRJWXhHMjB5aVR6TWpBQXdjZGM1NHgwb0F1VlhlOGhTUm8yTGhseHVQbHRnWjk4WXF4VkdTR1NXOWtETE1zTHFGSlVwdGJHYzU3OThjVUFUbTdnVlptWjhDRTRmSVBGVEt3WlF3NkVaR1Jpc3k0dFpKZnRMZVRKa2s3Vnl1SDR3Ty9ZODFwUjU4dGNncWNESVBhZ0IxRkZGQUJSUlJRQVVVVVVBRkZGRkFCUlJSUUFVVVVVQUZGRkZBQlJSUlFBVVVVVUFGRkZGQUJSUlJRQVVVVVVBRkZGRkFCUlJSUUFVVVVVQUZGRkZBQlJSUlFBVVVVVUFGRkZGQUJSUlJRQVVVVVVBRkZGRkFCUlJSUUFVVVVVQUZGRkZBQlJSUlFBVVVVVUFGRkZGQUJSUlJRQVVVVVVBRkZGRkFCUlJSUUFVVVVVQUZGRkZBQlJSUlFBVVVVVUFGRkZGQUJSUlJRQVVVVVVBRkZGRkFCUlJSUUFVVVVVQUZGRkZBQlJSUlFBVVVVVUFGRkZGQUJSUlJRQVVVVVVBRkZGRkFCUlJSUUFVVVVVQUZGRkZBQlJSUlFBVVVVVUFGRkZGQUJSUlJRQVVVVVVBRkZGRkFCUlJSUUFVVVVVQUZGRkZBQlJSUlFBVVVVVUFGRkZGQUJSUlJRQVVVVVVBRkZGRkFCUlJSUUFVVVVVQUZGRkZBQlJSUlFBVVVVVUFGRkZGQUJSUlJRQVVVVVVBRkZGRkFCUlJSUUFVVVVVQUZGRkZBQlJSUlFBVVVVVUFGRkZGQUJSUlJRQVVVVVVBRkZGRkFCUlJSUUFVVVVVQUZGRkZBQlJSUlFBVVVVVUFmLzlrPQ==\"\r\n }\r\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{HostName}}/csh/v1/hotels/{{HotelId}}/check/{{checkNumber}}",
+ "host": [
+ "{{HostName}}"
+ ],
+ "path": [
+ "csh",
+ "v1",
+ "hotels",
+ "{{HotelId}}",
+ "check",
+ "{{checkNumber}}"
+ ]
+ },
+ "description": "It is recommended to have unique Check Numbers. \ncheckNumber and checkDate is required to be the same as checkNumber and checkDate for the related post billingCharges (prereq). checkImage is a base64 conversion of the check image."
+ },
+ "response": []
},
{
- "name": "Channel Hotel Letters",
- "item": [
- {
- "name": "get Channel Hotel Letters",
- "protocolProfileBehavior": {
- "disableBodyPruning": true
+ "name": "post Credit Bill",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "{{Token}}",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "POST",
+ "header": [
+ {
+ "key": "Content-Type",
+ "name": "Content-Type",
+ "type": "text",
+ "value": "application/json"
},
- "request": {
- "auth": {
- "type": "bearer",
- "bearer": [
- {
- "key": "undefined",
- "type": "any"
- }
- ]
- },
+ {
+ "key": "x-hotelid",
+ "type": "text",
+ "value": "{{HotelId}}"
+ },
+ {
+ "key": "x-app-key",
+ "value": "{{AppKey}}",
+ "type": "text"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"criteria\": {\r\n \"originalFolio\": {\r\n \"folioNo\": \"2178\",\r\n \"folioTypeName\": \"FOLIO\",\r\n \"internalFolioWindowID\": \"1944499\",\r\n \"folioDate\": \"2023-11-15\"\r\n },\r\n \"fullCredit\": true,\r\n \"payments\": [\r\n {\r\n \"paymentMethod\": {\r\n \"paymentMethod\": \"CA\",\r\n \"folioView\": \"1\"\r\n },\r\n \"postingAmount\": {\r\n \"amount\": \"-11.77\",\r\n \"currencyCode\": \"EUR\"\r\n },\r\n \"folioWindowNo\": \"1\"\r\n }\r\n ], \r\n \"cashierId\": {{CashierId}},\r\n \"charges\": [\r\n {\r\n \"transactionCode\": \"1000\",\r\n \"price\": {\r\n \"amount\": \"-11\",\r\n \"currencyCode\": \"EUR\"\r\n },\r\n \"postingQuantity\": 1,\r\n \"postingReference\": \"reference note\",\r\n \"folioWindowNo\": \"1\"\r\n }\r\n ]\r\n }\r\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{HostName}}/csh/v1/hotels/{{HotelId}}/creditBill",
+ "host": [
+ "{{HostName}}"
+ ],
+ "path": [
+ "csh",
+ "v1",
+ "hotels",
+ "{{HotelId}}",
+ "creditBill"
+ ]
+ },
+ "description": "API to post a credit bill to a specific folio. Folio data is found with the get Folios API."
+ },
+ "response": []
+ },
+ {
+ "name": "post PasserBy Sale",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "{{Token}}",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "POST",
+ "header": [
+ {
+ "key": "Content-Type",
+ "name": "Content-Type",
+ "type": "text",
+ "value": "application/json"
+ },
+ {
+ "key": "x-hotelid",
+ "type": "text",
+ "value": "{{HotelId}}"
+ },
+ {
+ "key": "x-app-key",
+ "value": "{{AppKey}}",
+ "type": "text"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"criteria\": {\r\n \"profileId\": {\r\n \"type\": \"Profile\",\r\n \"id\": \"{{ProfileId}}\"\r\n },\r\n \"payments\": [\r\n {\r\n \"paymentMethod\": {\r\n \"authorizationApproval\": {},\r\n \"paymentMethod\": \"CA\",\r\n \"folioView\": \"1\"\r\n },\r\n \"applyCCSurcharge\": false,\r\n \"folioWindowNo\": \"1\"\r\n }\r\n ], \r\n \"cashierId\": {{CashierId}},\r\n \"charges\": [\r\n {\r\n \"transactionCode\": \"2000\",\r\n \"articleCode\": \"200010\",\r\n \"price\": {\r\n \"amount\": \"10\",\r\n \"currencyCode\": \"EUR\"\r\n },\r\n \"postingQuantity\": 1,\r\n \"postingReference\": \" \",\r\n \"folioWindowNo\": \"1\"\r\n }\r\n ]\r\n }\r\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{HostName}}/csh/v1/hotels/{{HotelId}}/passerBySale",
+ "host": [
+ "{{HostName}}"
+ ],
+ "path": [
+ "csh",
+ "v1",
+ "hotels",
+ "{{HotelId}}",
+ "passerBySale"
+ ]
+ },
+ "description": "API to post the charge and payment transaction to a guest profile as a passerby."
+ },
+ "response": []
+ },
+ {
+ "name": "post Check Outs",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "{{Token}}",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "POST",
+ "header": [
+ {
+ "key": "Content-Type",
+ "name": "Content-Type",
+ "type": "text",
+ "value": "application/json"
+ },
+ {
+ "key": "x-hotelid",
+ "type": "text",
+ "value": "{{HotelId}}"
+ },
+ {
+ "key": "x-app-key",
+ "value": "{{AppKey}}",
+ "type": "text"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"reservation\": {\r\n \"reservationIdList\": {\r\n \"id\": {{ReservationId}},\r\n \"type\": \"Reservation\"\r\n },\r\n \"cashierId\": {{CashierId}},\r\n \"stopCheckout\": false,\r\n \"mobileCheckoutFolioEmail\": \"testemail@test.com\",\r\n \"checkoutWithOpenFolio\": false,\r\n \"mobileCheckout\": false,\r\n \"autoCheckout\": true,\r\n \"eventType\": \"CheckOut\",\r\n \"checkoutInstr\": {\r\n \"roomStatus\": \"Dirty\",\r\n \"ignoreWarnings\": true\r\n }\r\n },\r\n \"verificationOnly\": false\r\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{HostName}}/csh/v1/hotels/{{HotelId}}/reservations/{{reservationId}}/checkOuts",
+ "host": [
+ "{{HostName}}"
+ ],
+ "path": [
+ "csh",
+ "v1",
+ "hotels",
+ "{{HotelId}}",
+ "reservations",
+ "{{reservationId}}",
+ "checkOuts"
+ ]
+ },
+ "description": "Use API to request a checkout when reservation fits the criteria for check out."
+ },
+ "response": []
+ },
+ {
+ "name": "post Billing Charges -> multiple",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "{{Token}}",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "POST",
+ "header": [
+ {
+ "key": "Content-Type",
+ "name": "Content-Type",
+ "type": "text",
+ "value": "application/json"
+ },
+ {
+ "key": "x-hotelid",
+ "type": "text",
+ "value": "{{HotelId}}"
+ },
+ {
+ "key": "x-app-key",
+ "value": "{{AppKey}}",
+ "type": "text",
+ "disabled": true
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"criteria\": {\r\n \"postIt\": false,\r\n \"cashierId\": {{CashierId}},\r\n \"charges\": [\r\n {\r\n \"transactionCode\": \"7082\",\r\n \"price\": {\r\n \"amount\": \"96\",\r\n \"currencyCode\": \"USD\"\r\n },\r\n \"postingQuantity\": 1,\r\n \"checkNumber\": \"653265\",\r\n \"applyRoutingInstructions\": false,\r\n \"usePackageAllowance\": false,\r\n \"folioWindowNo\": \"1\"\r\n },\r\n {\r\n \"transactionCode\": \"7000\",\r\n \"price\": {\r\n \"amount\": \"76\",\r\n \"currencyCode\": \"USD\"\r\n },\r\n \"postingQuantity\": 1,\r\n \"checkNumber\": \"653265\",\r\n \"applyRoutingInstructions\": false,\r\n \"usePackageAllowance\": false,\r\n \"folioWindowNo\": \"1\"\r\n }\r\n ]\r\n }\r\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{HostName}}/csh/v1/hotels/{{HotelId}}/reservations/{{reservationId}}/charges",
+ "host": [
+ "{{HostName}}"
+ ],
+ "path": [
+ "csh",
+ "v1",
+ "hotels",
+ "{{HotelId}}",
+ "reservations",
+ "{{reservationId}}",
+ "charges"
+ ]
+ },
+ "description": "Post multiple charges to the reservation folio. Knowledge of the transaction codes that relate to the type of charge is needed. Use the get Transaction Codes."
+ },
+ "response": []
+ },
+ {
+ "name": "Post Fixed Charges",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "{{Token}}",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "POST",
+ "header": [
+ {
+ "key": "Content-Type",
+ "name": "Content-Type",
+ "type": "text",
+ "value": "application/json"
+ },
+ {
+ "key": "x-hotelid",
+ "type": "text",
+ "value": "{{HotelId}}"
+ },
+ {
+ "key": "x-app-key",
+ "value": "{{AppKey}}",
+ "type": "text"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"fixedCharges\": {\r\n \"schedule\": {\r\n \"start\": \"2022-04-01\",\r\n \"end\": \"2022-04-01\",\r\n \"frequency\": \"D\"\r\n },\r\n \"charge\": {\r\n \"transaction\": {\r\n \"code\": \"5010\",\r\n \"description\": \"Tickets\"\r\n },\r\n \"quantity\": \"1\",\r\n \"chargeAmount\": {\r\n \"amount\": \"25\"\r\n },\r\n \"article\": {}\r\n }\r\n }\r\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{HostName}}/csh/v1/hotels/{{HotelId}}/reservations/{{reservationId}}/fixedCharges",
+ "host": [
+ "{{HostName}}"
+ ],
+ "path": [
+ "csh",
+ "v1",
+ "hotels",
+ "{{HotelId}}",
+ "reservations",
+ "{{reservationId}}",
+ "fixedCharges"
+ ]
+ },
+ "description": "API to set Fixed Charges on a reservation. Transaction code knowledge is required. The schedule>frequency is D=Daily, with start date and an end date for which days, O=Once, with the same start date and end date, and W=Weekly, with start date and an end date for week."
+ },
+ "response": []
+ },
+ {
+ "name": "post Deposit Payments -> unallocated w/token",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "{{Token}}",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "POST",
+ "header": [
+ {
+ "key": "Content-Type",
+ "name": "Content-Type",
+ "type": "text",
+ "value": "application/json"
+ },
+ {
+ "key": "loginHotelCode",
+ "type": "text",
+ "value": "{{HotelId}}"
+ },
+ {
+ "key": "x-app-key",
+ "value": "{{AppKey}}",
+ "type": "text"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"criteria\": {\r\n \"guaranteeCode\": \"GDED\",\r\n \"updateReservationPaymentMethod\": false,\r\n \"paymentMethod\": {\r\n \"paymentCard\": {\r\n \"cardHolderName\": \"REST TEST\",\r\n \"cardType\": \"Va\",\r\n \"attachCreditCardToProfile\": false,\r\n \"processing\": \"EFT\",\r\n \"cardNumberLast4Digits\": 1881,\r\n \"cardNumber\": 8012123412345991,\r\n \"expirationDateMasked\": \"07/28\",\r\n \"cardOrToken\": \"Token\",\r\n \"cardNumberMasked\": \"XXXXXXXXXXXX1881\",\r\n \"expirationDate\": \"2028-07-31\",\r\n \"citId\": \"1234567890123456\"\r\n },\r\n \"paymentMethod\": \"VA\",\r\n \"folioView\": \"1\"\r\n },\r\n \"postingAmount\": {\r\n \"amount\": \"50\",\r\n \"currencyCode\": \"USD\"\r\n },\r\n \"cashierId\": {{CashierId}},\r\n \"applyCCSurcharge\": false,\r\n \"terminalId\": \"MobileTerminal\",\r\n \"overrideInsufficientCC\": false,\r\n \"overrideARCreditLimit\": false,\r\n \"folioWindowNo\": \"1\"\r\n }\r\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{HostName}}/csh/v1/hotels/{{HotelId}}/reservations/{{reservationId}}/depositPayments",
+ "host": [
+ "{{HostName}}"
+ ],
+ "path": [
+ "csh",
+ "v1",
+ "hotels",
+ "{{HotelId}}",
+ "reservations",
+ "{{reservationId}}",
+ "depositPayments"
+ ]
+ },
+ "description": "Post a Deposit Payment to a reservation that will initiate a deposit transaction to the integrated Payment System. This is unallocated as there is no policyId and it is including a credit card cardNumber (tokenization isn't active in PMS)."
+ },
+ "response": []
+ },
+ {
+ "name": "post Deposit Payments -> unallocated w/credit card",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "{{Token}}",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "POST",
+ "header": [
+ {
+ "key": "Content-Type",
+ "name": "Content-Type",
+ "type": "text",
+ "value": "application/json"
+ },
+ {
+ "key": "loginHotelCode",
+ "type": "text",
+ "value": "{{HotelId}}"
+ },
+ {
+ "key": "x-app-key",
+ "value": "{{AppKey}}",
+ "type": "text"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"criteria\": {\r\n \"guaranteeCode\": \"GDED\",\r\n \"updateReservationPaymentMethod\": false,\r\n \"paymentMethod\": {\r\n \"paymentCard\": {\r\n \"cardHolderName\": \"REST TEST\",\r\n \"cardType\": \"Va\",\r\n \"attachCreditCardToProfile\": false,\r\n \"processing\": \"EFT\",\r\n \"cardNumberLast4Digits\": 1881,\r\n \"cardNumber\": 4012888888881881,\r\n \"expirationDateMasked\": \"07/28\",\r\n \"cardOrToken\": \"CardNumber\",\r\n \"expirationDate\": \"2028-07-31\",\r\n \"citId\": \"1234567890123456\"\r\n },\r\n \"paymentMethod\": \"VA\",\r\n \"folioView\": \"1\"\r\n },\r\n \"postingAmount\": {\r\n \"amount\": \"50\",\r\n \"currencyCode\": \"USD\"\r\n },\r\n \"cashierId\": {{CashierId}},\r\n \"applyCCSurcharge\": false,\r\n \"terminalId\": \"MobileTerminal\",\r\n \"overrideInsufficientCC\": false,\r\n \"overrideARCreditLimit\": false,\r\n \"folioWindowNo\": \"1\"\r\n }\r\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{HostName}}/csh/v1/hotels/{{HotelId}}/reservations/{{reservationId}}/depositPayments",
+ "host": [
+ "{{HostName}}"
+ ],
+ "path": [
+ "csh",
+ "v1",
+ "hotels",
+ "{{HotelId}}",
+ "reservations",
+ "{{reservationId}}",
+ "depositPayments"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "name": "post Billing Payments -> w/token",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "{{Token}}",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "POST",
+ "header": [
+ {
+ "key": "Content-Type",
+ "name": "Content-Type",
+ "type": "text",
+ "value": "application/json"
+ },
+ {
+ "key": "x-hotelid",
+ "type": "text",
+ "value": "{{HotelId}}"
+ },
+ {
+ "key": "x-app-key",
+ "value": "{{AppKey}}",
+ "type": "text"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"criteria\": {\r\n \"overrideInsufficientCC\": false,\r\n \"applyCCSurcharge\": false,\r\n \"vATOffset\": false,\r\n \"paymentMethod\": {\r\n \"paymentCard\": {\r\n \"cardHolderName\": \"REST TEST\",\r\n \"cardType\": \"Va\",\r\n \"processing\": \"EFT\",\r\n \"cardNumberLast4Digits\": 1881,\r\n \"cardNumber\": 8012123412345963,\r\n \"expirationDateMasked\": \"07/28\",\r\n \"cardOrToken\": \"Token\",\r\n \"cardNumberMasked\": \"XXXXXXXXXXXX1881\",\r\n \"expirationDate\": \"2028-07-31\",\r\n \"citId\": \"456987321456789A\"\r\n },\r\n \"paymentMethod\": \"VA\"\r\n },\r\n \"postingReference\": \"API test -Window1\",\r\n \"postingAmount\": {\r\n \"amount\": 50,\r\n \"currencyCode\": \"USD\"\r\n },\r\n \"cashierId\": {{CashierId}},\r\n \"terminalId\": \"MobileTerm\",\r\n \"folioWindowNo\": 1,\r\n \"overrideARCreditLimit\": false\r\n }\r\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{HostName}}/csh/v1/hotels/{{HotelId}}/reservations/{{reservationId}}/payments",
+ "host": [
+ "{{HostName}}"
+ ],
+ "path": [
+ "csh",
+ "v1",
+ "hotels",
+ "{{HotelId}}",
+ "reservations",
+ "{{reservationId}}",
+ "payments"
+ ]
+ },
+ "description": "Post billing payment to a reservation folio with a token payment method. Token is defined and expected to be recognized by the integrated Payment System for the payment transaction."
+ },
+ "response": []
+ },
+ {
+ "name": "post Billing Payments -> w/credit card",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "{{Token}}",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "POST",
+ "header": [
+ {
+ "key": "Content-Type",
+ "name": "Content-Type",
+ "type": "text",
+ "value": "application/json"
+ },
+ {
+ "key": "x-hotelid",
+ "type": "text",
+ "value": "{{HotelId}}"
+ },
+ {
+ "key": "x-app-key",
+ "value": "{{AppKey}}",
+ "type": "text"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"criteria\": {\r\n \"overrideInsufficientCC\": false,\r\n \"applyCCSurcharge\": false,\r\n \"vATOffset\": false,\r\n \"paymentMethod\": {\r\n \"paymentCard\": {\r\n \"cardHolderName\": \"REST TEST\",\r\n \"cardType\": \"Va\",\r\n \"processing\": \"EFT\",\r\n \"cardNumberLast4Digits\": 1881,\r\n \"cardNumber\": 4012888888881881,\r\n \"expirationDateMasked\": \"07/28\",\r\n \"cardOrToken\": \"CardNumber\",\r\n \"expirationDate\": \"2028-07-31\",\r\n \"citId\": \"456987321456789A\"\r\n },\r\n \"paymentMethod\": \"VA\"\r\n },\r\n \"postingReference\": \"API test -Window1\",\r\n \"postingAmount\": {\r\n \"amount\": 50,\r\n \"currencyCode\": \"USD\"\r\n },\r\n \"cashierId\": {{CashierId}},\r\n \"terminalId\": \"MobileTerm\",\r\n \"folioWindowNo\": 1,\r\n \"overrideARCreditLimit\": false\r\n }\r\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{HostName}}/csh/v1/hotels/{{HotelId}}/reservations/{{reservationId}}/payments",
+ "host": [
+ "{{HostName}}"
+ ],
+ "path": [
+ "csh",
+ "v1",
+ "hotels",
+ "{{HotelId}}",
+ "reservations",
+ "{{reservationId}}",
+ "payments"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "name": "post Billing Payments -> w/internal CardId",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "{{Token}}",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "POST",
+ "header": [
+ {
+ "key": "Content-Type",
+ "name": "Content-Type",
+ "type": "text",
+ "value": "application/json"
+ },
+ {
+ "key": "x-hotelid",
+ "type": "text",
+ "value": "{{HotelId}}"
+ },
+ {
+ "key": "x-app-key",
+ "value": "{{AppKey}}",
+ "type": "text"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"criteria\": {\r\n \"paymentMethod\": {\r\n \"paymentCard\": {\r\n \"cardId\": {\r\n \"type\": \"CreditCard\",\r\n \"idContext\": \"OPERA\",\r\n \"id\": {{cardId}}\r\n },\r\n \"cardType\": \"Ax\"\r\n },\r\n \"paymentMethod\": \"AX\",\r\n \"folioView\": \"1\"\r\n },\r\n \"postingAmount\": {\r\n \"amount\": \"412\",\r\n \"currencyCode\": \"USD\"\r\n },\r\n \"applyCCSurcharge\": false,\r\n \"overrideInsufficientCC\": false,\r\n \"overrideARCreditLimit\": false,\r\n \"vATOffset\": false,\r\n \"action\": \"Billing\",\r\n \"cashierId\": {{cashierId}},\r\n \"folioWindowNo\": \"1\",\r\n \"postingReference\": \"cardid test from postman\"\r\n }\r\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{HostName}}/csh/v1/hotels/{{HotelId}}/reservations/{{reservationId}}/payments",
+ "host": [
+ "{{HostName}}"
+ ],
+ "path": [
+ "csh",
+ "v1",
+ "hotels",
+ "{{HotelId}}",
+ "reservations",
+ "{{reservationId}}",
+ "payments"
+ ]
+ },
+ "description": "API to use the card already on the reservation to make a payment on the folio. The internal cardId of the existing credit card payment method can be retrieved in the get reservation API and then used to initiate a payment transaction to the integrated Payment System."
+ },
+ "response": []
+ },
+ {
+ "name": "Request to submit a job to post the deferred taxes.",
+ "request": {
+ "method": "POST",
+ "header": [
+ {
+ "description": "(Required) Client or Partner's Application Key",
+ "key": "x-app-key",
+ "value": "{{AppKey}}"
+ },
+ {
+ "description": "(Required) Mandatory parameter to identify the hotel code where the end user is logged in",
+ "key": "x-hotelid",
+ "value": "{{HotelId}}"
+ },
+ {
+ "description": "External system code.",
+ "key": "x-externalsystem",
+ "value": "{{ExtSystem}}"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"criteria\": {\n \"hotelId\": \"{{hotelId}}\",\n \"reservationId\": {\n \"url\": \"\",\n \"type\": \"\",\n \"instance\": \"\",\n \"idContext\": \"\",\n \"id\": \"{{reservationId}}\"\n }\n }\n}",
+ "options": {
+ "raw": {
+ "headerFamily": "json",
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{HostName}}/csh/v1/hotels/{{HotelId}}/reservations/{{ReservationId}}/deferredTaxesProcess",
+ "host": [
+ "{{HostName}}"
+ ],
+ "path": [
+ "csh",
+ "v1",
+ "hotels",
+ "{{HotelId}}",
+ "reservations",
+ "{{ReservationId}}",
+ "deferredTaxesProcess"
+ ]
+ },
+ "description": "Request to submit a job to post the deferred taxes. OperationId:postDeferredTaxesProcess
"
+ },
+ "response": []
+ },
+ {
+ "name": "close Reservation Folio",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "x-app-key",
+ "value": "{{AppKey}}",
+ "type": "text"
+ },
+ {
+ "key": "x-hotelid",
+ "value": "{{HotelId}}",
+ "type": "text"
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "type": "text"
+ },
+ {
+ "key": "x-externalsystem",
+ "value": "{{ExtSystem}}",
+ "type": "text"
+ },
+ {
+ "key": "Authorization",
+ "value": "Bearer {{Token}}",
+ "type": "text"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"criteria\": {\r\n \"hotelId\": {{HotelId}},\r\n \"reservationId\": {\r\n \"type\": \"Reservation\",\r\n \"idContext\": \"OPERA\",\r\n \"id\": {{ReservationId}}\r\n },\r\n \"cashierId\": {{CashierId}}\r\n }\r\n}"
+ },
+ "url": {
+ "raw": "{{HostName}}/csh/v1/hotels/{{HotelId}}/reservations/{{ReservationId}}/folios",
+ "host": [
+ "{{HostName}}"
+ ],
+ "path": [
+ "csh",
+ "v1",
+ "hotels",
+ "{{HotelId}}",
+ "reservations",
+ "{{ReservationId}}",
+ "folios"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "name": "convert Folio",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "x-app-key",
+ "value": "{{AppKey}}",
+ "type": "text"
+ },
+ {
+ "key": "x-hotelid",
+ "value": "{{HotelId}}",
+ "type": "text"
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "type": "text"
+ },
+ {
+ "key": "x-externalsystem",
+ "value": "{{ExtSystem}}",
+ "type": "text"
+ },
+ {
+ "key": "Authorization",
+ "value": "Bearer {{Token}}",
+ "type": "text"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"criteria\": {\r\n \"hotelId\": {{HotelId}},\r\n \"folioNo\":{{FolioNo}},\r\n \"folioTypeName\": \"NOTA\",\r\n \"folioDate\": \"2019-10-07\"\r\n }\r\n}"
+ },
+ "url": {
+ "raw": "{{HostName}}/csh/v1/hotels/{{HotelId}}/folio/{{FolioNo}}/convert",
+ "host": [
+ "{{HostName}}"
+ ],
+ "path": [
+ "csh",
+ "v1",
+ "hotels",
+ "{{HotelId}}",
+ "folio",
+ "{{FolioNo}}",
+ "convert"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "name": "Change folio tax payments Copy",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "{{Token}}",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "PUT",
+ "header": [
+ {
+ "key": "x-app-key",
+ "value": "{{AppKey}}",
+ "type": "text",
+ "description": "(Required) Client or Partner's Application Key"
+ },
+ {
+ "key": "x-hotelid",
+ "value": "{{HotelId}}",
+ "type": "text",
+ "description": "(Required) Mandatory parameter to identify the hotel code where the end user is logged in"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"reverseCriteria\": {\n \"hotelId\": {{HotelId}},\n \"transactionList\": [\n \"1000\"\n ],\n \"reasonCode\": \"TST\",\n \"cashierId\": {{CashierId}}\n }\n}",
+ "options": {
+ "raw": {
+ "headerFamily": "json",
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{HostName}}/csh/v1/hotels/{{HotelId}}/cashiers/1/folioTaxPayments",
+ "host": [
+ "{{HostName}}"
+ ],
+ "path": [
+ "csh",
+ "v1",
+ "hotels",
+ "{{HotelId}}",
+ "cashiers",
+ "1",
+ "folioTaxPayments"
+ ]
+ },
+ "description": "You can use this API to change folio tax payments. OperationId:reverseFolioTaxPayment
"
+ },
+ "response": [
+ {
+ "name": "Response for the reverse Thailand Tax Payment Tax record request.",
+ "originalRequest": {
+ "method": "PUT",
+ "header": [
+ {
+ "description": "(Required) Client or Partner's Application Key",
+ "key": "x-app-key",
+ "value": "f2a96686-6998-4d92-bf6d-7e581dec7fde"
+ },
+ {
+ "description": "(Required) Mandatory parameter to identify the hotel code where the end user is logged in",
+ "key": "x-hotelid",
+ "value": ""
+ },
+ {
+ "description": "External system code.",
+ "key": "x-externalsystem",
+ "value": ""
+ },
+ {
+ "description": "Language code",
+ "key": "Accept-Language",
+ "value": ""
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json;charset=UTF-8"
+ },
+ {
+ "key": "Accept",
+ "value": "application/json;charset=UTF-8"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"reverseCriteria\": {\n \"hotelId\": \"\",\n \"transactionList\": [\n \"\",\n \"\"\n ],\n \"reasonCode\": \"\",\n \"cashierId\": \"\"\n },\n \"links\": [\n {\n \"href\": \"\",\n \"rel\": \"\",\n \"templated\": false,\n \"method\": \"PUT\",\n \"targetSchema\": \"\",\n \"operationId\": \"\",\n \"title\": \"\"\n },\n {\n \"href\": \"\",\n \"rel\": \"\",\n \"templated\": false,\n \"method\": \"HEAD\",\n \"targetSchema\": \"\",\n \"operationId\": \"\",\n \"title\": \"\"\n }\n ],\n \"warnings\": [\n {\n \"value\": \"\",\n \"shortText\": \"\",\n \"code\": \"\",\n \"docURL\": \"\",\n \"status\": \"\",\n \"tag\": \"\",\n \"recordId\": \"\",\n \"type\": \"\",\n \"language\": \"qM-rXyaR13-J0LCULQ-JxdLJ-4JyvCUY-peb\",\n \"rph\": \"\"\n },\n {\n \"value\": \"\",\n \"shortText\": \"\",\n \"code\": \"\",\n \"docURL\": \"\",\n \"status\": \"\",\n \"tag\": \"\",\n \"recordId\": \"\",\n \"type\": \"\",\n \"language\": \"Hnakol-ud-DpQ0-Z-XenFA81F-XDAXThxc-FV-M4Tx-KMF-kT5Z3ld2\",\n \"rph\": \"\"\n }\n ]\n}",
+ "options": {
+ "raw": {
+ "headerFamily": "json",
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/hotels/:hotelId/cashiers/:cashierId/folioTaxPayments",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "hotels",
+ ":hotelId",
+ "cashiers",
+ ":cashierId",
+ "folioTaxPayments"
+ ],
+ "variable": [
+ {
+ "key": "hotelId"
+ },
+ {
+ "key": "cashierId"
+ }
+ ]
+ }
+ },
+ "status": "OK",
+ "code": 200,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json;charset=UTF-8"
+ },
+ {
+ "key": "Content-Language",
+ "value": "EyRvNOAb-5uWb-3aasMI-NCcCrJ-KrumcIL-GZZYddBo-jVH-Oz0Cy-k",
+ "description": {
+ "content": "Audience language",
+ "type": "text/plain"
+ }
+ },
+ {
+ "key": "Location",
+ "value": "",
+ "description": {
+ "content": "Location of newly created resource",
+ "type": "text/plain"
+ }
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"postings\": [\n {\n \"referenceTransactionNo\": \"\",\n \"remark\": \"\",\n \"reference\": \"\",\n \"checkNo\": \"\",\n \"checkCount\": \"\",\n \"postedAmount\": {\n \"amount\": \"\",\n \"currencyCode\": \"\"\n },\n \"price\": {\n \"amount\": \"\",\n \"currencyCode\": \"\"\n },\n \"quantity\": \"\",\n \"transactionType\": \"Revenue\",\n \"creditAmount\": {\n \"amount\": \"\",\n \"currencyCode\": \"\"\n },\n \"debitAmount\": {\n \"amount\": \"\",\n \"currencyCode\": \"\"\n },\n \"articleCode\": \"\",\n \"cashierInfo\": {\n \"cashierId\": \"\",\n \"cashierName\": \"\"\n },\n \"paidOut\": \"\",\n \"arrangementCode\": \"\",\n \"groupTypeInfo\": {\n \"groupId\": \"\",\n \"groupCount\": \"\",\n \"groupDescription\": \"\",\n \"subGroupId\": \"\"\n },\n \"rateCode\": \"\",\n \"compRedemptionCode\": \"\",\n \"updateInfo\": {\n \"updateDate\": \"\",\n \"updateBy\": \"\"\n },\n \"fbaCertificate\": \"\",\n \"taxInvoiceNo\": \"\",\n \"serviceRecovery\": \"\",\n \"compPostingsInfo\": {\n \"authorizer\": \"\",\n \"approvalStatus\": \"\"\n },\n \"financialTransactionIdList\": [\n {\n \"id\": \"\",\n \"type\": \"\"\n },\n {\n \"id\": \"\",\n \"type\": \"\"\n }\n ],\n \"exchange\": {\n \"debitAmount\": {\n \"amount\": \"\",\n \"currencyCode\": \"\"\n },\n \"creditAmount\": {\n \"amount\": \"\",\n \"currencyCode\": \"\"\n }\n },\n \"approvalCode\": \"\",\n \"approvalStatus\": \"\",\n \"stampDuty\": \"\",\n \"customCharge\": \"\",\n \"transactionNo\": \"\",\n \"transactionDate\": \"\",\n \"transactionCode\": \"\",\n \"transactionDescription\": \"\",\n \"transactionAmount\": \"\",\n \"postingDate\": \"\",\n \"postingTime\": {\n \"time\": \"\",\n \"timezone\": \"\"\n },\n \"revenueDate\": \"\",\n \"receiptNo\": \"\",\n \"officialBIRReceiptExists\": \"\",\n \"roundingDifferenceTrx\": \"\",\n \"commissionable\": \"\",\n \"reversePaymentTransactionNo\": \"\",\n \"canAdjustInvoice\": \"\",\n \"depositTransactionId\": \"\",\n \"groupByCount\": \"\",\n \"folioWindowNo\": \"\",\n \"deferredTax\": \"\",\n \"awardTransaction\": \"\",\n \"covers\": \"\"\n },\n {\n \"referenceTransactionNo\": \"\",\n \"remark\": \"\",\n \"reference\": \"\",\n \"checkNo\": \"\",\n \"checkCount\": \"\",\n \"postedAmount\": {\n \"amount\": \"\",\n \"currencyCode\": \"\"\n },\n \"price\": {\n \"amount\": \"\",\n \"currencyCode\": \"\"\n },\n \"quantity\": \"\",\n \"transactionType\": \"Revenue\",\n \"creditAmount\": {\n \"amount\": \"\",\n \"currencyCode\": \"\"\n },\n \"debitAmount\": {\n \"amount\": \"\",\n \"currencyCode\": \"\"\n },\n \"articleCode\": \"\",\n \"cashierInfo\": {\n \"cashierId\": \"\",\n \"cashierName\": \"\"\n },\n \"paidOut\": \"\",\n \"arrangementCode\": \"\",\n \"groupTypeInfo\": {\n \"groupId\": \"\",\n \"groupCount\": \"\",\n \"groupDescription\": \"\",\n \"subGroupId\": \"\"\n },\n \"rateCode\": \"\",\n \"compRedemptionCode\": \"\",\n \"updateInfo\": {\n \"updateDate\": \"\",\n \"updateBy\": \"\"\n },\n \"fbaCertificate\": \"\",\n \"taxInvoiceNo\": \"\",\n \"serviceRecovery\": \"\",\n \"compPostingsInfo\": {\n \"authorizer\": \"\",\n \"approvalStatus\": \"\"\n },\n \"financialTransactionIdList\": [\n {\n \"id\": \"\",\n \"type\": \"\"\n },\n {\n \"id\": \"\",\n \"type\": \"\"\n }\n ],\n \"exchange\": {\n \"debitAmount\": {\n \"amount\": \"\",\n \"currencyCode\": \"\"\n },\n \"creditAmount\": {\n \"amount\": \"\",\n \"currencyCode\": \"\"\n }\n },\n \"approvalCode\": \"\",\n \"approvalStatus\": \"\",\n \"stampDuty\": \"\",\n \"customCharge\": \"\",\n \"transactionNo\": \"\",\n \"transactionDate\": \"\",\n \"transactionCode\": \"\",\n \"transactionDescription\": \"\",\n \"transactionAmount\": \"\",\n \"postingDate\": \"\",\n \"postingTime\": {\n \"time\": \"\",\n \"timezone\": \"\"\n },\n \"revenueDate\": \"\",\n \"receiptNo\": \"\",\n \"officialBIRReceiptExists\": \"\",\n \"roundingDifferenceTrx\": \"\",\n \"commissionable\": \"\",\n \"reversePaymentTransactionNo\": \"\",\n \"canAdjustInvoice\": \"\",\n \"depositTransactionId\": \"\",\n \"groupByCount\": \"\",\n \"folioWindowNo\": \"\",\n \"deferredTax\": \"\",\n \"awardTransaction\": \"\",\n \"covers\": \"\"\n }\n ],\n \"trxCodesInfo\": [\n {\n \"description\": \"\",\n \"transactionGroup\": \"\",\n \"transactionSubGroup\": \"\",\n \"universalProductCode\": \"\",\n \"routingInstructionsId\": \"\",\n \"articles\": [\n {\n \"description\": \"\",\n \"transactionCode\": \"\",\n \"price\": {\n \"amount\": \"\",\n \"currencyCode\": \"\"\n },\n \"postIt\": {\n \"availableForPostIt\": \"\",\n \"color\": \"White\"\n },\n \"universalProductCode\": \"\",\n \"hotelId\": \"\",\n \"articleCode\": \"