Docs › OCPP 1.6 › GetConfiguration

GetConfiguration OCPP 1.6

Der Simulator beantwortet diese Anfrage des Backends.

Request

FeldTypEinschränkungen / Beschreibung
keyarray<string>maxLength 50
JSON-Schema (Request)
{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "title": "GetConfigurationRequest",
  "type": "object",
  "properties": {
    "key": {
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 50
      }
    }
  },
  "additionalProperties": false
}

Response

FeldTypEinschränkungen / Beschreibung
configurationKeyarray<object>
configurationKey[].keystringPflichtmaxLength 50
configurationKey[].readonlybooleanPflicht
configurationKey[].valuestringmaxLength 500
unknownKeyarray<string>maxLength 50
JSON-Schema (Response)
{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "title": "GetConfigurationResponse",
  "type": "object",
  "properties": {
    "configurationKey": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string",
            "maxLength": 50
          },
          "readonly": {
            "type": "boolean"
          },
          "value": {
            "type": "string",
            "maxLength": 500
          }
        },
        "additionalProperties": false,
        "required": [
          "key",
          "readonly"
        ]
      }
    },
    "unknownKey": {
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 50
      }
    }
  },
  "additionalProperties": false
}

Quelle: Open Charge Alliance, OCPP 1.6 – JSON-Schemas, unverändert wiedergegeben. © Open Charge Alliance. Lizenz: CC BY-ND 4.0. Die vollständige Spezifikation gibt es bei der Open Charge Alliance. ocpp-sim ist nicht mit der OCA verbunden.