SMART LOCKER API
  1. Smart Locker
SMART LOCKER API
  • Web
    • Shifts
      • Shift List
      • Add Shift
      • Update Shift
      • Delete Shift
    • Shift Devices
      • Add Shift Device
      • List Shift Devices
      • Update Shift Device
      • Delete Shift Device
    • Device Management
      • Update Device
      • List Devices
      • Get Device
      • add device
      • edit device
      • delete device
      • devices status
    • Bay Management
      • List Bays
      • Assign Device to Bay
      • Assign User to Bay
      • Unassign Device
    • Locker Management
      • Locker List
      • Get Locker
      • LockerType
      • maintenance list
      • delete locker
    • User
      • User List
      • Get User
      • add user
      • user edit
      • user delete
    • Group
      • group add
      • group list
      • group view
      • group delete
    • Location
      • Location
      • location add
      • location edit
      • add area
    • Role
      • add role
      • edit role
      • list role
    • Admin Login
      POST
    • Kiosk Login
      POST
    • Country
      GET
    • log list
      GET
  • Smart Locker
    • Locker Status
      POST
    • Open Locker
      POST
    • Start charging
      POST
    • Stop Charging
      POST
    • Charging Status
      POST
  1. Smart Locker

Charging Status

Developing
POST
/api/locker/status
"comPort": "COM2",
"hexCode": is the value query_charging_code obtained while cabin list api

Request

Body Params application/jsonRequired

Examples

Responses

🟢200Success
application/json
Body

🔴500
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://localhost:5000/api/locker/status' \
--header 'Content-Type: application/json' \
--data-raw '{
    "comPort": "COM2",
    "hexCode": "81 01 02 54 06 5D 00 FA"
}'
Response Response Example
200 - charging_status_off_response
{
    "success": true,
    "status": "charging_off",
    "rawResponse": "81 01 02 55 00 58 00 FA"
}
Modified at 2025-11-01 15:39:27
Previous
Stop Charging
Built with