Skip to content

Show activity

GET
/api/managing-entity/{managingEntityIdentifier}/extranet/inventory-usage/activity/{activityIdentifier}
curl --request GET \
--url https://api.wink.travel/api/managing-entity/hotel-1/extranet/inventory-usage/activity/activity-1 \
--header 'Authorization: Bearer <token>' \
--header 'Wink-Version: 2.0'

Aggregates every affiliate sales channel currently selling the given activity.

managingEntityIdentifier
required
string
""

Hotel identifier blocking owner

Example
hotel-1
activityIdentifier
required
string
""

Activity identifier

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

OK

Media type application/json

Tracks how a piece of sellable inventory is referenced across the platform

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": "3c6b1a5d-8e2f-4a0b-9c7d-6e4f0a8b2c51",
"name": "Deluxe River View Room",
"type": "GUEST_ROOM",
"itemList": [
{
"usage": "RATE_MODIFIER",
"count": 3
},
{
"usage": "LINK",
"count": 1
}
],
"referenced": true
}

Bad Request — missing or invalid request parameter or body

Media type application/problem+json
object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties
key
additional properties
""
Example

Unauthorized — authentication is required or the session has expired

Media type application/problem+json
object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties
key
additional properties
""
Example

Forbidden — authenticated but lacking the required permission or scope

Media type application/problem+json
object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties
key
additional properties
""
Example

Not Found — the requested resource does not exist

Media type application/problem+json
object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties
key
additional properties
""
Example

Method Not Allowed — the HTTP verb is not supported on this endpoint

Media type application/problem+json
object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties
key
additional properties
""
Example

Unsupported Media Type — use application/json

Media type application/problem+json
object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties
key
additional properties
""
Example

Internal Server Error — an unexpected failure occurred on the server

Media type application/problem+json
object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties
key
additional properties
""
Example

Service Unavailable — a downstream dependency is unreachable

Media type application/problem+json
object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties
key
additional properties
""
Example