Show Ranked Grids
const url = 'https://api.wink.travel/api/managing-entity/owner-1/studio/ranked-grids/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/ranked-grids/list \ --header 'Wink-Version: 2.0'Retrieve list of ranked grids.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Retrieve list for 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.
AffiliateAccount identifier
Descriptive name of this list for seller use only
Customization identifier
Contains custom title and description of grid
object
Use as title or short text description
Longer text description
Indicate which language this description is written in.
Whether it was user or system generated.
The md5 hash of the name, description and language.
Status
The destination to display ranked inventory from.
object
Unique lookup identifier
Type of lookup
Unique lookup type identifier
Name of lookup
Url-friendly slug that uniquely identifies this lookup
Lookup that is supplier inventory includes the supplier identifier
Lookup that is supplier inventory includes the supplier name
Closest city where lookup entry is located
Country where lookup entry is located
State where lookup entry is located
County where lookup entry is located
Country code
The type of owner that created this lookup
The language the lookup code was written in
Platform-specific sort
If this lookup is the origin lookup.
Name in lower case
Geo-location
object
Create an animated gif instead of a list of images
Controls animation delay in milliseconds. -1 is disabled
Determines which badge to show on the Web Component. Is also used to sort properties for search grids.
Indicate which initial values to display first on the front-facing card
Example
[ { "id": "", "createdDate": "", "lastUpdate": "", "version": "", "ownerIdentifier": "", "name": "", "customizationIdentifier": "", "descriptions": "", "keywords": [ "" ], "status": "ACTIVE", "lookup": "", "animate": false, "animateDelay": -1, "sort": "MEMBER", "displayType": "NATIVE" }]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
{}