Show Properties
GET
/api/channel-manager/property/list
const url = 'https://integrations.wink.travel/api/channel-manager/property/list?page=0&size=25';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://integrations.wink.travel/api/channel-manager/property/list?page=0&size=25' \ --header 'Wink-Version: 2.0'The properties endpoint provides the entry point into the listener and is used to list properties you have access to.
Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ” page
string
Page through all properties owned by your account
Example
0 size
string
Limit results of records per page
Example
25Header Parameters
Section titled “Header Parameters ” Wink-Version
string
Responses
Section titled “ Responses ”OK
Media type application/json
object
totalElements
integer format: int64
totalPages
integer format: int32
size
integer format: int32
content
Array<object>
object
identifier
required
Property ID
string format: uuid
name
required
Property name
string
city
required
City property is located in or near
string
countryCode
required
Country code property is located in
string
currencyCode
required
Currency code property uses
string
timeZone
required
Timezone property is located in
string
number
integer format: int32
sort
object
empty
boolean
sorted
boolean
unsorted
boolean
numberOfElements
integer format: int32
pageable
object
offset
integer format: int64
sort
object
empty
boolean
sorted
boolean
unsorted
boolean
pageSize
integer format: int32
paged
boolean
pageNumber
integer format: int32
unpaged
boolean
first
boolean
last
boolean
empty
boolean
Example
{ "content": [ { "identifier": "##default", "name": "##default", "city": "##default", "countryCode": "##default", "currencyCode": "##default", "timeZone": "##default" } ]}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
{}