Show Restaurant Usage
GET
/api/managing-entity/{managingEntityIdentifier}/extranet/inventory-usage/restaurant/{restaurantIdentifier}
const url = 'https://api.wink.travel/api/managing-entity/hotel-1/extranet/inventory-usage/restaurant/restaurant-1';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/hotel-1/extranet/inventory-usage/restaurant/restaurant-1 \ --header 'Wink-Version: 2.0'Retrieve an aggregate report where specified rate plan is being used on affiliate real estate.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” managingEntityIdentifier
required
string
Hotel identifier inventoryowner
Example
hotel-1 restaurantIdentifier
required
string
Restaurant identifier
Example
restaurant-1Header Parameters
Section titled “Header Parameters ” Wink-Version
string
Responses
Section titled “ Responses ”OK
Media type application/json
object
inventoryIdentifier
required
Inventory type identifier
string format: uuid
name
required
Name of the inventory
string
type
required
Inventory type
string
itemList
required
How the inventoryIdentifier is currently being used
Array<object>
object
usage
required
The type of technology using the inventory
string
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" }}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
{}