Authentication

Endpoint to authenticate the user and obtain an access token for accessing any entitled enpoints. This follows the OAuth 2.0 password based grant. Please note that a successful response from this endpoint is the only one of type application/json, as required by the OAuth 2.0 specification. The unsuccessful responses maintain the application/xml type for consistency with the rest of AEMP API. The same user may successfully log-in once per second, on average. Occasional log-in bursts are allowed, and the maximum lock-out time is 2 seconds. Failed login attempts are throttled more aggressively, using an exponentially increasing lock-out times.

post

Obtain an access token for a given user.

Fleet snapshots and timeseries

Endpoints to retrieve snapshots of an entire Fleet or a specific Equipment and timeseries for a specific metric.

get

Get the first page of the Equipment listing.

get

Get a specific page of the Equipment listing.

get

Get a specific Equipment by its PIN or VIN, including latest reported values of its metrics.

get

Get links to timeseries of all metrics available for the given PIN or VIN in the given time-range.

This method makes its best effort to only include links to metrics that contain a datapoint in the requested range. However, due to implementation details, it may sometimes return false-positives (i.e. links that will yield 0 datapoints when queried).

get

Get a single metric timeseries for the given PIN or VIN in the default time-range (i.e. last 2 weeks).

get

Get a single metric timeseries for the given PIN or VIN in the given time-range.