Skip to end of banner
Go to start of banner

RoomTypes

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

RoomType by Hotel

Method: GET
Path: /publisher​s/{publisherCode}​/hotel​s/{hotelCode}​/roomTypes
Description: Lists all the Room Types for a specific hotel and publisher.

Parameters

Name

Located in

Description

Required

Type

publisherCode

path

The unique identifier for the data publisher. Please refer to PMS RequestorID/publisherCode list

Yes

string

hotelCode

path

The code that uniquely identifies a single hotel property.

Yes

string

Responses

Code

Description

Schema

200

OK

RoomType

401

Unauthorized

Error

403

Forbidden

Error

429

Too Many Requests

TooManyRequests

500

Internal Server Error

Error

RoomType by Room Type

Method: GET
Path: ​/publisher​s/{publisherCode}​/hotel​s/{hotelCode}​/roomTypes​/{roomTypeCode}
Description: Get a specific room type for a specific hotel and publisher.

Parameters

Name

Located in

Description

Required

Type

publisherCode

path

The unique identifier for the data publisher. Please refer to PMS RequestorID/publisherCode list

Yes

string

hotelCode

path

The code that uniquely identifies a single hotel property.

Yes

string

roomTypeCode

path

The code that identifies a Room Type.

Yes

string

Responses

Code

Description

Schema

200

OK

RoomType

401

Unauthorized

Error

403

Forbidden

Error

429

Too Many Requests

TooManyRequests

500

Internal Server Error

Error

Availability by Room Type

Method: GET
Path: ​/publisher​s/{publisherCode}​/hotel​s/{hotelCode}​/roomTypes​/{roomTypeCode}​/availability
Description: Get all availability for a specific room type, date range, hotel and publisher.

Parameters

Name

Located in

Description

Required

Type

publisherCode

path

The unique identifier for the data publisher. Please refer to PMS RequestorID/publisherCode list

Yes

string

hotelCode

path

The code that uniquely identifies a single hotel property.

Yes

string

roomTypeCode

path

The code that identifies a Room Type.

Yes

string

startDate

query

Start date to query for availability. Format like yyyy-MM-dd i.e 2017-07-21.

Yes

date

range

query

The number of days to query for. Maximum 30.

No

number

Responses

Code

Description

Schema

200

OK

Availability

401

Unauthorized

Error

403

Forbidden

Error

429

Too Many Requests

TooManyRequests

500

Internal Server Error

Error

  • No labels