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_ratingproperty_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
typestring enum
required
Discriminator value for star-based rating
Values
star · Example starratingnumber
required
Star rating from 1 to 5
Range ≥ 1, ≤ 5 · Example
4Example
{
"property_rating": {
"type": "star",
"rating": 4
}
}