Skip to content

List My Mappings

GET
/api/property-embeddings/external/mappings
curl --request GET \
--url https://api.wink.travel/api/property-embeddings/external/mappings \
--header 'Wink-Version: 2.0'

List all external ID mappings owned by the calling application.

Wink-Version
string
default: 2.0.0
Allowed values: 2.0

OK

Media type application/json
Array<object>
object
id

Document UUID

string
""
createdDate

Datetime this record was first created

string format: date-time
""
lastUpdate

Datetime this record was last updated

string format: date-time
""
version

Version property that shows how many times this document has been persisted. Document will not persist if the version property is less than current version property in the system. Result in an optimistic locking exception.

integer format: int64
""
hotelId

Internal hotel identifier in the property_embeddings vector store

string
""
namespace

Partner namespace (e.g. ‘booking.com’, ‘expedia’, ‘tripadvisor’)

string
""
externalId

The partner’s identifier for this property within their namespace

string
""
ownerIdentifier

OAuth2 application identifier of the partner that registered this mapping

string
""
Example
[
{
"id": "",
"createdDate": "",
"lastUpdate": "",
"version": "",
"hotelId": "",
"namespace": "",
"externalId": "",
"ownerIdentifier": ""
}
]

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
{}