SendLocalList OCPP 1.6
Der Simulator beantwortet diese Anfrage des Backends.
Auch in: OCPP 2.0.1, OCPP 2.1
Request
| Feld | Typ | Einschränkungen / Beschreibung | |
|---|---|---|---|
listVersion | integer | Pflicht | |
localAuthorizationList | array<object> | ||
localAuthorizationList[].idTag | string | Pflicht | maxLength 20 |
localAuthorizationList[].idTagInfo | object | ||
localAuthorizationList[].idTagInfo.expiryDate | string | format date-time | |
localAuthorizationList[].idTagInfo.parentIdTag | string | maxLength 20 | |
localAuthorizationList[].idTagInfo.status | string | Pflicht | enum: Accepted, Blocked, Expired, Invalid, ConcurrentTx |
updateType | string | Pflicht | enum: Differential, Full |
JSON-Schema (Request)
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "SendLocalListRequest",
"type": "object",
"properties": {
"listVersion": {
"type": "integer"
},
"localAuthorizationList": {
"type": "array",
"items": {
"type": "object",
"properties": {
"idTag": {
"type": "string",
"maxLength": 20
},
"idTagInfo": {
"type": "object",
"properties": {
"expiryDate": {
"type": "string",
"format": "date-time"
},
"parentIdTag": {
"type": "string",
"maxLength": 20
},
"status": {
"type": "string",
"additionalProperties": false,
"enum": [
"Accepted",
"Blocked",
"Expired",
"Invalid",
"ConcurrentTx"
]
}
},
"additionalProperties": false,
"required": [
"status"
]
}
},
"additionalProperties": false,
"required": [
"idTag"
]
}
},
"updateType": {
"type": "string",
"additionalProperties": false,
"enum": [
"Differential",
"Full"
]
}
},
"additionalProperties": false,
"required": [
"listVersion",
"updateType"
]
}Response
| Feld | Typ | Einschränkungen / Beschreibung | |
|---|---|---|---|
status | string | Pflicht | enum: Accepted, Failed, NotSupported, VersionMismatch |
JSON-Schema (Response)
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "SendLocalListResponse",
"type": "object",
"properties": {
"status": {
"type": "string",
"additionalProperties": false,
"enum": [
"Accepted",
"Failed",
"NotSupported",
"VersionMismatch"
]
}
},
"additionalProperties": false,
"required": [
"status"
]
}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.