Skip to navigation

List tariffs

Tariffs of the CPOs you reach, in OCPI 2.2.1 shape whatever version the CPO spoke, optionally for one CPO.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Query parameters

country_codestring or nullOptionalformat: "^[A-Z]{2}$"
Only this CPO country code, e.g. NL.
party_idstring or nullOptionalformat: "^[A-Z0-9]{3}$"
Only this CPO party id, e.g. ABC.
afterstring or nullOptionalformat: "^[A-Z]{2}:[A-Z0-9]{3}:.{1,36}$"

Cursor: the previous page’s pagination.end_cursor (country_code:party_id:tariff_id). Omit it for the first page.

limitintegerOptional1-200Defaults to 50

Maximum rows per page (default 50, max 200).

Response

One page of tariffs in OCPI 2.2.1 shape.
datalist of objects
paginationobject

Spirii cursor page. Pass end_cursor as the next after value.

Errors

401
Unauthorized Error
422
Unprocessable Entity Error
429
Too Many Requests Error
502
Bad Gateway Error
504
Gateway Timeout Error