Skip to main content

LOS Records

Overview

Check out our guide: Understanding LOS Records

Parameters

NameTypeRead/WriteDescription
rentalIntegerReadRental's ID related to the LOS record
accountIntegerReadAccount's ID related to the LOS record
idBigIntegerReadUniq identifier.
kindStringReadLOS record's kind. For possible values visit the enums section.
dayDateReadDay for which this LOS record is valid.
min_occupancyIntegerReadMinimum occupancy for which this LOS record is valid.
max_occupancyIntegerReadMaximum occupancy for which this LOS record is valid.
original_currencyStringReadOriginal currency that LOS record was generated with (useful when using exchange_to_currency query param as a reference currency). The list of codes can be found in the enums section.
currencyStringReadRequested currency of the LOS records, by default same as original_currency. The list of codes can be found in the enums section.
exchange_rateDecimalReadThe rate used to convert from original_currency to currency.
ratesArrayReadStarting from a one day length of stay, array lists rates up to 30 days. Rate will equal 0.0, if corresponding length is invalid with minimum_stay setting.
created_atTimeReadLOS record's creation time.

Search LOS records

Search parameters allow to filter LOS records by specified fields.

Example:

GET /los_records?rental_id=1&kinds=rental_price_before_special_offers,rental_price&exchange_currency_to=EUR

Search Parameters

NameTypeDefaultDescription
exchange_to_currencyStringCode of the currency in which the rates are to be returned. The accepted codes can be found in the enums section.
kindsStringList of comma separated kinds. Returns only LOS records for this kind(s). For possible values visit the enums section.
rental_idStringRequired list of comma separated IDs. Returns only LOS records for this rental(s)
updated_sinceTimeOnly LOS records updated after given time.