Turnover over a period, bucketed, optionally compared against the same period in previous years
Changed onRequest
- Base URLhttps://api.altoviz.com
- Authnone required
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
First day of the period. Combined with to, takes precedence over year.
Last day of the period, included
Shorthand for a whole calendar year (defaults to the current one). Ignored when a range is given.
Bucket size: Daily, Weekly, Monthly (default), Quarterly or Annually
Number of previous periods to return alongside, each one calendar year further back (0–2, defaults to 0)
Dimension used to break down turnover evolution
Dimension to break down by
Return running totals instead of per-bucket values
Filter by customer ID
Filter by supplier ID
Filter by colleague ID
Filter by product ID
Response
OK
Changes
- breaking
the response's body type changed from
arraytoobjectfor status (media type: text/plain) - breaking
the response's body type changed from
arraytoobjectfor status (media type: application/json) - breaking
the response's body type changed from
arraytoobjectfor status (media type: text/json) - warning
deleted the
queryrequest parameteryears - info
added the new optional
queryrequest parametercompare - info
added the new optional
queryrequest parameterfrom - info
added the new optional
queryrequest parameterperiodicity - info
added the new optional
queryrequest parameterto - info
added the new enum value
Discountto thequeryrequest parametertype - info
added the new enum value
Marginto thequeryrequest parametertype - info
added the optional property
to the response with the status (media type: text/plain) - info
added the optional property
to the response with the status (media type: application/json) - info
added the optional property
to the response with the status (media type: text/json) - info
added the optional property
to the response with the status (media type: text/plain) - info
added the optional property
to the response with the status (media type: application/json) - info
added the optional property
to the response with the status (media type: text/json) - info
added the optional property
to the response with the status (media type: text/plain) - info
added the optional property
to the response with the status (media type: application/json) - info
added the optional property
to the response with the status (media type: text/json)
- breaking