Skip to content

Show Lifestyles

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

Retrieve list of property lifestyles

managingEntityIdentifier
required
string
""

Show Lifestyles for this property identifier

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

OK

Media type application/json
object
hotelIdentifier
required

Lifestyles belong to this property identifier

string format: uuid
"" >= 1 characters
list

List of new lifestyles to set on property.

Array<string>
0 <= 4 items
Allowed values: LIFESTYLE_HEALTH_FITNESS LIFESTYLE_RELAX LIFESTYLE_ADULT_ONLY LIFESTYLE_ADVENTURE LIFESTYLE_BUSINESS LIFESTYLE_LGBT LIFESTYLE_SINGLE_PARENT LIFESTYLE_SOLO_FEMALE LIFESTYLE_BEAUTY LIFESTYLE_FOODIE LIFESTYLE_FAMILY LIFESTYLE_ROMANCE LIFESTYLE_COUPLE LIFESTYLE_SOLO LIFESTYLE_BACKPACKER LIFESTYLE_SHOPPING LIFESTYLE_SPORTS LIFESTYLE_MOUNTAIN LIFESTYLE_BEACH LIFESTYLE_CITY LIFESTYLE_COUNTRY LIFESTYLE_CULTURE LIFESTYLE_ECO
Example
{
"hotelIdentifier": "",
"list": [
"LIFESTYLE_HEALTH_FITNESS"
]
}

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