Direct OCPP - For Users

Saves OCPP connection details for given charger

Changed on

Returns a versioned object detailing all the information for how OCPP is configured on an individual charger

post/local-ocpp/v1/connection-details/{serialNumber}

Request

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

Path parameters

serialNumberstring required

Serial number identifying charger

Request body

chargePointIdstring nullable

Custom number identifying charger

basicAuthPasswordstring nullable

Password for basic authorization. ChargePointId or if not provided SerialNumber will be used as username

connectivityMode'OcppOff' | 'DualProtocol' | 'Unknown' required

Example request

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

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