SMART LOCKER API
  1. Device Management
SMART LOCKER API
  • Web
    • Shifts
      • Shift List
      • Add Shift
      • Update Shift
      • Delete Shift
      • Delete all Shifts
    • Shift Devices
      • Add Shift Device
      • List Shift Devices
      • Update Shift Device
      • Delete Shift Device
    • Device Management
      • Update Device
        PATCH
      • List Devices
        GET
      • Get Device
        GET
      • add device
        POST
      • edit device
        POST
      • delete device
        DELETE
      • devices status
        GET
      • devices type
        GET
    • 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
      • maintenance status
      • filter_locker
    • User
      • User List
      • Get User
      • add user
      • user edit
      • user delete
      • user credentials
      • qr login
      • permissions list
    • Group
      • group add
      • group list
      • group view
      • group delete
      • group update
    • Location
      • Location
      • location add
      • location edit
      • add area
      • view location
    • Role
      • add role
      • edit role
      • list role
    • Admin Login
      POST
    • Kiosk Login
      POST
    • Country
      GET
    • log list
      POST
  • Smart Locker
    • Bay Status
      POST
    • Open Bay
      POST
    • Start charging
      POST
    • Stop Charging
      POST
    • Charging Status
      POST
  1. Device Management

add device

Developing
POST
/api/devices/add

Request

Body Params multipart/form-dataRequired

Responses

🟢200Success
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://smart-locker-api.byrokket.com/api/devices/add' \
--form 'device_name="PDA3"' \
--form 'device_type="1"' \
--form 'device_id_code="0546548743452"' \
--form 'device_location="Mall Centre"' \
--form 'device_image=@""' \
--form 'created_by=""'
Response Response Example
{}
Modified at 2025-12-11 12:54:23
Previous
Get Device
Next
edit device
Built with