This API is used to create derived specimen requirements.
URL | /openspecimen/rest/ng/specimen-requirements/{parent-req-id}/derived |
Method | POST |
Body | { "code" : "PL" , "specimenClass" : "Fluid" , "type" : "Plasma" , "anatomicSite" : "Not Specified" , "laterality" : "Not Specified" , "pathology" : "Not Specified" , "quantity" : 10, "concentration" : 1.1, "labelFmt" : null } |
Response
HTTP Status Code | Description |
---|---|
200 | The derived specimen requirement is created and is assigned a unique ID. The response body contains the requirement details along with the unique ID. This unique ID can be used later to update, retrieve or create aliquots. |
400 | Something incorrect with the request. The response body contains the error code and the human readable error message. |
500 | Something wrong with the server. Please contact support along with the request payload and exception stack trace. |
...