{"activeVersionTag":"latest","latestAvailableVersionTag":"latest","collection":{"info":{"_postman_id":"8bfc1ab7-3de3-4a90-92f2-9496d9b2ab9a","name":"Xconnect API","description":"<h2>Introduction</h2>\n\n<p><br>&nbsp; &nbsp; &nbsp; The purpose of this document is to provide technical details about the API's. This document outlines the business processes supported by the API and details about specifications of API’s. It assumes that reader has a technical background and is familiar with JSON, API's. Examples are given for each API please refere sample for ease.<br><b>Note:If You have any query, Please contact API support team on apisupport@technoheaven.com ,also cc ankit@technoheaven.net in each mail for immediate response.</b></p>\n\n<h4>Connection properties</h4>\n\n<table><tbody><tr><th>Request<br></th><th>value<br></th><th>Description</th></tr><tr><td><div>Request Method</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td><td><div>POST</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td><td><div>The requested method.</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>Content-Type</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td><td><div>application/json</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td><td><div>The content type.</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td></tr></tbody></table>\n\n<h4>Request/Response</h4>\n\n<p><br>It is recommended that at least all booking and cancellation transactions sent through the Test / Live environment should be logged and maintained by the hotel agent for at least 6 months.<br></p>\n\n<h4>Authentication</h4>\n\n<p>Authentication is done by 2 measures:<br>1. Whitelisted IP - submitted before the development process begin.<br>2. API key - also provided during the development and after certification process.</p>\n\n<h4>Client Requirements</h4>\n\n<ul><li><p>Client requests must be issued from a public, static IP address registered with System.</p></li><li><p>Client requests must be made via an HTTPS POST request.</p></li><li><p>Use SSL.</p></li><li><p>All data sent and received via the interface will be encoded in UTF-8.</p></li><li><p>we use deflate compression for response.</p></li></ul>\n\n<h4>Development Phase</h4>\n\n<p><br>&nbsp; &nbsp; &nbsp; Once you receive your Access token, you can start the development of your application/framework. The whole process of communication consists of simple JSON messages exchange (request /response) between your application/framework and system. Each request needs to be posted (through POST method) using https protocols. For details regarding requests and answers formats please consult the dedicated area of each request. For further assistance in development process do not hesitate to contact our support team on<a href=\"null\">apisupport@technoheaven.com</a></p>\n\n<h2>Important note</h2>\n\n<ul><p></p><li><p>Follow these guidelines when searching for properties for your test bookings, even for static tests. Being diligent in your property selection will help you avoid incurring any accidental charges during your booking tests.<br></p></li><li><p>To use different nationality of different countries use same name in countries api response.</p></li><li><p>Verify the booking will be outside of the hotel's cancellation policy.</p></li><li><p>Never pick next-day or same-day availabilities, even to test promos.</p></li><li><p>Shop a few months ahead whenever possible.</p></li><li><p>Use RealName for book API.</p></li><li><p>Never automate static booking tests -we may flag or temporarily disable your account.</p></li><li><p>Shopping at least a few months ahead and paying attention to Policy will help you avoid the most common problems with test bookings. Remember, client is not responsible for any unintentional live or nonrefundable bookings you place during testing.</p></li><li><p>Make sure you cancel each test booking using api, if face any issue in cancellation contact us immediately.</p></li><li><p>Always do refundable feature booking and cancel booking after done.</p></li><li><p>No duplication allowed for internalreference, it must be unique for each time you hit that api.</p></li></ul>\n\n<h4>Status &amp; Error Code</h4>\n\n<table><tbody><tr><th><b>No</b></th><th><b>Status Code</b></th><th><b>Description</b></th></tr><tr><td><div>1</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td><td><div>200</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td><td><div>OK</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>2</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td><td><div>400</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td><td><div>Bad Request</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>3</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td><td><div>401</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td><td><div>Unauthorized</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>4</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td><td><div>403</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td><td><div>Forbidden</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>5</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td><td><div>404</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td><td><div>Not Found</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>6</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td><td><div>500</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td><td><div>Internal Server Error</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>7</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td><td><div>503</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td><td><div>Service Unavailable</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>8</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td><td><div>429</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td><td><div>Too Many Requests (QPS Limit exceeds)</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td></tr></tbody></table>\n\n<h4>Date Format</h4>\n\n<ul><li><p>Date format send to Payload MM-DD-YYYY</p></li></ul>\n\n<h2>Error and Description</h2>\n\n<table><tbody><tr><th><b>ErrorCode</b></th><th><b>ErrorType</b></th><th><b>ErrorDescription</b></th></tr><tr><td><div>INTERNAL_ERROR</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td><td><div>API_ERROR</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td><td><div>The server was unable to process the request due to an internal error</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>NOTPERMITTED_ERROR</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td><td><div>Permission</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td><td><div>1.Bookings within cancellation deadline are not permitted for this User.<br><br><br><br><br>2.Bookings are not permitted for this User.<br></div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>CacheNotAvailable</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td><td><div>CacheNotAvailable</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td><td><div>Access to one of the cache failed. The cache for this search key is no longer available</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>DUPLICATION_ERROR</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td><td><div>Duplicate</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td><td><div>1.Bookings within cancellation deadline are not permitted for this User<br><br><br><br><br>2.Booking token already exist for this criteria<br></div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>MISMATCH_ERROR</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td><td><div>Mismatch</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td><td><div>1.Pricing could not complete - rate missing.<br><br><br><br><br>2.Data mismatch from previous response.<br></div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>CacheNotAvailable</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td><td><div>CacheNotAvailable</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td><td><div>Access to one of the cache failed. The cache for this search key is no longer available</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>INVALID_REQUEST</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td><td><div>RequestError</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td><td><div>Request is not well formed please check and try again.</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>NOCOUNT_ERROR</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td><td><div>GENERAL</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td><td><div>1.No record found for given criteria<br><br><br><br><br>2.No availability found for given criteria try search with other criteria<br></div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td></tr></tbody></table>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","isPublicCollection":false,"owner":"11578141","collectionId":"8bfc1ab7-3de3-4a90-92f2-9496d9b2ab9a","publishedId":"TVKBYJAE","public":true,"publicUrl":"https://documenter-api.postman.tech/view/11578141/TVKBYJAE","privateUrl":"https://go.postman.co/documentation/11578141-8bfc1ab7-3de3-4a90-92f2-9496d9b2ab9a","customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"documentationLayout":"classic-double-column","customisation":null,"version":"8.11.2","publishDate":"2020-09-19T04:55:18.000Z","activeVersionTag":"latest","documentationTheme":"light","metaTags":{},"logos":{}},"statusCode":200},"environments":[],"user":{"authenticated":false,"permissions":{"publish":false}},"run":{"button":{"js":"https://run.pstmn.io/button.js","css":"https://run.pstmn.io/button.css"}},"web":"https://www.getpostman.com/","team":{"logo":"https://res.cloudinary.com/postman/image/upload/t_team_logo_pubdoc/v1/team/768118b36f06c94b0306958b980558e6915839447e859fe16906e29d683976f0","favicon":""},"isEnvFetchError":false,"languages":"[{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"HttpClient\"},{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"RestSharp\"},{\"key\":\"curl\",\"label\":\"cURL\",\"variant\":\"cURL\"},{\"key\":\"dart\",\"label\":\"Dart\",\"variant\":\"http\"},{\"key\":\"go\",\"label\":\"Go\",\"variant\":\"Native\"},{\"key\":\"http\",\"label\":\"HTTP\",\"variant\":\"HTTP\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"OkHttp\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"Unirest\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"Fetch\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"jQuery\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"XHR\"},{\"key\":\"c\",\"label\":\"C\",\"variant\":\"libcurl\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Axios\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Native\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Request\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Unirest\"},{\"key\":\"objective-c\",\"label\":\"Objective-C\",\"variant\":\"NSURLSession\"},{\"key\":\"ocaml\",\"label\":\"OCaml\",\"variant\":\"Cohttp\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"cURL\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"Guzzle\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"HTTP_Request2\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"pecl_http\"},{\"key\":\"powershell\",\"label\":\"PowerShell\",\"variant\":\"RestMethod\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"http.client\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"Requests\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"httr\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"RCurl\"},{\"key\":\"ruby\",\"label\":\"Ruby\",\"variant\":\"Net::HTTP\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"Httpie\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"wget\"},{\"key\":\"swift\",\"label\":\"Swift\",\"variant\":\"URLSession\"}]","languageSettings":[{"key":"csharp","label":"C#","variant":"HttpClient"},{"key":"csharp","label":"C#","variant":"RestSharp"},{"key":"curl","label":"cURL","variant":"cURL"},{"key":"dart","label":"Dart","variant":"http"},{"key":"go","label":"Go","variant":"Native"},{"key":"http","label":"HTTP","variant":"HTTP"},{"key":"java","label":"Java","variant":"OkHttp"},{"key":"java","label":"Java","variant":"Unirest"},{"key":"javascript","label":"JavaScript","variant":"Fetch"},{"key":"javascript","label":"JavaScript","variant":"jQuery"},{"key":"javascript","label":"JavaScript","variant":"XHR"},{"key":"c","label":"C","variant":"libcurl"},{"key":"nodejs","label":"NodeJs","variant":"Axios"},{"key":"nodejs","label":"NodeJs","variant":"Native"},{"key":"nodejs","label":"NodeJs","variant":"Request"},{"key":"nodejs","label":"NodeJs","variant":"Unirest"},{"key":"objective-c","label":"Objective-C","variant":"NSURLSession"},{"key":"ocaml","label":"OCaml","variant":"Cohttp"},{"key":"php","label":"PHP","variant":"cURL"},{"key":"php","label":"PHP","variant":"Guzzle"},{"key":"php","label":"PHP","variant":"HTTP_Request2"},{"key":"php","label":"PHP","variant":"pecl_http"},{"key":"powershell","label":"PowerShell","variant":"RestMethod"},{"key":"python","label":"Python","variant":"http.client"},{"key":"python","label":"Python","variant":"Requests"},{"key":"r","label":"R","variant":"httr"},{"key":"r","label":"R","variant":"RCurl"},{"key":"ruby","label":"Ruby","variant":"Net::HTTP"},{"key":"shell","label":"Shell","variant":"Httpie"},{"key":"shell","label":"Shell","variant":"wget"},{"key":"swift","label":"Swift","variant":"URLSession"}],"languageOptions":[{"label":"C# - HttpClient","value":"csharp - HttpClient - C#"},{"label":"C# - RestSharp","value":"csharp - RestSharp - C#"},{"label":"cURL - cURL","value":"curl - cURL - cURL"},{"label":"Dart - http","value":"dart - http - Dart"},{"label":"Go - Native","value":"go - Native - Go"},{"label":"HTTP - HTTP","value":"http - HTTP - HTTP"},{"label":"Java - OkHttp","value":"java - OkHttp - Java"},{"label":"Java - Unirest","value":"java - Unirest - Java"},{"label":"JavaScript - Fetch","value":"javascript - Fetch - JavaScript"},{"label":"JavaScript - jQuery","value":"javascript - jQuery - JavaScript"},{"label":"JavaScript - XHR","value":"javascript - XHR - JavaScript"},{"label":"C - libcurl","value":"c - libcurl - C"},{"label":"NodeJs - Axios","value":"nodejs - Axios - NodeJs"},{"label":"NodeJs - Native","value":"nodejs - Native - NodeJs"},{"label":"NodeJs - Request","value":"nodejs - Request - NodeJs"},{"label":"NodeJs - Unirest","value":"nodejs - Unirest - NodeJs"},{"label":"Objective-C - NSURLSession","value":"objective-c - NSURLSession - Objective-C"},{"label":"OCaml - Cohttp","value":"ocaml - Cohttp - OCaml"},{"label":"PHP - cURL","value":"php - cURL - PHP"},{"label":"PHP - Guzzle","value":"php - Guzzle - PHP"},{"label":"PHP - HTTP_Request2","value":"php - HTTP_Request2 - PHP"},{"label":"PHP - pecl_http","value":"php - pecl_http - PHP"},{"label":"PowerShell - RestMethod","value":"powershell - RestMethod - PowerShell"},{"label":"Python - http.client","value":"python - http.client - Python"},{"label":"Python - Requests","value":"python - Requests - Python"},{"label":"R - httr","value":"r - httr - R"},{"label":"R - RCurl","value":"r - RCurl - R"},{"label":"Ruby - Net::HTTP","value":"ruby - Net::HTTP - Ruby"},{"label":"Shell - Httpie","value":"shell - Httpie - Shell"},{"label":"Shell - wget","value":"shell - wget - Shell"},{"label":"Swift - URLSession","value":"swift - URLSession - Swift"}],"layoutOptions":[{"value":"classic-single-column","label":"Single Column"},{"value":"classic-double-column","label":"Double Column"}],"versionOptions":[],"environmentOptions":[{"value":"0","label":"No Environment"}],"canonicalUrl":"https://documenter.gw.postman.com/view/metadata/TVKBYJAE"}