StartTransaction OCPP 1.6
Der Simulator sendet diese Nachricht als Ladepunkt.
Request
| Feld | Typ | Einschränkungen / Beschreibung | |
|---|---|---|---|
connectorId | integer | Pflicht | |
idTag | string | Pflicht | maxLength 20 |
meterStart | integer | Pflicht | |
reservationId | integer | ||
timestamp | string | Pflicht | format date-time |
JSON-Schema (Request)
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "StartTransactionRequest",
"type": "object",
"properties": {
"connectorId": {
"type": "integer"
},
"idTag": {
"type": "string",
"maxLength": 20
},
"meterStart": {
"type": "integer"
},
"reservationId": {
"type": "integer"
},
"timestamp": {
"type": "string",
"format": "date-time"
}
},
"additionalProperties": false,
"required": [
"connectorId",
"idTag",
"meterStart",
"timestamp"
]
}Response
| Feld | Typ | Einschränkungen / Beschreibung | |
|---|---|---|---|
idTagInfo | object | Pflicht | |
idTagInfo.expiryDate | string | format date-time | |
idTagInfo.parentIdTag | string | maxLength 20 | |
idTagInfo.status | string | Pflicht | enum: Accepted, Blocked, Expired, Invalid, ConcurrentTx |
transactionId | integer | Pflicht |
JSON-Schema (Response)
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "StartTransactionResponse",
"type": "object",
"properties": {
"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"
]
},
"transactionId": {
"type": "integer"
}
},
"additionalProperties": false,
"required": [
"idTagInfo",
"transactionId"
]
}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.