For the complete documentation index, see llms.txt. This page is also available as Markdown.

API Hotel Property

Endpoint: content/property

Content đầy đủ của một khách sạn. Master không tồn tại trả 29 PROPERTY_NOT_FOUND.

Request

Field
Kiểu
Bắt buộc
Mô tả

masterId

string (chữ số)

✔

Id khách sạn

language

enum

vi | en

{ "masterId": "30715", "language": "vi" }

Response — Property đầy đủ. Content không có thông tin liên hệ trực tiếp của khách sạn.

Field
Kiểu
Mô tả

masterId, name, latitude, longitude

Như content/properties

address

object

line, line2, city, province, postalCode, country (alpha-2), countryName

propertyType

string

Ví dụ Khách sạn, Căn hộ

starRating

number

Ví dụ 4.5

guestRating

object

score, count, recommendationPercent, overall, cleanliness, service, comfort, condition, location, neighborhood, quality, value, amenities — tất cả là chuỗi. Field nào nguồn không có thì không trả

checkin

object

{ from, to }, ví dụ 14:00 – 23:00

checkout

object

{ until }, ví dụ 12:00

checkinTime, checkoutTime

string

Bằng checkin.from / checkout.until; giữ cho đối tác đã tích hợp bản 1.0.0

descriptions[], policies[], fees[]

array

{ type, text }; text có thể chứa HTML đơn giản

amenities[]

array

{ id, name, group }

themes[], spokenLanguages[]

array

statistics[]

array

{ name, value } — số tầng, số phòng…

images[]

array

{ url, caption, position }

roomTypes[]

array

Tối đa 4 loại phòng tiêu biểu

Cập nhật lần cuối