Change charger availability
x-ms-visibility: "important"
Changes the availability of the charger to operative or inoperative.
Path Parameters
chargerId string required
Unique identifier of the charger whose availability is being updated.
application/json
Request Body
Details for changing the charger's availability.
availabilityState string
Possible values: [Operative
, Inoperative
]
Default value: Operative
socketId int32
Responses
- 200
- 400
- 401
- 500
The charger's availability was successfully updated.
application/json
Schema
Example (from schema)
Schema
chargerId string
availabilityState string
Possible values: [Operative
, Inoperative
]
Default value: Operative
status string
{
"chargerId": "string",
"availabilityState": "Operative",
"status": "string"
}
Details of the validation error.
application/json
Schema
Example (from schema)
Schema
type string
title string
status int32 nullable
detail string
instance string
extensions object
property name* object
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"extensions": {}
}
User is not authorized.
An unexpected error occurred.
application/json
Schema
Example (from schema)
Schema
errorCode string
message string
errorNumber int32
helpLink string
{
"errorCode": "string",
"message": "string",
"errorNumber": 0,
"helpLink": "string"
}
Loading...