Companies

Company volume / units over time

POST
/v1/companies/analytics/time-series

Authorization

x-api-key<token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/companies/analytics/time-series" \  -H "Content-Type: application/json" \  -d '{}'
{
  "current": [
    {
      "date": "string",
      "excluded": 0,
      "measureValue": 0,
      "segments": [
        {
          "id": "string",
          "label": "string",
          "measureValue": 0,
          "units": 0,
          "volume": 0
        }
      ],
      "units": 0,
      "volume": 0
    }
  ],
  "measure": "string",
  "previous": [
    {
      "date": "string",
      "excluded": 0,
      "measureValue": 0,
      "segments": [
        {
          "id": "string",
          "label": "string",
          "measureValue": 0,
          "units": 0,
          "volume": 0
        }
      ],
      "units": 0,
      "volume": 0
    }
  ]
}
{
  "error": "string"
}
{
  "error": "string"
}
{
  "error": "string"
}
{
  "error": "string"
}
{
  "error": "string",
  "limit": 0,
  "size": 0
}