Search Managing Entities
const url = 'https://api.wink.travel/api/managing-entity/grid';const options = { method: 'POST', headers: {'Wink-Version': '2.0', 'Content-Type': 'application/json'}, body: '{"skip":0,"take":30,"sort":"","filter":"","group":""}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.wink.travel/api/managing-entity/grid \ --header 'Content-Type: application/json' \ --header 'Wink-Version: 2.0' \ --data '{ "skip": 0, "take": 30, "sort": "", "filter": "", "group": "" }'Retrieve a paginated list of entities that you manage.
Parameters
Section titled “ Parameters ”Header Parameters
Section titled “Header Parameters ”Request Body required
Section titled “Request Body required ”Filter grid by state request body
object
Number of records to be skipped by the pager.
Example
0Number of records to take.
Example
10Descriptors used for sorting result set.
object
Descriptors used for sorting result set
Example
ascData set field to sort on
Example
hotel.nameDescriptors used for filtering result set
object
Whether to filter inclusively or exclusively
Example
andDescriptors used for filtering the result set
object
Field name to filter on
Example
hotel.nameFilter operator to use on field
Example
startsWithValue to filter dataset against
Example
Happy ResMake filter comparison case insensitive. Default: Case sensitive
Example
trueDescriptors to group result sets by.
object
Field to group data set on
Example
createdDateGroup sort direction
Example
ascPrimitive aggregate data points
object
Field to run aggregate function on
Example
hotel.bookingsAggregate function
Example
countResponses
Section titled “ Responses ”OK
object
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.
User owner.
The App owner that created this record.
Let users manage this entity and all sub-entities.
object
User email
Contact phone number
User identifier
Contact first name
Contact last name
Contact secondary Email
Contact phone number
Profile picture is available
object
Document identifier
Use this identifier to communicate with Cloudinary.
Whether Cloudinary media is a VIDEO or IMAGE.
Currently ONLY using Cloudinary to store all image / video assets.
Sort allows you to control how you want to sort this record in a list of media records.
Media angle
Media width in pixels.
Media height in pixels.
Instead of deleting the media, choose to un-publish it instead for later re-use. Could be you keep seasonal images of the property.
Supported OTA specification PIC code. See OTA geoname data
Localized media captions to give user some context about where this media was taken.
object
Use as title or short text description
Longer text description
Indicate which language this description is written in.
Associate this media with a specific lifestyle type. A user searching and filtering inventory based on lifestyles can be shown relevant media first.
Whether image has attribution properties
object
URL to contributor
Name of contributor
True if media width is greater or equal to height
Account owner
Per-section access grants for object-level ACL
object
The area this grant applies to (ALL covers every section)
How much the manager may do within that area
If another company entity is managing this property, on behalf of the property, it can be specified here and the managing entity would be applicable a management fee on every booking.
object
Entity identifier
Name of entity
Agency commission
Optional rules for expiration date etc when agency is no longer managing this entity.
Type of entity this is.
Type of sales channel
Text representation of the value.
Short company / person description.
Legal name of entity if other than name
Unique url-friendly slug to identify property
Event shorter name
Account email is where we will send KYC documents and other account specific mailings
Account phone number is mostly used for KYC purchases
AffiliateAccount website. If private person with no personal website, link to main social network account.
Account’s main currency.
Status of entity.
City location
object
GeoName identifier
GeoNameLightweight type
Name of city
Url name
Ascii name of city
Coordinate points of the city
object
Timezone
Country
object
ISO code
Country name
Country capital
Continent code
Currency code
Currency name
Country GeoNames identifier
Country sub division
object
Sub-country name
Sub-country ascii name
Sub-country GeoNames identifier
Country sub sub division
object
Account address. Usually the business address
object
Address line 1
Address line 2
State
Postal / zip code
County
City name
Country
Country
Address 1, Address 2, City, State, Postal / Zip code, Country
Optional subscription for this entity.
object
Stripe subscription ID
Latest Stripe invoice ID
Stripe customer ID
Stripe customer ID
Stripe customer ID
Stripe price lookup key
Stripe subscription status
Stripe latest invoice status
Time subscription was created
Time subscription was last updated
Time subscription was canceled
Time subscription was last updated
Optional information we receive from Stripe that we want to save.
object
Bank accounts used for payouts.
object
Unique bank account identifier
Country of bank account
Currency of bank account
Bank account holder name
Bank SWIFT code. Unique code identifier the bank and branch of the bank account.
Bank account routing number. This is sort code in HK and Zengin code in JP.
Bank account number. In all EU countries, this would be the IBAN. In other countries, the routing number will apply as well.
Recipient bank account address. Optional; recommended by Revolut and required by some payout corridors.
object
Address line 1
Address line 2
State
Postal / zip code
County
City name
Country
Country
Address 1, Address 2, City, State, Postal / Zip code, Country
Revolut counterparty ID assigned when the first payout is initiated. Null until first Revolut payout.
Revolut revtag payout destinations.
object
Unique identifier for this destination
Whether the recipient’s Revolut profile is personal or business
Recipient’s name; must match the Revolut profile name
Revtag without leading ’@’
Currency of the payout
Cached Revolut counterparty ID populated at upsert time. Null only during the in-memory window before counterparty creation succeeds.
Customize account with a custom profile picture.
object
Document identifier
Use this identifier to communicate with Cloudinary.
Whether Cloudinary media is a VIDEO or IMAGE.
Currently ONLY using Cloudinary to store all image / video assets.
Sort allows you to control how you want to sort this record in a list of media records.
Media angle
Media width in pixels.
Media height in pixels.
Instead of deleting the media, choose to un-publish it instead for later re-use. Could be you keep seasonal images of the property.
Supported OTA specification PIC code. See OTA geoname data
Localized media captions to give user some context about where this media was taken.
object
Use as title or short text description
Longer text description
Indicate which language this description is written in.
Associate this media with a specific lifestyle type. A user searching and filtering inventory based on lifestyles can be shown relevant media first.
Whether image has attribution properties
object
URL to contributor
Name of contributor
True if media width is greater or equal to height
Entity logo
object
Document identifier
Use this identifier to communicate with Cloudinary.
Whether Cloudinary media is a VIDEO or IMAGE.
Currently ONLY using Cloudinary to store all image / video assets.
Sort allows you to control how you want to sort this record in a list of media records.
Media angle
Media width in pixels.
Media height in pixels.
Instead of deleting the media, choose to un-publish it instead for later re-use. Could be you keep seasonal images of the property.
Supported OTA specification PIC code. See OTA geoname data
Localized media captions to give user some context about where this media was taken.
object
Use as title or short text description
Longer text description
Indicate which language this description is written in.
Associate this media with a specific lifestyle type. A user searching and filtering inventory based on lifestyles can be shown relevant media first.
Whether image has attribution properties
object
URL to contributor
Name of contributor
True if media width is greater or equal to height
Account agrees to let us use theor logo and images for marketing purposes (with proper credits).
Optional Google placeId for properties with a Google Business account.
Online presence of account.
object
List of all active accounts that could be used for selling or seeing a company’s reach.
The url, account name or phone number that identifies this user with the specified network.
The type of audience you have on this network.
The size of your audience.
How you would like to order your accounts.
Whether to disable this entry temporarily.
Travel agent details
object
Whether the agent is in charge of charging the property.
Whether the agent is in charge of paying the property.
object
Entity ID should be the same as parent but can be different.
Type of entity.
object
object
object
Example
{ "content": [ { "id": "", "createdDate": "", "lastUpdate": "", "version": "", "userIdentifier": "", "ownerIdentifier": "", "managers": [ "" ], "managedBy": "", "ownerType": "COMPANY", "type": "TRIP_PAY", "name": "", "description": "", "legalName": "", "urlName": "", "uniqueId": "", "accountEmail": "", "accountPhoneNumber": "", "url": "", "currencyCode": "", "status": "PENDING_APPROVAL", "city": "", "address": "", "plan": "", "bankAccounts": [ "" ], "revolutPayoutAccounts": [ "" ], "profilePicture": null, "logo": null, "marketingOptinAllowed": false, "placeId": "", "onlinePresence": [ "" ], "travelAgent": "", "accounts": [ { "identifier": "", "type": "AFFILIATE" } ] } ]}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
{}