URL |
| ||||||
---|---|---|---|---|---|---|---|
Method | GET | ||||||
Description | Receive a list of all available orders in the PTLControl. | ||||||
Response |
Note that | ||||||
Possible Error | HTTP404 with no body when no orders found. | ||||||
Status |
|
URL |
| ||||||
---|---|---|---|---|---|---|---|
Method | GET | ||||||
Description | Receive the lines in order | ||||||
Response |
Note that | ||||||
Possible Error | HTTP404 with no body when the order was not found. | ||||||
Status |
|
URL |
| ||||||
---|---|---|---|---|---|---|---|
Method | DELETE | ||||||
Description | Delete all orders | ||||||
Response | HTTP204 | ||||||
Status |
|
URL |
| ||||||
---|---|---|---|---|---|---|---|
Method | DELETE | ||||||
Description | Delete order with orderid | ||||||
Response | HTTP204 | Possble ErrorHTTP404 with no body if order not found | |||||
Status |
|
URL |
| ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Method | POST | ||||||||||||
Description | Create a new order. | ||||||||||||
Request |
| ||||||||||||
Response | HTTP201 without body if created or updated
| ||||||||||||
Possible Error | HTTP400 if request was invalid (e.g. invalid JSON). A human readable error message can be found in the body.
HTTP503 if order exists, but has picked lines
| ||||||||||||
Status |
|