Skip to main content
POST
Send one bounded OCPI command through an owned registered connection

Authorizations

Authorization
string
header
required

A cdojo_... API key created in the app under Settings.

Body

application/json
connectionId
string
required
method
enum<string>
required
Available options:
GET,
POST,
PUT,
PATCH,
DELETE
endpoint
string
required

Module-relative OCPI path, for example /commands/START_SESSION.

body
any

Request body for write methods.

expectedStatus

The status you expect, or every status the spec permits here. Omit it and any 2xx or 3xx passes.

Response

Success

success
boolean
required
data
object
required
meta
object

Paging, on the operations that return a list.