Skip to content

List OTA Categories (deprecated)

Deprecated
GET
/reference-data/ota/list
curl --request GET \
--url https://api.wink.travel/reference-data/ota/list \
--header 'Authorization: Bearer <token>' \
--header 'Wink-Version: 2.0'

List the supported OTA code categories as code/name pairs. Categories represent groupings of OTA codes (e.g., LOC for location codes, RTS for room type status).

Deprecated — removed after Thu, 01 Oct 2026 00:00:00 GMT. The OTA vocabulary is now published as a static reference at https://wink.travel/developers/taxonomy. Hardcode the codes from there rather than fetching them.

Wink-Version
string
default: 2.0.0
Allowed values: 2.0

OK

Media typeapplication/json
Array<object>

Immutable key-value pair associating a machine-readable value with a human-readable label.

object
label
required

English readable text of the value.

string
"" >= 1 characters
value
required

The value that should be persisted.

string
"" >= 1 characters
Example
[
{
"label": "Hotel & Resort",
"value": "HOTEL"
}
]

Bad Request — missing or invalid request parameter or body

Media typeapplication/problem+json
object
detail
string
instance
string format: uri
properties
object
key
additional properties
status
integer format: int32
title
string
type
string format: uri
key
additional properties
""
Example

Unauthorized — authentication is required or the session has expired

Media typeapplication/problem+json
object
detail
string
instance
string format: uri
properties
object
key
additional properties
status
integer format: int32
title
string
type
string format: uri
key
additional properties
""
Example

Forbidden — authenticated but lacking the required permission or scope

Media typeapplication/problem+json
object
detail
string
instance
string format: uri
properties
object
key
additional properties
status
integer format: int32
title
string
type
string format: uri
key
additional properties
""
Example

Not Found — the requested resource does not exist

Media typeapplication/problem+json
object
detail
string
instance
string format: uri
properties
object
key
additional properties
status
integer format: int32
title
string
type
string format: uri
key
additional properties
""
Example

Method Not Allowed — the HTTP verb is not supported on this endpoint

Media typeapplication/problem+json
object
detail
string
instance
string format: uri
properties
object
key
additional properties
status
integer format: int32
title
string
type
string format: uri
key
additional properties
""
Example

Conflict — the resource was modified by someone else since you read it; re-read it and retry with the new version

Media typeapplication/problem+json
object
detail
string
instance
string format: uri
properties
object
key
additional properties
status
integer format: int32
title
string
type
string format: uri
key
additional properties
""
Example

Unsupported Media Type — use application/json

Media typeapplication/problem+json
object
detail
string
instance
string format: uri
properties
object
key
additional properties
status
integer format: int32
title
string
type
string format: uri
key
additional properties
""
Example

Internal Server Error — an unexpected failure occurred on the server

Media typeapplication/problem+json
object
detail
string
instance
string format: uri
properties
object
key
additional properties
status
integer format: int32
title
string
type
string format: uri
key
additional properties
""
Example

Service Unavailable — a downstream dependency is unreachable

Media typeapplication/problem+json
object
detail
string
instance
string format: uri
properties
object
key
additional properties
status
integer format: int32
title
string
type
string format: uri
key
additional properties
""
Example