[POST] verifyRFID
/api/embedded/verifyRFID
VerifyRFIDRequestDTO
Attributes:
Name | Type | Description |
---|---|---|
rfid |
str
|
assigned RFID tag of a user |
site_id |
[int]
|
site id of the EVCS |
VerifyRFIDResponseDTO
Attributes:
Name | Type | Description |
---|---|---|
balance |
Optional[float]
|
User's wallet balance to be used to start a max budget based charging session. |
level |
UserLevelEnum
|
Indicates the level of access the user has at the site. |
Important Notes:
- The RFID tag must be registered in the system before it can be verified.
- If the RFID is valid, the status code will be an HTTP 200.
- If the RFID is invalid, the status code will be an HTTP 400 with an error message.
- Expected error messages:
- "WRONG_PARAMS": Either the driver id or the site id is wrong.
- "PRIVATE_SITE_ACCESS_DENIED": The site is private and the driver is not allowed to use the EV charger.