...
URL |
| ||||||
---|---|---|---|---|---|---|---|
Method | POST | ||||||
Description | Upload a new XLSX file to register a mapping. It will read the columns On upload, all existing data will be erased and the new data is loaded. | ||||||
Request |
| ||||||
Response | HTTP204 is successful | ||||||
Possible Errors | HTTP400 when request was invalid
| ||||||
Status |
|
URL |
| ||||||
---|---|---|---|---|---|---|---|
Method | PUT | ||||||
Description | Set the light that corresponds to the barcode in the previously uploaded mapping. This behaves the same as the | ||||||
Request |
| ||||||
Response | HTTP204 when successful | ||||||
Possible errors | HTTP400 when request was invalid
HTTP404 with no body when mapping does not exist HTTP409 when cabinet not in correct mode, or when the mapped resource was invalid (which can only be solved by a valid upload, see above). | ||||||
Status |
|