15 lines
361 B
HTTP
15 lines
361 B
HTTP
### List all Orders - deep read
|
|
GET http://localhost:4004/admin/Orders?
|
|
&$expand=Items
|
|
|
|
### Submit Orders - deep insert
|
|
POST http://localhost:4004/browse/Orders
|
|
Content-Type: application/json
|
|
|
|
{ "OrderNo":"1234", "Items":[
|
|
{ "book_ID":201, "amount":5 },
|
|
{ "book_ID":207, "amount":3 }
|
|
]}
|
|
|
|
### Try to get the Orders
|
|
GET http://localhost:4004/browse/Orders |