Skip to content

Show Chart

GET
/api/chart/{chartIdentifier}
curl --request GET \
--url https://api.wink.travel/api/chart/chart-1 \
--header 'Wink-Version: 2.0'

Displays a single chart request by identifier.

chartIdentifier
required
string
""

Chart identifier

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

OK

Media type application/json
object
id

Document UUID

string
""
createdDate

Datetime this record was first created

string format: date-time
""
lastUpdate

Datetime this record was last updated

string format: date-time
""
version

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.

integer format: int64
""
ownerIdentifier
required

Owner of this chart

string format: uuid
"" >= 1 characters
name
required

Chart name as named by creator

string
"" >= 1 characters
sort

Sort a list of charts by this sort value.

integer format: int32
default: -1
details
required

Chart settings

object
series
required

The time series to visualize

string
""
Allowed values: HOUR DAY MONTH YEAR
timeSeriesUnits

How many units of the time series type to visualize. Only required if start / end date not populated.

integer format: int64
""
startDate

Fixed date to start visualizations on

string format: date-time
""
endDate

Fixed date to end visualizations on

string format: date-time
""
filterOnHotelIdentifier

Filter on hotel identifier

object
value
required

The value that should be persisted.

string
"" >= 1 characters
label
required

English readable text of the value.

string
"" >= 1 characters
filterOnChannelSubType

Filter on channel sub type. What channel sub-type helped make the booking.

string
""
Allowed values: TRIP_PAY FACILITATOR DIRECT APPLICATION HOTEL TRAVELIKO CORPORATE TRAVEL_AGENT INFLUENCER BLOGGER DESTINATION CHANNEL_MANAGER PROPERTY_MANAGEMENT_SYSTEM CENTRAL_RESERVATION_SYSTEM GOOGLE_HOTEL_API MANAGEMENT_COMPANY CHAIN BRAND EVENT_ORGANIZER OTHER
filterOnOwnerIdentifier

Filter on seller identifier. What affiliate helped make this booking.

object
value
required

The value that should be persisted.

string
"" >= 1 characters
label
required

English readable text of the value.

string
"" >= 1 characters
filterOnEngineCountryGeoNameId

Filter on customization country geoNameId. Which country is this application from.

object
value
required

The value that should be persisted.

string
"" >= 1 characters
label
required

English readable text of the value.

string
"" >= 1 characters
filterOnEngineCityGeoNameId

Filter on city geoNameId. Which city is this application from.

object
value
required

The value that should be persisted.

string
"" >= 1 characters
label
required

English readable text of the value.

string
"" >= 1 characters
filterOnEngineContinentCode

Filter on continent. Which city is this application from.

object
value
required

The value that should be persisted.

string
"" >= 1 characters
label
required

English readable text of the value.

string
"" >= 1 characters
filterOnEngineConfigurationIdentifier

Filter on customization. Which customization made this booking.

object
value
required

The value that should be persisted.

string
"" >= 1 characters
label
required

English readable text of the value.

string
"" >= 1 characters
filterOnCountryGeoNameId

Filter on country geoNameId. Which country is the traveler from.

object
value
required

The value that should be persisted.

string
"" >= 1 characters
label
required

English readable text of the value.

string
"" >= 1 characters
filterOnCityGeoNameId

Filter on city geoNameId. Which city is the traveler from.

object
value
required

The value that should be persisted.

string
"" >= 1 characters
label
required

English readable text of the value.

string
"" >= 1 characters
filterOnContinentCode

Filter on continent. Which continent is the traveler from.

object
value
required

The value that should be persisted.

string
"" >= 1 characters
label
required

English readable text of the value.

string
"" >= 1 characters
filterOnUserIdentifier

Filter on user identifier. Which authenticated user made the booking.

object
value
required

The value that should be persisted.

string
"" >= 1 characters
label
required

English readable text of the value.

string
"" >= 1 characters
includePageVisits

Include page visits

