URL |
|
---|---|
Method | GET |
Description | Receive a list of all available orders in the PTLControl. |
Response | { «orderid»: [ { "article": «article description», "location": «location», "ordered": «amount ordered», "picked": «amount picked» }, ... ], ... } Note that |
Possible Error | HTTP404 with no body when no orders found. |
Status | DESIGN |
URL |
|
---|---|
Method | GET |
Description | Receive the lines in order |
Response | [ { "article": «article description», "location": «location», "ordered": «amount ordered», "picked": «amount picked» }, ... ] Note that |
Possible Error | HTTP404 with no body when the order was not found. |
Status | DESIGN |
URL |
|
---|---|
Method | DELETE |
Description | Delete all orders |
Response | HTTP204 |
Status | DESIGN |
URL |
|
---|---|
Method | DELETE |
Description | Delete order with orderid |
Response | HTTP204 |
Possble Error | HTTP404 with no body if order not found |
Status | DESIGN |
URL |
|
---|---|
Method | POST |
Description | Create a new order. The
|
Response | HTTP201 if created, the body returns the order id used. |
Possible Error | HTTP400 if request was invalid. A human readable error message can be found in the body. HTTP503 if request could not be fulfilled |
Status | DESIGN |
Add Comment