Chargefox
Help
Fleets API

Fleets API (1.0)

Download OpenAPI specification:

Fleets

usage

Lists all charge sessions completed by a fleet's managed vehicles on the Chargefox network. You can specify a date range to filter results. Both date parameters can be used together to define a period, or individually to filter usage records from or until a specific date. The returned list is a paginated set of 100 results per page.

Authorizations:
bearerAuth
query Parameters
date_from
string

Filters the results to include only those usage records that were completed on or after the specified date. This parameter sets the start date for the filter.

date_to
string

Filters the results to include only those usage records that were completed on or before the specified date. This parameter sets the end date for the filter.

page
integer

Specifies the page number of the results to retrieve. The page parameter is used to request a specific page of the results, starting from 1 (the first page). If not provided, the default is to return the first page of results.

Responses

Response samples

Content type
application/json
{
  • "data": {
    },
  • "pagination": {
    }
}

sessions

Lists all charge sessions completed on a fleet's owned charge stations. You can specify a date range to filter results. Both date parameters can be used together to define a period, or individually to filter charge sessions from or until a specific date. The returned list is a paginated set of 100 results per page.

Authorizations:
bearerAuth
query Parameters
date_from
string

Filters the results to include only those charge session records that were completed on or after the specified date. This parameter sets the start date for the filter.

date_to
string

Filters the results to include only those charge session records that were completed on or before the specified date. This parameter sets the end date for the filter.

page
integer

Specifies the page number of the results to retrieve. The page parameter is used to request a specific page of the results, starting from 1 (the first page). If not provided, the default is to return the first page of results.

Responses

Response samples

Content type
application/json
{
  • "data": {
    },
  • "pagination": {
    }
}

vehicles

Lists all vehicles managed by a fleet on the Chargefox platform.

Authorizations:
bearerAuth
query Parameters
page
integer

Specifies the page number of the results to retrieve. The page parameter is used to request a specific page of the results, starting from 1 (the first page). If not provided, the default is to return the first page of results.

Responses

Response samples

Content type
application/json
{
  • "data": {
    },
}

invoices

Lists all invoices for a fleet's organisation. This includes both fleet and site host invoices. You can specify a date range to filter results. Both date parameters can be used together to define a period, or individually to filter invoices from or until a specific date. The returned list is a paginated set of 100 results per page.

Authorizations:
bearerAuth
query Parameters
date_from
string

Filters the results to include only those invoice records that were invoiced on or after the specified date. This parameter sets the start date for the filter.

date_to
string

Filters the results to include only those invoice records that were invoiced on or before the specified date. This parameter sets the end date for the filter.

page
integer

Specifies the page number of the results to retrieve. The page parameter is used to request a specific page of the results, starting from 1 (the first page). If not provided, the default is to return the first page of results.

Responses

Response samples

Content type
application/json
{
  • "data": {
    },
  • "pagination": {
    }
}