API reference

HTS APIs

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

Schema

check_in_restricted

Restricted check-in information for a lodging

Fields

type
string enum
required

Discriminator value for restricted check-in

Values restricted · Example restricted
begin_time
Time

Time of day without date information

Show fields
hours
integer
required

Hours in 24-hour format (0-23)

Range ≥ 0, ≤ 23 · Example 15
minutes
integer
required

Minutes (0-59)

Range ≥ 0, ≤ 59 · Example 30
seconds
integer

Seconds (0-59), defaults to 0

Default 0 · Range ≥ 0, ≤ 59 · Example 0
end_time
Time

Time of day without date information

Show fields
hours
integer
required

Hours in 24-hour format (0-23)

Range ≥ 0, ≤ 23 · Example 15
minutes
integer
required

Minutes (0-59)

Range ≥ 0, ≤ 59 · Example 30
seconds
integer

Seconds (0-59), defaults to 0

Default 0 · Range ≥ 0, ≤ 59 · Example 0
time_zone
string

Time zone for the check-in/check-out times (optional)

Example America/New_York
Example
{
  "type": "restricted",
  "begin_time": {
    "hours": 15,
    "minutes": 30,
    "seconds": 0
  },
  "end_time": {
    "hours": 15,
    "minutes": 30,
    "seconds": 0
  },
  "time_zone": "America/New_York"
}