Skip to main content

LosDto

The Length of Stay (LOS) represents accumulated prices per check-in date and length of stay. If the map is empty, no pricing is available for the apartment.

los objectrequired

The key is an ISO calendar date (YYYY-MM-DD) representing the check-in date. The value is a list of price configurations for that date. A single check-in date may have multiple entries with different guest counts, each representing a separate pricing tier.

checkInDate object[]
  • Array [
  • currencystring<iso-4217>required

    ISO 4217 currency code.

    Example: EUR
    guestsintegerrequired

    Maximum number of guests this configuration applies to (adults + kids, babies excluded). A configuration with guests=2 applies to searches for 1 or 2 guests. Multiple entries with different guest values may exist for the same check-in date, allowing tiered pricing based on occupancy (e.g., guests=2 for base price, guests=4 for a higher rate).

    Example: 2
    pricenumber<decimal>[]required

    Accumulated prices indexed by length of stay. Element at index N represents the total price for an (N+1)-night stay starting on the parent check-in date. A value of 0 means checkout is not permitted on that day (encodes minimum stay rules). Maximum 62 entries.

    Possible values: <= 62

    Example: [0,0,300,400,500]
  • ]
  • LosDto
    {
    "los": {
    "2024-06-01": [
    {
    "currency": "EUR",
    "guests": 2,
    "price": [
    0,
    0,
    300,
    400,
    500
    ]
    },
    {
    "currency": "EUR",
    "guests": 4,
    "price": [
    0,
    0,
    350,
    460,
    580
    ]
    }
    ],
    "2024-06-02": [
    {
    "currency": "EUR",
    "guests": 2,
    "price": [
    0,
    150,
    280
    ]
    }
    ]
    }
    }