Billing summary aggregated for a list of yard and carriers

GET /api/billing/dashboard/summary

Retrieves the billing summary aggregated for the given list of yards and carriers. If yardIdList and/or carrierIdList are not given, then the current authenticated account's visible yards and carriers will be used.

Query parameters

  • carrierIdList array[integer(int64)]

    The ID of the yard for which to retrieve the dashboard summary

  • yardIdList array[integer(int64)]

    The ID of the yard for which to retrieve the dashboard summary

Responses

GET /api/billing/dashboard/summary
curl \
 -X GET https://api-dev.gatego.io/api/billing/dashboard/summary
Response examples (200)
{
  "ongoing_period_summary": {
    "period_code": "TBC",
    "total_amount": "TBC"
  },
  "past_period_summaries": [
    "TBC"
  ],
  "billable_carriers": "TBC",
  "total_spots_reserved": "TBC"
}