API

To use these functions, API access must be allowed in the menu SETTINGS >> ACCOUNT >> ACCOUNT ACCESS.

Usage

Please observe the following guidelines when using the API

CSV

Use these to download or upload data using a CSV file.

getBookingsCSV
putBookingsCSV
getRatesCSV
putRatesCSV
getInvoicesCSV
putInvoicesCSV
getInvoiceesCSV
putInvoiceesCSV
getRoomDailyCSV
putRoomDailyCSV

OTA

Build an interface to a booking page or PMS system

JSON_HotelAvail Get availability and price (JSON)
OTA_HotelAvail Get availability and price (XML)
OTA_HotelRes Save a booking (XML)

JSON

Functions based on JSON data format

getBookings
setBooking
getAvailabilities
getDescriptions
createAccount
getAccount
setAccount
createProperties
getProperties
getProperty
setProperty
getPropertyContent
setPropertyContent
getRoomDates
setRoomDates
getDailyPriceSetup
setDailyPriceSetup
getRates
setRate
setRates
getRateLinks
setRateLinks
getInvoicees
getInvoices
getMessages
setMessage

XML

Functions based on XML data format
Use the JSON functions for new designs. These XML functions are no longer under active development.

getAccount
putAccount
getProperties
putProperties
getInventories
putInventories
getBookings
putBookings



Common Error Codes

Error CodeError Meaning
1009 Not allowed for this role
1010 No write access
1016 Usage limit exceeded in last 5 minutes
1020 Usage limit exceeded in last 5 minutes
1021 Account has no credit
1022 Not whitelisted