This method will allow you to get the full rates and availability files and store them on your system, allowing you do show rates without the need to use the API. The Static Rates and Availability method is aimed at accounts who for different reasons cannot work with the default pull mechanism. Due to the high cost of this method, it will be enabled for high-volume accounts only, and with a setup fee and a monthly fee, as well as a high monthly minimum booking threshold.Send an XML request using your regular Mishor credentials and get the latest available file. Note that you will need to the HTTP request to a different server, given to you by your account manager: Request: <request version="4.0"> <auth> <username>example</username> <password>example</password> <agent>example</agent> </auth> <hotel-static-results> <entity entityType="location" entityID="3474" /> <entity entityType="location" entityID="1234" /> ... </hotel-static-results> </request> Response: <response success="1" time="2016-01-23 13:49:32" session="xx.123456789"> <hotel-static-results> <entity entityType="location" entityID="3474"> <item>http://files.push.innstant-servers.com/xxx/static_xxx.csv</item> <item>http://files.push.innstant-servers.com/xxx/availability_xxx.csv</item> </entity> <entity entityType="location" entityID="1234"> <item>http://files.push.innstant-servers.com/xxx/static_xxx.csv</item> <item>http://files.push.innstant-servers.com/xxx/availability_xxx.csv</item> </entity> </hotel-static-results> </response> for each service opened on your account for static handling, you will get a node with a url to download a zip file containing an XML with the static data. The rates and availability files are CSV files, and the content is based on the client account setup. every few hours a new .zip file is generated with a CSV file for each city, so if for example your account is set up with 1,000 cities - you will get a .zip file with 1,000 csv files inside. The structure of the files is as follows: static_xxx.csv file, static information about rooms available for booking:
availability_xxx.csv file,availability and pricing data for the rooms available for booking:
Notes:
|