Functional Block: D
Types Reference: Shared types referenced below are defined in OCPP-2.1-DataTypes.md.
Types used only within this block are documented inline below.
#Messages
- SendLocalList (CSMS → CS)
- GetLocalListVersion (CSMS → CS)
#SendLocalList
Direction: CSMS → CS
#SendLocalListRequest
| Field | Type | Required | Constraints | Description |
|---|---|---|---|---|
updateType |
UpdateEnumType | Yes | ||
versionNumber |
integer | Yes | In case of a full update this is the version number of the full list. In case of a differential update it is the version number of the list after the update has been applied. | |
localAuthorizationList |
AuthorizationData[] | No | minItems: 1 | |
customData |
CustomDataType | No |
Example SendLocalListRequest
{
"updateType": "Differential",
"versionNumber": 0
}
#SendLocalListResponse
| Field | Type | Required | Constraints | Description |
|---|---|---|---|---|
status |
SendLocalListStatusEnumType | Yes | ||
statusInfo |
StatusInfoType | No | ||
customData |
CustomDataType | No |
#GetLocalListVersion
Direction: CSMS → CS
#GetLocalListVersionRequest
| Field | Type | Required | Constraints | Description |
|---|---|---|---|---|
customData |
CustomDataType | No |
#GetLocalListVersionResponse
| Field | Type | Required | Constraints | Description |
|---|---|---|---|---|
versionNumber |
integer | Yes | This contains the current version number of the local authorization list in the Charging Station. | |
customData |
CustomDataType | No |
#Local Types
Types used only within this block's messages.
#SendLocalListStatusEnumType
This indicates whether the Charging Station has successfully received and applied the update of the Local Authorization List.
| Value |
|---|
Accepted |
Failed |
VersionMismatch |
Used in: SendLocalList
#UpdateEnumType
This contains the type of update (full or differential) of this request.
| Value |
|---|
Differential |
Full |
Used in: SendLocalList
#AuthorizationData
Contains the identifier to use for authorization.
| Field | Type | Required | Constraints | Description |
|---|---|---|---|---|
idToken |
IdTokenType | Yes | ||
idTokenInfo |
IdTokenInfoType | No | ||
customData |
CustomDataType | No |
Used in: SendLocalList