Get Summary Chart
Get chart based on a service definition.
GET /v1/Invoices/Summary/Charts/{serviceDefinition}
Use the Test or Production base URL configured under Overview.
Path parameters
| Parameter | Mandatory | Description |
|---|---|---|
| serviceDefinition | Yes | string The invoke service definition request. |
Query parameters
| Parameter | Mandatory | Description |
|---|---|---|
| Guid | No | string A guid that is served to a service definition |
Headers and authentication
Use OAuth 2.0 Client Credentials and the Authorization header with a Bearer access token, as described under Overview.
Response fields
HTTP 200
| Field path | Mandatory | Description |
|---|---|---|
| systemCurrency | No | string or null Currency code in system currency |
| totalAmount | Yes | number <double> Total amount of the whole chart |
| lastUpdatedAt | Yes | string <date-time> When was the chart last updated |
| charts | No | array of object or null List of charts |
| charts[].name | No | string or null Chart name. |
| charts[].chartType | No | string or null Chart type. |
| charts[].showLegend | Yes | boolean Show legend bool flag. |
| charts[].showTooltip | Yes | boolean Show tooltip bool flag. |
| charts[].showTitle | Yes | boolean Show title bool flag. |
| charts[].horizontalAlignment | Yes | boolean Horizontal alignment bool flag. |
| charts[].tooltipTemplate | No | string or null Tooltip template string. |
| charts[].legendPosition | No | integer <int32> or null Chart legend position information. Top = 0, Bottom = 1, Left = 2, Right = 3 |
| charts[].titlePosition | No | integer <int32> or null Chart title position information. Top = 0, Bottom = 1 |
| charts[].barChartSeries | No | array of object or null Bar chart or stacked bar chart data array. |
| charts[].barChartSeries[].data | No | array of number <double> or null Bar data array. |
| charts[].barChartSeries[].data[] | Yes | number <double> — |
| charts[].barChartSeries[].category | No | string or null Category name. |
| charts[].pieChartSeries | No | array of object or null Pie chart data array. |
| charts[].pieChartSeries[].value | Yes | number <double> Pie item value. |
| charts[].pieChartSeries[].category | No | string or null Pie item category. |
| charts[].lineChartSeries | No | array of object or null Line chart data array. |
| charts[].lineChartSeries[].data | No | array of object or null Line data array. |
| charts[].lineChartSeries[].data[].value | Yes | number <double> Line value. |
| charts[].lineChartSeries[].data[].category | No | string or null Line category name. |
| charts[].lineChartSeries[].category | No | string or null Line category name. |
| charts[].donutChartSeries | No | array of object or null Donut chart data array. |
| charts[].donutChartSeries[].value | Yes | number <double> Value of the serie. |
| charts[].donutChartSeries[].category | No | string or null Category name |
| charts[].donutChartSeries[].count | No | integer <int32> or null Number of entities in a category |
| distributions | No | array of object or null Distribution data for chart |
| distributions[].type | No | string or null Type of distributions |
| distributions[].groups | No | array of object or null Distributions |
| distributions[].groups[].groupName | No | string or null Distribution group name |
| distributions[].groups[].currencyCode | No | string or null Currency code |
| distributions[].groups[].distributions | No | array of object or null Distributions |
| distributions[].groups[].distributions[].category | No | string or null Category |
| distributions[].groups[].distributions[].value | Yes | number <double> Value |
| distributions[].groups[].distributions[].currencyCode | No | string or null Currency code |
| distributions[].groups[].distributions[].lastUpdatedAt | No | string <date-time> or null When was the distribution last updated |
| links | No | array of object or null Links to adresses, extra fields, scoring, parameters, etc. |
| links[].type | No | string or null Type of object |
| links[].name | No | string or null Type of relation |
| links[].href | No | string or null URI to object |
| links[].resource | No | string or null Resource type |
| links[].guid | No | string or null Resource guid |
HTTP 400
| Field path | Description |
|---|---|
| type | string or null |
| title | string or null |
| status | integer <int32> or null |
| detail | string or null |
| instance | string or null |
HTTP 401
| Field path | Description |
|---|---|
| type | string or null |
| title | string or null |
| status | integer <int32> or null |
| detail | string or null |
| instance | string or null |
HTTP 403
| Field path | Description |
|---|---|
| type | string or null |
| title | string or null |
| status | integer <int32> or null |
| detail | string or null |
| instance | string or null |
HTTP 404
| Field path | Description |
|---|---|
| type | string or null |
| title | string or null |
| status | integer <int32> or null |
| detail | string or null |
| instance | string or null |
HTTP 408
| Field path | Description |
|---|---|
| type | string or null |
| title | string or null |
| status | integer <int32> or null |
| detail | string or null |
| instance | string or null |
