Start a charging session
x-ms-visibility: "important"
Initiates a charging session on the specified socket of the charger.
Path Parameters
chargerId string required
Unique identifier of the charger where charging session will begin.
application/json
Request Body
To start a charging session, you can omit or set 'validateRfid' to 'false' to allow any RFID to initiate charging, regardless of whether it is associated with a driver. If 'validateRfid' is set to 'true', the system will verify that the RFID is linked to a driver with permission to use the charger.
socketId int64
rfidTag string
validateRfid boolean
Responses
- 200
- 400
- 401
The charging session was successfully started.
application/json
Schema
Example (from schema)
Schema
chargerId string
socketId int64
status string
{
"chargerId": "string",
"socketId": 0,
"status": "string"
}
Details of the validation error.
application/json
Schema
Example (from schema)
Schema
errorCode string
message string
errorNumber int32
helpLink string
{
"errorCode": "string",
"message": "string",
"errorNumber": 0,
"helpLink": "string"
}
User is not authorized.
Loading...