Skip to content

Show by channel

GET
/api/managing-entity/{managingEntityIdentifier}/extranet/sales/inventory/{inventoryTypeIdentifier}/list
curl --request GET \
--url https://api.wink.travel/api/managing-entity//extranet/sales/inventory//list \
--header 'Authorization: Bearer <token>' \
--header 'Wink-Version: 2.0'

Returns the same underlying inventory item as it is offered across each sales channel, one selectable key/value pair per channel (labelled by channel owner and flagged enabled/disabled), sorted by label.

managingEntityIdentifier
required
string
""

The property ID to retrieve sales channels for

inventoryTypeIdentifier
required
string
""

The inventory type ID to retrieve sales channel for

Wink-Version
string
default: 2.0.0
Allowed values: 2.0

OK

Media type application/json
Array<object>
object
value
required

The value that should be persisted.

string
"" >= 1 characters
label
required

English readable text of the value.

string
"" >= 1 characters
selected
required

Whether record is selected or not.

boolean
Example
[
{
"value": "",
"label": "",
"selected": false
}
]

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