GetRoomsChangelog
Use this endpoint to check the rooms_v2_canonical
details updates
Path | /rooms-changelog |
---|---|
Method | GET |
URLSearchParams | GetRoomsChangelogURLSearchParams |
Response body | GetRoomsChangelogResBody |
GetRoomsChangelogURLSearchParams
Field Name | Type | Description |
---|---|---|
updated_at | String |
e.g: 2023-05-05T03:11:00Z |
GetRoomsChangelog request example
curl --request GET \
--url 'https://content.rakutentravelxchange.com/rooms-changelog?updated_at=2023-05-05T23%3A59%3A59%2B08%3A00' \
--header 'accept-encoding: gzip' \
--header 'content-type: application/json' \
--header 'user-agent: <your company name>' \
--header 'x-api-key: <your api key>'
GetRoomsChangelogResBody
Field Name | Type | Description |
---|---|---|
data.items | [<RoomsChangelogData>] | nullable | Collection of a list of objects containing property codes and their room codes |
RoomsChangelogData
Field Name | Type | Description |
---|---|---|
property code | string |
|
room code | array of room codes []string |
|
GetRoomsChangelog response example
{
"data": {
"items": [
"property_code": "9CPH",
"room_code": [
"1000001",
"2345678"
]
]
}
}
, multiple selections available,