Skip to content

Search Lookups

GET
/api/public/{managingEntityIdentifier}/search
curl --request GET \
--url 'https://api.wink.travel/api/public//search?term=Los%20A' \
--header 'Wink-Version: 2.0'

Searches for hotels, cities or countries by the search term.

managingEntityIdentifier
required
string
""

Managing entity identifier

term
required
string
""

Search for lookups by this term

Example
Los A
Wink-Version
string
default: 2.0.0
Allowed values: 2.0

OK

Media type application/json
Array<object>
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
""
locationX

Longitude

number format: double
""
locationY

Latitude

number format: double
""
location

GeoJson 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": "",
"locationX": "",
"locationY": "",
"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
{}