Show Map Marker
GET
/api/managing-entity/{managingEntityIdentifier}/studio/map/marker/{channelInventoryIdentifier}
const url = 'https://api.wink.travel/api/managing-entity/owner-1/studio/map/marker/channel-inventory-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/owner-1/studio/map/marker/channel-inventory-1 \ --header 'Wink-Version: 2.0'Retrieve map marker for individual channel inventory.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” managingEntityIdentifier
required
string
Show map markers for map owned by this owner identifier.
Example
owner-1 channelInventoryIdentifier
required
string
Show map marker for specific inventory.
Example
channel-inventory-1Header Parameters
Section titled “Header Parameters ” Wink-Version
string
Responses
Section titled “ Responses ”OK
Media type application/json
Inventory map marker
object
channelInventoryIdentifier
required
Identifier of the list, channel inventory or search
string
point
required
Location of inventory
object
x
number format: double
y
number format: double
type
string
coordinates
Array<number>
supplierIdentifier
required
Hotel identifier
string format: uuid
supplierName
required
Hotel name
string
inventoryIdentifier
required
Actual inventory identifier
string format: uuid
inventoryType
required
Type of inventory
string
inventoryName
required
Name of inventory
string
lowestDisplayPrice
required
Lowest price of inventory in desired currency
object
amount
required
number
currency
required
string
Example
nullBad 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
{}