boolean
includeMapMarkerVisits

Include map marker visits

boolean
includeCardVisits

Include card visits

boolean
includeBookings

Include bookings

boolean
includeCancellations

Include cancellations

boolean
includeRoomNights

Include room nights

boolean
includeMeetingRooms

Include meeting rooms

boolean
includeMeetingRoomsRevenue

Include meeting rooms revenue

boolean
includeRestaurants

Include restaurants

boolean
includeRestaurantsRevenue

Include restaurants revenue

boolean
includeSpas

Include spas

boolean
includeSpasRevenue

Include spas revenue

boolean
includeActivities

Include activities

boolean
includeActivitiesRevenue

Include activities revenue

boolean
includeAttractions

Include attractions

boolean
includeAttractionsRevenue

Include attractions revenue

boolean
includePlaces

Include places

boolean
includePlacesRevenue

Include places revenue

boolean
includeRoomTypeAncillaries

Include room type ancillaries

boolean
includeRoomTypeAncillariesRevenue

Include packages revenue

boolean
includeAddOns

Include add-ons

boolean
includeAddOnsRevenue

Include add-ons revenue

boolean
includeTotalRoomRevenue

Include total room revenue

boolean
includeAverageRoomRate

Include average room rate

boolean
includeTotalAncillariesRevenue

Include combined packages and add-os revenue

boolean
includeTotalNetRevenue

Include total net revenue

boolean
includeCancelledRoomNights

Include cancelled room nights

boolean
includeCancelledMeetingRooms

Include cancelled meeting rooms

boolean
includeCancelledMeetingRoomsRevenue

Include cancelled meeting rooms revenue

boolean
includeCancelledRestaurants

Include cancelled restaurants

boolean
includeCancelledRestaurantsRevenue

Include cancelled restaurants revenue

boolean
includeCancelledSpas

Include cancelled spas

boolean
includeCancelledSpasRevenue

Include cancelled spas revenue

boolean
includeCancelledActivities

Include cancelled activities

boolean
includeCancelledActivitiesRevenue

Include cancelled activities revenue

boolean
includeCancelledAttractions

Include cancelled attractions

boolean
includeCancelledAttractionsRevenue

Include cancelled attractions revenue

boolean
includeCancelledPlaces

Include cancelled places

boolean
includeCancelledPlacesRevenue

Include cancelled places revenue

boolean
includeCancelledRoomTypeAncillaries

Include cancelled packages

boolean
includeCancelledRoomTypeAncillariesRevenue

Include cancelled packages revenue

boolean
includeCancelledAddOns

Include cancelled add-ons

boolean
includeCancelledAddOnsRevenue

Include cancelled add-ons revenue

boolean
includeCancelledTotalRoomRevenue

Include cancelled total room revenue

boolean
includeCancelledTotalAncillariesRevenue

Include combined cancelled package and add-on revenue

boolean
includeCancelledTotalNetRevenue

Include cancelled total net revenue

boolean
groupOnChannelSubType

Group on channel sub type

boolean
groupOnOwnerIdentifier

Group on owner identifier

boolean
groupOnEngineCountryGeoNameId

Group on application country geoNameId

boolean
groupOnEngineCityGeoNameId

Group on application city geoNameId

boolean
groupOnEngineContinentCode

Group on application continent code

boolean
groupOnEngineConfigurationIdentifier

Group on customization identifier

boolean
groupOnCountryGeoNameId

Group on country geoNameId

boolean
groupOnCityGeoNameId

Group on city geoNameId

boolean
groupOnContinentCode

Group on continent code

boolean
groupOnHotelIdentifier

Group on hotel identifier

boolean
groupOnUserIdentifier

Group on user identifier

boolean
currencyCode

Currency code

string
default: USD
Example
{
"id": "",
"createdDate": "",
"lastUpdate": "",
"version": "",
"ownerIdentifier": "",
"name": "",
"sort": -1,
"details": ""
}

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