Direct OCPP - For Operators

Sets OCPP default connection details for an operator.

Changed on

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

Request

  • Base URL
    https://api.easee.com
  • URL
    https://api.easee.com/local-ocpp/v1/operators/{operatorId}/connection-details
  • Auth
    API key in header Authorization

Path parameters

operatorIdinteger required

Charger operator id

Request body

connectivityMode'OcppOff' | 'DualProtocol' | 'Unknown' required
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 required

Version identifier, used to fetch specific configuration versions

Changes

    • breaking

      the request property became required

    • breaking

      the request property became required

    • info

      the response property became required for the status