Got feedback or spotted a mistake?
Leave a comment at the end of this page or email contact@krishagni.com
Retrieve Order Items
This API can be used to retrieve the details of order items of the requested order.
URL | /openspecimen/rest/ng/distribution-orders/{orderId}/items |
Method | GET |
Response | [ { "id": 101, "specimen": { "id": 10101, "label": "LC-0001-P1", "cpShortTitle": "Lung Cancer", /* Other details of specimen */ }, "quantity": 2, "cost": 2.5, "status": "DISTRIBUTED_AND_CLOSED" }, /* Other order items */ ] |
The path variable orderId
should be set to the ID of the order whose items are requested. The order items can be paginated by setting the appropriate values for startAt
and maxResults
query params.
Got feedback or spotted a mistake?
Leave a comment at the end of this page or email contact@krishagni.com