Skip to content

Share Metrics

GET
/api/managing-entity/{managingEntityIdentifier}/studio/analytics/shares/list
curl --request GET \
--url https://api.wink.travel/api/managing-entity//studio/analytics/shares/list \
--header 'Wink-Version: 2.0'

Show all account charts.

managingEntityIdentifier
required
string
""

The affiliate to generate charts for

Wink-Version
string
default: 2.0.0
Allowed values: 2.0

OK

Media type application/json
Array<object>
object
identifier

Unique line chart identifier

string format: uuid
""
title

The configuration options for the chart title

object
text
string
legend

The configuration options for the chart legend.

object
data
Array<string>
series

The configuration of the chart series. The series type is determined by the value of the type field. If a type value is missing, the chart renders the type that is specified in seriesDefaults. Some options accept functions as arguments. These arguments are evaluated for each point which is supplied as a parameter. If no value is returned, the chart uses the theme or seriesDefaults values.

Array<object>
""
object
name

The name of the Chart series which is visible in the legend.

string
""
data

The array of data items which represent the series data.

You can set it to:

  • Array of numbers. Supported when the series.type option is set to area, bar, column, donut, pie, line, or waterfall. The Bubble series need arrays of three values—X value, Y value, and Size value—for example, [1, 1, 10]. The Scatter and ScatterLine series need arrays of two values—X value and Y value. The OHLC and Candlestick series need arrays of four values—open, high, low, and close. The RangeBar and RangeArea series need arrays of two values—the from and to value.
Array<number>
""
xAxis
Category axis

The configuration options of the category axis.

object
data

The category names. The Chart creates a category for every item of the array.

Array<string>
""
xaxis
object
data

The category names. The Chart creates a category for every item of the array.

Array<string>
""
Example
[
{
"identifier": "",
"title": "",
"legend": "",
"series": "",
"xAxis": "",
"xaxis": {
"data": ""
}
}
]

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