URL |
|
---|---|
Method | GET |
Description | Receives information on the cabinet. |
Response | { "planks": «numberofplanks», "sections": «numberofsections», "name": «nameofcabinet», "status": [«listofhumanreadablestatusmessages»], "demo": "barcode|off", "sides": "frontonly|frontandback", "orders": «number of open orders», "tagmode": «tag mode» } Status message can be:
When list of messages is empty, cabinet is “OK”. De |
Remarks |
|
URL |
|
---|---|
Method | PUT |
Description | Stores information on the cabinet.
|
Request | { "planks": «numberofplanks», "sections": «numberofsections», "name": «nameofcabinet», "sides": "frontonly|frontandback" } |
Response | HTTP204 when successful |
Possible Errors | HTTP400 when request was invalid { "message": «human readable error» } |
Remarks |
|
URL |
|
---|---|
Method | PUT |
Description | Sets the cabinet is lighttest mode: turning light on or off. The light test shows the tag’s address. |
Request | { "mode": "on" | "off" } |
Response | HTTP204 when successful |
Possible Errors | HTTP400 when request was invalid { "message": «human readable error» } |
0 Comments