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