Skip to content

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 ​

ParameterMandatoryDescription
serviceDefinitionYesstring
The invoke service definition request.

Query parameters ​

ParameterMandatoryDescription
GuidNostring
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 pathMandatoryDescription
systemCurrencyNostring or null
Currency code in system currency
totalAmountYesnumber <double>
Total amount of the whole chart
lastUpdatedAtYesstring <date-time>
When was the chart last updated
chartsNoarray of object or null
List of charts
charts[].nameNostring or null
Chart name.
charts[].chartTypeNostring or null
Chart type.
charts[].showLegendYesboolean
Show legend bool flag.
charts[].showTooltipYesboolean
Show tooltip bool flag.
charts[].showTitleYesboolean
Show title bool flag.
charts[].horizontalAlignmentYesboolean
Horizontal alignment bool flag.
charts[].tooltipTemplateNostring or null
Tooltip template string.
charts[].legendPositionNointeger <int32> or null
Chart legend position information. Top = 0, Bottom = 1, Left = 2, Right = 3
charts[].titlePositionNointeger <int32> or null
Chart title position information. Top = 0, Bottom = 1
charts[].barChartSeriesNoarray of object or null
Bar chart or stacked bar chart data array.
charts[].barChartSeries[].dataNoarray of number &lt;double&gt; or null
Bar data array.
charts[].barChartSeries[].data[]Yesnumber <double>
—
charts[].barChartSeries[].categoryNostring or null
Category name.
charts[].pieChartSeriesNoarray of object or null
Pie chart data array.
charts[].pieChartSeries[].valueYesnumber <double>
Pie item value.
charts[].pieChartSeries[].categoryNostring or null
Pie item category.
charts[].lineChartSeriesNoarray of object or null
Line chart data array.
charts[].lineChartSeries[].dataNoarray of object or null
Line data array.
charts[].lineChartSeries[].data[].valueYesnumber <double>
Line value.
charts[].lineChartSeries[].data[].categoryNostring or null
Line category name.
charts[].lineChartSeries[].categoryNostring or null
Line category name.
charts[].donutChartSeriesNoarray of object or null
Donut chart data array.
charts[].donutChartSeries[].valueYesnumber <double>
Value of the serie.
charts[].donutChartSeries[].categoryNostring or null
Category name
charts[].donutChartSeries[].countNointeger <int32> or null
Number of entities in a category
distributionsNoarray of object or null
Distribution data for chart
distributions[].typeNostring or null
Type of distributions
distributions[].groupsNoarray of object or null
Distributions
distributions[].groups[].groupNameNostring or null
Distribution group name
distributions[].groups[].currencyCodeNostring or null
Currency code
distributions[].groups[].distributionsNoarray of object or null
Distributions
distributions[].groups[].distributions[].categoryNostring or null
Category
distributions[].groups[].distributions[].valueYesnumber <double>
Value
distributions[].groups[].distributions[].currencyCodeNostring or null
Currency code
distributions[].groups[].distributions[].lastUpdatedAtNostring <date-time> or null
When was the distribution last updated
linksNoarray of object or null
Links to adresses, extra fields, scoring, parameters, etc.
links[].typeNostring or null
Type of object
links[].nameNostring or null
Type of relation
links[].hrefNostring or null
URI to object
links[].resourceNostring or null
Resource type
links[].guidNostring or null
Resource guid
HTTP 400
Field pathDescription
typestring or null
titlestring or null
statusinteger <int32> or null
detailstring or null
instancestring or null
HTTP 401
Field pathDescription
typestring or null
titlestring or null
statusinteger <int32> or null
detailstring or null
instancestring or null
HTTP 403
Field pathDescription
typestring or null
titlestring or null
statusinteger <int32> or null
detailstring or null
instancestring or null
HTTP 404
Field pathDescription
typestring or null
titlestring or null
statusinteger <int32> or null
detailstring or null
instancestring or null
HTTP 408
Field pathDescription
typestring or null
titlestring or null
statusinteger <int32> or null
detailstring or null
instancestring or null