Skip to content

Verify Managing Entity Url Name

POST
/api/managing-entity-url-name-check
curl --request POST \
--url https://api.wink.travel/api/managing-entity-url-name-check \
--header 'Content-Type: application/json' \
--header 'Wink-Version: 2.0' \
--data '{ "name": "", "identifier": "" }'

Check if url name is unique

Wink-Version
string
default: 2.0.0
Allowed values: 2.0
Media type application/json
object
name
required

The name we want to check uniqueness for

string
"" >= 1 characters
Example
My unique name
identifier

An optional accompanying identifier so it doesn’t check itself on an update

string format: uuid
""

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