Hotel Region Dump

Hotel Region Dump

https://api.worldota.net/api/b2b/v3/hotel/region/dump/

The call gets the hotels of all available ETG regions.

ℹ️

The dump is:

  • An archive.
  • Updated every week.

The ETG generates one archive only.

⚠️
Content indexing isn’t allowed.

Request example

curl --user <KEY_ID>:<API_KEY> 'https://api.worldota.net/api/b2b/v3/hotel/region/dump/'

Response

url String required
The URL for downloading the dump.
last_update DateTime optional
The last date and time of updating the dump.

Response example

{
  "data": {
    "last_update": "2020-07-01T00:38:13Z",
    "url": "https://example.com/region/region.json.zst"
  },
  "debug": null,
  "error": null,
  "status": "ok"
}

Errors

The error field has the value specified in the headers below.

dump_not_ready

The dump is in processing. Try to send the request later.