Skip to content

Show Lookup

GET
/api/public/{managingEntityIdentifier}/lookup/{urlName}
curl --request GET \
--url 'https://api.wink.travel/api/public//lookup/los-angeles?type=CITY' \
--header 'Wink-Version: 2.0'

Show lookup object by its unique url name.

managingEntityIdentifier
required
string
""

Managing entity identifier

urlName
required
string
""

Show lookup by unique url name

Example
los-angeles
type
required
string
""

Filter on type

Example
CITY
Wink-Version
string
default: 2.0.0
Allowed values: 2.0

OK

Media type application/json
object
identifier

Unique lookup identifier

string format: uuid
""
type

Type of lookup

string
""
Allowed values: CITY ISLAND HOTEL SPA MEETING_ROOM RESTAURANT ATTRACTION ACTIVITY PLACE COUNTRY
typeIdentifier

Unique lookup type identifier

string format: uuid
""
name

Name of lookup

string
""
urlName

Url-friendly slug that uniquely identifies this lookup

string
""
ownerIdentifier

Lookup that is supplier inventory includes the supplier identifier

string format: uuid
""
ownerName

Lookup that is supplier inventory includes the supplier name

string
""
cityName

Closest city where lookup entry is located

string
""
countryName

Country where lookup entry is located

string
""
subCountryName

State where lookup entry is located

string
""
subSubCountryName

County where lookup entry is located

string
""
countryCode

Country code

string
""
ownerType

The type of owner that created this lookup

string
""
Allowed values: TRAVELIKO HOTEL
languageCode

The language the lookup code was written in

string
""
sort

Platform-specific sort

integer format: int32
""
origin

If this lookup is the origin lookup.

boolean
lowercaseName

Name in lower case

string
""
location
required

Geo-location

object
x
number format: double
y
number format: double
type
string
coordinates
Array<number>
Example
{
"identifier": "",
"type": "CITY",
"typeIdentifier": "",
"name": "",
"urlName": "",
"ownerIdentifier": "",
"ownerName": "",
"cityName": "",
"countryName": "",
"subCountryName": "",
"subSubCountryName": "",
"countryCode": "",
"ownerType": "TRAVELIKO",
"languageCode": "",
"sort": "",
"origin": false,
"lowercaseName": "",
"location": ""
}

Bad Request

object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties
Example generated
{
"type": "https://example.com",
"title": "example",
"status": 1,
"detail": "example",
"instance": "https://example.com",
"properties": {
"additionalProperty": "example"
}
}

Unauthorized

Media type */*
object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties

Forbidden

Media type */*
object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties

Internal Server Error

object
Example generated
{}