Show Categories
GET
/api/managing-entity/{managingEntityIdentifier}/studio/browse/category/list
const url = 'https://api.wink.travel/api/managing-entity/owner-1/studio/browse/category/list';const options = {method: 'GET', headers: {'Wink-Version': '2.0'}};
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/managing-entity/owner-1/studio/browse/category/list \ --header 'Wink-Version: 2.0'Retrieve a list of all active supplier and blocking categories.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” managingEntityIdentifier
required
string
List search categories on behalf of this owner identifier.
Example
owner-1Header Parameters
Section titled “Header Parameters ” Wink-Version
string
Responses
Section titled “ Responses ”OK
Media type application/json
Array<object>
object
type
required
Type of search category.
string
key
required
Usually the OTA inventory code.
string
value
required
Usually the OTA inventory code value.
string
count
Quantity of items in this category.
integer format: int64
identifier
UUID.
string
Example
[ { "type": "HOTEL", "key": "", "value": "", "count": "", "identifier": "" }]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" }}object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties
object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties
object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties
object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties
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
{}