List registered mappings
const url = 'https://api.wink.travel/api/property-embeddings/external/mappings';const options = { method: 'GET', headers: {'Wink-Version': '2.0', Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.wink.travel/api/property-embeddings/external/mappings \ --header 'Authorization: Bearer <token>' \ --header 'Wink-Version: 2.0'Returns every external ID mapping registered by the calling application. Includes hotelId, externalId, and management metadata.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Header Parameters
Section titled “Header Parameters ”Responses
Section titled “ Responses ”List of mappings retrieved successfully
object
Document UUID
Datetime this record was first created
Datetime this record was last updated
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.
Internal hotel identifier in the property_embeddings vector store
Partner namespace (always PARTNER for externally registered mappings)
The partner’s identifier for this property within their namespace
OAuth2 application (client) identifier of the partner that registered this mapping
Example
[ { "id": "", "createdDate": "", "lastUpdate": "", "version": "", "hotelId": "", "namespace": "", "externalId": "", "ownerIdentifier": "" }]Bad Request
object
object
Example generated
{ "type": "https://example.com", "title": "example", "status": 1, "detail": "example", "instance": "https://example.com", "properties": { "additionalProperty": "example" }}object
object
object
object
object
object
object
object
Missing or invalid JWT authentication
Forbidden
object
object
Internal Server Error
object
Example generated
{}