{"activeVersionTag":"latest","latestAvailableVersionTag":"latest","collection":{"info":{"_postman_id":"5aa5772a-2b8d-4bf1-b69e-525d8975fe25","name":"Xconnect API - Withinearth","description":"<div class=\"col-sm-12 col-md-12\">\r\n                                    <div class=\"jumbotron\">\r\n                                        <h2>Introduction</h2>\r\n                                    </div>\r\n                                    <div class=\"datadiv\">\r\n                                        <p>\r\n                                            &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. \r\n                                            <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> \r\n                                        </p>\r\n                                        <h4 class=\"mb5\">Connection properties </h4><table  cellspacing=\"0\" cellpadding=\"0\" border=\"1\">\r\n                                            <thead>\r\n                                                <tr>\r\n                                                    <th>Request\r\n                                                    </th>\r\n                                                    <th>value\r\n                                                    </th>\r\n                                                    <th>Description</th>\r\n                                                </tr>\r\n                                            </thead>\r\n                                            <tbody>\r\n                                                <tr>\r\n                                                    <td>Request Method</td>\r\n                                                    <td>POST</td>\r\n                                                    <td>The requested method. </td>\r\n                                                </tr>\r\n                                                <tr>\r\n                                                    <td>Content-Type</td>\r\n                                                    <td>application/json</td>\r\n                                                    <td>The content type. </td>\r\n                                                </tr>\r\n                                            </tbody>\r\n                                        </table>\r\n                                        <br />\r\n                                        <br />\r\n                                        <h4 class=\"mb5\">Request/Response </h4>\r\n                                        <p>\r\n                                            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.\r\n                                        </p>\r\n                                        <h4 class=\"mb5\">Authentication</h4>\r\n                                        <p>    Authentication is done by 2 measures:<br/> 1. Whitelisted IP - submitted before the development process begin.<br/>  \t2. API key - also provided during the development and after certification process.                      </p>\r\n                                        <h4 class=\"mb5\">Client Requirements </h4>\r\n                                        <ul>\r\n                                            <li>Client requests must be issued from a public, static IP address registered  with System. </li>\r\n                                            <li>Client requests must be made via an HTTPS POST request. </li>\r\n                                            <li>Use SSL. </li>\r\n                                            <li>All data sent and received via the interface will be encoded in UTF-8. </li>\r\n                                            <li>we use deflate compression for response.</li>\r\n                                        </ul>\r\n                                        <h4 class=\"mb5\">Development Phase </h4>\r\n                                        <p>\r\n                                            &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 >apisupport@technoheaven.com </a> .\r\n                                        </p>\r\n                                    </div>\r\n                                </div>\r\n                                <div class=\"bhoechie-tab-content\">                            <div class=\"datadiv\">\r\n                                <div class=\"row\">                                    <div class=\"col-sm-12 col-md-12 col-lg-12\">\r\n                                        <div class=\"jumbotron\">                                            <h2>Important note </h2>\r\n                                        </div>\r\n                                        <ul>                                            <li>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.\r\n                                            </li>\r\n                                            <li>Please use city id : {{testcityid}} . for testing purpose.</li>\r\n                                            <li>To use different nationality of different countries  use same name in countries api response.</li>\r\n                                            <li>Verify the booking will be outside of the hotel's cancellation policy.</li>\r\n                                            <li>Never pick next-day or same-day availabilities, even to test promos.</li>\r\n                                            <li>Shop a few months ahead whenever possible.</li>\r\n                                            <li>Use Real Name for first name and last name.Do not use test name.</li>\r\n                                            <li>Never automate static booking tests -we may flag or temporarily disable your account.</li>\r\n                                            <li>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.</li>\r\n                                            <li>Make sure you cancel each test booking using api, if face any issue in cancellation contact us immediately.</li>\r\n                                            <li>Always do refundable feature booking  and  cancel booking after done. </li>\r\n                                            <li>No duplication allowed for internalreference, it must be unique for each time you hit that api.</li>\r\n                                        </ul>\r\n                                    </div>\r\n                                </div>\r\n                            </div>\r\n                        </div>                        <h4 class=\"mb5\">Status & Error Code</h4>\r\n                                            <table width=\"50%\" class=\"mytable mt10 table table-bordered table-hover\" cellspacing=\"0\" cellpadding=\"0\" border=\"1\">\r\n                                                <thead>\r\n                                                    <tr>\r\n                                                        <th class=\"wd_100\"><b>No</b></th>\r\n                                                        <th class=\"wd250\"><b>Status Code</b></th>\r\n                                                        <th class=\"\"><b>Description</b></th>\r\n                                                    </tr>\r\n                                                </thead>\r\n                                                <tbody>\r\n                                                    <tr>\r\n                                                        <td>1</td>\r\n                                                        <td>200</td>\r\n                                                        <td>OK</td>\r\n                                                    </tr>\r\n                                                    <tr>\r\n                                                        <td>2</td>\r\n                                                        <td>400</td>\r\n                                                        <td>Bad Request</td>\r\n                                                    </tr>\r\n                                                    <tr>\r\n                                                        <td>3</td>\r\n                                                        <td>401</td>\r\n                                                        <td>Unauthorized</td>\r\n                                                    </tr>\r\n                                                    <tr>\r\n                                                        <td>4</td>\r\n                                                        <td>403</td>\r\n                                                        <td>Forbidden</td>\r\n                                                    </tr>\r\n                                                    <tr>\r\n                                                        <td>5</td>\r\n                                                        <td>404</td>\r\n                                                        <td>Not Found</td>\r\n                                                    </tr>\r\n                                                    <tr>\r\n                                                        <td>6</td>\r\n                                                        <td>500</td>\r\n                                                        <td>Internal Server Error</td>\r\n                                                    </tr>\r\n                                                    <tr>\r\n                                                        <td>7</td>\r\n                                                        <td>503</td>\r\n                                                        <td>Service Unavailable</td>\r\n                                                    </tr>\r\n                                                    <tr>\r\n                                                        <td>8</td>\r\n                                                        <td>429</td>\r\n                                                        <td>Too Many Requests (QPS Limit exceeds)</td>\r\n                                                    </tr>\r\n                                                </tbody>\r\n                                            </table>\r\n                                            <br />\r\n                                             <h4 class=\"mb5\">Date Format</h4>\r\n                                            <ul>\r\n                                                <li>Date format send to Payload MM-DD-YYYY</li>\r\n                                            </ul>\r\n                                            <div class=\"jumbotron\">\r\n                                        <h2>Error and Description </h2>\r\n                                    </div>\r\n                                    <div class=\"datadiv\">\r\n                                        <table class=\"mytable text-center table table-bordered table-hover\" cellspacing=\"0\" cellpadding=\"0\" border=\"1\">\r\n                                            <thead>\r\n                                                <tr>\r\n                                                    <th class=\"wd250\"><b>ErrorCode </b></th>\r\n                                                    <th class=\"wd250\"><b>ErrorType </b></th>\r\n                                                    <th class=\"wd250\"><b>ErrorDescription</b></th>\r\n                                                </tr>\r\n                                            </thead>\r\n                                            <tbody>\r\n                                                <tr>\r\n                                                    <td>INTERNAL_ERROR</td>\r\n                                                    <td>API_ERROR </td>\r\n                                                    <td>The server was unable to process the request due to an internal error</td>\r\n                                                </tr>\r\n                                                <tr>\r\n                                                    <td>NOTPERMITTED_ERROR</td>\r\n                                                    <td>Permission</td>\r\n                                                    <td>1.Bookings within cancellation deadline are not permitted for this User.\r\n                                                       <br />\r\n                                                        <br />\r\n                                                        2.Bookings are not permitted for this User.\r\n                                                    </td>\r\n                                                </tr>\r\n                                                <tr>\r\n                                                    <td>CacheNotAvailable</td>\r\n                                                    <td>CacheNotAvailable</td>\r\n                                                    <td>Access to one of the cache failed. The cache for this search key is no longer available</td>\r\n                                                </tr>\r\n                                                <tr>\r\n                                                    <td>DUPLICATION_ERROR</td>\r\n                                                    <td>Duplicate</td>\r\n                                                    <td>1.Bookings within cancellation deadline are not permitted for this User\r\n                                                        <br />\r\n                                                        <br />\r\n                                                        2.Booking token already exist for this criteria\r\n                                                    </td>\r\n                                                </tr>\r\n                                                <tr>\r\n                                                    <td>MISMATCH_ERROR</td>\r\n                                                    <td>Mismatch</td>\r\n                                                    <td>1.Pricing could not complete - rate missing.\r\n                                                        <br />\r\n                                                        <br />\r\n                                                        2.Data mismatch from previous response.\r\n                                                    </td>\r\n                                                </tr>\r\n                                                <tr>\r\n                                                    <td>CacheNotAvailable</td>\r\n                                                    <td>CacheNotAvailable</td>\r\n                                                    <td>Access to one of the cache failed. The cache for this search key is no longer available   </td>\r\n                                                </tr>\r\n                                                <tr>\r\n                                                    <td>INVALID_REQUEST</td>\r\n                                                    <td>RequestError</td>\r\n                                                    <td>Request is not well formed please check and try again.</td>\r\n                                                </tr>\r\n                                                <tr>\r\n                                                    <td>NOCOUNT_ERROR</td>\r\n                                                    <td>GENERAL</td>\r\n                                                    <td>1.No record found for given criteria\r\n                                                        <br />\r\n                                                        <br />\r\n                                                        2.No availability found for given criteria try search with other criteria\r\n                                                    </td>\r\n                                                </tr>\r\n                                            </tbody>\r\n                                        </table>\r\n                                    </div>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","isPublicCollection":false,"owner":"11578141","collectionId":"5aa5772a-2b8d-4bf1-b69e-525d8975fe25","publishedId":"TVCY6XQq","public":true,"publicUrl":"https://documenter-api.postman.tech/view/11578141/TVCY6XQq","privateUrl":"https://go.postman.co/documentation/11578141-5aa5772a-2b8d-4bf1-b69e-525d8975fe25","customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"documentationLayout":"classic-double-column","customisation":null,"version":"8.10.1","publishDate":"2020-08-25T12:06:06.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/TVCY6XQq"}