Skip to content

Show Attraction Usage

GET
/api/managing-entity/{managingEntityIdentifier}/extranet/inventory-usage/attraction/{attractionIdentifier}
curl --request GET \
--url https://api.wink.travel/api/managing-entity/hotel-1/extranet/inventory-usage/attraction/attraction-1 \
--header 'Wink-Version: 2.0'

Retrieve an aggregate report where specified attraction is being used on affiliate real estate.

managingEntityIdentifier
required
string
""

Hotel identifier blocking owner

Example
hotel-1
attractionIdentifier
required
string
""

Attraction identifier

Example
attraction-1
Wink-Version
string
default: 2.0.0
Allowed values: 2.0

OK

Media type application/json
object
inventoryIdentifier
required

Inventory type identifier

string format: uuid
"" >= 1 characters
name
required

Name of the inventory

string
"" >= 1 characters
type
required

Inventory type

string
""
Allowed values: GUEST_ROOM ADD_ON MEETING_ROOM RESTAURANT SPA ATTRACTION PLACE ACTIVITY
itemList
required

How the inventoryIdentifier is currently being used

Array<object>
""
object
usage
required

The type of technology using the inventory

string
""
Allowed values: RATE_MODIFIER LINK CARD LIST MAP
count
required
integer format: int64
referenced
boolean
Example
{
"inventoryIdentifier": "",
"name": "",
"type": "GUEST_ROOM",
"itemList": ""
}

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