Skip to content

Check Property Url Slug Uniqueness

GET
/api/property/unique/url-name
curl --request GET \
--url 'https://api.wink.travel/api/property/unique/url-name?urlName=blue-orchid&hotelIdentifier=hotelIdentifier' \
--header 'Wink-Version: 2.0'

Check if hotel name is a unique.

urlName
required
string
""

Search for uniqueness for this hotel url name.

Example
blue-orchid
hotelIdentifier
string
""

Optional, existing hotel identifier

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

OK

Media type application/json
object
unique
boolean
Example generated
{
"unique": true
}

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