buildings_ev_socket_latest
GET/public-api/buildings/:uuid/ev_socket/latest/
Pre-requisites
- uuid: You need a (building) uuid for this endpoint. You can get a list of buildings with
GET /buildings/.
Retrieve the latest electric vehicle (EV) statuses for your building. This will always return the last received values.
available:
Indicates whether the EV socket is fully functional. The possible states are:
- Yes: The socket is available and functional.
- No: The socket is not available or functional.
- Unknown: The availability status of the socket cannot be determined.
in_session:
Indicates whether an EV is currently connected to the EV socket. The possible states are:
- Yes: An EV is currently connected to the socket.
- No: No EV is currently connected to the socket.
- Unknown: The session status of the socket cannot be determined.
Request
Responses
- 200
- 204
- 400
- 404
- 429
No latest data available
Invalid request
Building not found
Too many requests