Skip to navigation

Create a routing rule

Admin only (role=admin). Routes one charger’s OCPP traffic to a CSMS backend, with a priority and an optional downlink_actions allow-list of CSMS-to-charger actions that backend may send (null allows all). 409 if it already exists.

Authentication

AuthorizationBearer

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

Request

This endpoint expects an object.
backend_idstringRequiredformat: "uuid"
charge_point_idstringRequired1-255 characters
enabledbooleanOptionalDefaults to true
priorityintegerOptionalDefaults to 100

Response

Successful Response
idstringformat: "uuid"
backend_idstringformat: "uuid"
charge_point_idstring
created_atdatetime
updated_atdatetime
enabledbooleanOptionalDefaults to true
priorityintegerOptionalDefaults to 100
revisionintegerOptionalDefaults to 1
Bumped on every update.

Errors

401
Unauthorized Error
403
Forbidden Error
409
Conflict Error
422
Unprocessable Entity Error
429
Too Many Requests Error
502
Bad Gateway Error
504
Gateway Timeout Error