Show Dynamic Lists
const url = 'https://api.wink.travel/api/managing-entity/owner-1/studio/dynamic-list';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/dynamic-list \ --header 'Wink-Version: 2.0'Retrieve all saved searches for owner
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”List searches owned by this owner identifier.
Example
owner-1Header Parameters
Section titled “Header Parameters ”Responses
Section titled “ Responses ”OK
object
Document UUID
Datetime this record was first created
Datetime this record was last updated
Version property that shows how many times this document has been persisted. Document will not persist if the version property is less than current version property in the system. Result in an optimistic locking exception.
Entity identifier of record creator
Name of dynamic list for when user want to persist it
Regex expression filter matching on property name.
Supported OTA specification LOC code. See OTA geoname data
Supported OTA specification SEG code. See OTA geoname data
Supported OTA specification PCT code. See OTA geoname data
Supported OTA specification ARC code. See OTA geoname data
Regex expression filter matching on inventory name
Continent filter
Country filter
City filter
Filter on eco-friendly hotels
Filter on pet-friendly hotels
Filter on child-friendly hotels
Filter on hotel that has had a certain amount of bookings
Filter on direct inventory
Filter on lifestyles
Filter on number of stars the hotel has.
Filter on aggregate review score the hotel has
Find hotels close to certain location
object
Use this in conjunction with nearPoint. Control the distance from point we are searching for.
Filter on inventory types
Control how you want the search results sorted. Options are:
- 1: Inventory name
- 2: Price: High to low
- 3: Price: Low to high
- 4: Commission: High to low
- 5: Commission: Low to high
- 6: Discount: High to low
- 7: Discount: Low to high
Example
[ { "id": "", "createdDate": "", "lastUpdate": "", "version": "", "ownerIdentifier": "", "name": "", "propertyName": "", "locationCategories": "", "segmentCategories": "", "hotelCategories": "", "architecturalStyles": "", "inventoryName": "", "continents": [ "" ], "countries": [ "" ], "cities": [ "" ], "showEcoFriendly": false, "showPetFriendly": false, "showChildFriendly": false, "showPopular": false, "showDirectOnly": false, "lifestyles": "", "hotelStars": "", "aggregateReviewRating": "", "nearPoint": "", "radiusInMeters": 0, "inventoryTypes": [ "GUEST_ROOM" ], "primaryOrderBy": "" }]Bad Request
object
object
Example generated
{ "type": "https://example.com", "title": "example", "status": 1, "detail": "example", "instance": "https://example.com", "properties": { "additionalProperty": "example" }}object
object
object
object
object
object
object
object
Unauthorized
object
object
Forbidden
object
object
Internal Server Error
object
Example generated
{}