API reference

HTS APIs

Every endpoint, schema and error code, rendered from the published OpenAPI files, in the order you integrate them.

Schema

rating

Rating information for a lodging

Fields

property_rating
property_rating · one of 1

The property rating information

Show fields

The property rating information

Exactly one of the following, selected by type:
star_rating (star_property_rating) star_property_rating
type
string enum
required

Discriminator value for star-based rating

Values star · Example star
rating
number
required

Star rating from 1 to 5

Range ≥ 1, ≤ 5 · Example 4
Example
{
  "property_rating": {
    "type": "star",
    "rating": 4
  }
}