cURL
curl --request GET \ --url https://api.example.com/api/lockers/{lockerNo}
{ "lockerNo": "<string>", "employeeNumber": "<string>", "size": 123, "location": "<string>", "isEmpty": true }
Retrieve a specific locker by its locker number
GET /api/lockers/{lockerNo}
curl -X GET https://api.example.com/api/lockers/A001 \ -H "Content-Type: application/json"
{ "lockerNo": "A001", "employeeNumber": "EMP12345", "size": 2, "location": "Building A - Floor 1", "isEmpty": false }
"Locker not found"