v1

latestOpenAPI 3.0.02026-07-24176225227.9 KB
Direct OCPP - For Operators

Sets OCPP default connection details for an operator. Should only be used when basic auth is not required.

Returns a versioned object detailing all the information for how OCPP is configured for new chargers that are attached to an operator

post/local-ocpp/v1/operators/{operatorId}/connection-details

Path parameters

operatorIdinteger required

Charger operator id

Request body

connectivityMode'OcppOff' | 'DualProtocol' | 'Unknown'
basicAuthPasswordstring nullable

Password for basic authorization. Set this to apply to all chargers with username set as SerialNumber

applyToNewDevicesboolean required

Specifies if OCPP should be provisioned when a new charger is paired to an operator

Example request

{
  "websocketConnectionArgs": {
    "url": "wss://localhost:8080/ocpp",
    "caCertificate": "-----BEGIN CERTIFICATE-----\r\n(Your certificate: localhost.pem)\r\n-----END CERTIFICATE----- ",
    "caCertificateDomain": "localhost"
  },
  "connectivityMode": "DualProtocol",
  "basicAuthPassword": "Password",
  "applyToNewDevices": false
}

Response

Success

versionstring

Version identifier, used to fetch specific configuration versions