Common objects

These are JSON object definitions and other JSON entities shared by operations across the API.

Time interval

{
    "StartUtc": "2020-01-05T00:00:00Z",
    "EndUtc": "2020-01-10T00:00:00Z"
}
PropertyTypeContractDescription

StartUtc

string

required

Start of the interval in UTC timezone in ISO 8601 format (see Datetimes).

EndUtc

string

required

End of the interval in UTC timezone in ISO 8601 format (see Datetimes).

String update value

{
    "Value": "182a56ee-037d-4da5-b6f8-ada8006e7d5c"
}
PropertyTypeContractDescription

Value

string

optional

Value which is to be updated.

Bool update value

{
    "Value": false
}
PropertyTypeContractDescription

Value

boolean

optional

Value which is to be updated.

Number update value

{
    "Value": 6
}
PropertyTypeContractDescription

Value

number

optional

Value which is to be updated.

Integer update value

{
    "Value": 5
}
PropertyTypeContractDescription

Value

integer

optional

Value which is to be updated.

Array of strings update value

{
    "Value": 
    [
        "182a56ee-037d-4da5-b6f8-ada8006e7d5c",
        "4a1a7f12-4024-41ba-9289-f90448682d3a"
    ]
}
PropertyTypeContractDescription

Value

array of strings

optional

Value which is to be updated.

Dictionary

Dictionary is a collection of key-value pairs, where both keys and values are strings.

{
    "TaxIdentifier": "CZ8810310963",
    "CityOfRegistration": "Prague"
}
PropertyTypeContractDescription

?Key?

string

optional

Some value corresponding to the ?Key? unique identifier. Cannot be null.

Dictionary of integers

Dictionary of integers is a collection of key-value pairs, where keys are strings and the values are arrays of integer.

{
    "OutOfOrderBlocks": [0, 1, 0, 0, 1],
    "PublicAvailabilityAdjustment": [7, 5, 4, 3, 4]
}
PropertyTypeContractDescription

?Key?

array of integer

optional

A set of integer values corresponding to the ?Key? unique identifier. Cannot be null.

Activity state

  • Active - indicates active record.

  • Deleted- indicates deleted record.

Localized text

A Dictionary object where the keys are Language codes and the corresponding values are versions of the text in the respective language. For example:

{
    "cs-CZ": "Děti",
    "da-DK": "Børn",
    "de-CH": "Kinder",
    "de-DE": "Kinder",
    "el-GR": "Παιδιά",
    "en-GB": "Children"
}

Profile data

PropertyTypeContractDescription

Discriminator

required

Type of the profile data.

EnterpriseProfile

optional

Enterprise profile data.

Profile data discriminator

  • Personal

  • Enterprise

  • Platform

  • Static

  • Integration

Enterprise profile data

PropertyTypeContractDescription

ProfileId

string

required

Unique identifier of the profile.

Amount

PropertyTypeContractDescription

Currency

string

required

ISO-4217 code of the Currency.

NetValue

number

required

Net value without taxes.

GrossValue

number

required

Gross value including all taxes.

TaxValues

array of Tax value

required

The tax values applied.

Breakdown

required

Information about individual tax amounts.

Tax value

PropertyTypeContractDescription

Code

string

optional

Code corresponding to tax type.

Value

number

required

Amount of tax applied.

Tax breakdown

PropertyTypeContractDescription

Items

required

Tax breakdown items per each tax rate applied.

Tax breakdown item

PropertyTypeContractDescription

TaxRateCode

string

optional

Tax rate code for the item. null for untaxed amounts.

NetValue

number

required

The net value that the tax is calculated from.

TaxValue

number

required

The value of the tax.

Currency value (ver 2018-06-07)

Usage of this value is deprecated. Where possible, use the properties exposing the Amount instead.

PropertyTypeContractDescription

Currency

string

required

ISO-4217 code of the Currency.

Value

number

optional

Amount in the currency.

Net

number

optional

Deprecated!

Tax

number

optional

Deprecated!

TaxRate

number

optional

Deprecated!

Currency value (ver 2023-02-02)

PropertyTypeContractDescription

Currency

string

required

Value

number

required

Resource Feature Classification

  • SeaView

  • RiverView

  • OceanView

  • TwinBeds

  • DoubleBed

  • RollawayBed

  • UpperBed

  • LowerBed

  • Balcony

  • AccessibleBathroom

  • AccessibleRoom

  • ElevatorAccess

  • HighFloor

  • Kitchenette

  • AirConditioning

  • PrivateJacuzzi

  • PrivateSauna

  • EnsuiteRoom

  • PrivateBathroom

  • SharedBathroom

Activity State

  • Deleted

  • Active

Last updated