Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This API is used to create derived specimen requirements.

URL/openspecimen/rest/ng/specimen-requirements/{parent-req-id}/derived
MethodPOST
Body


Code Block
{

  "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
200The 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.
400Something incorrect with the request. The response body contains the error code and the human readable error message.
500Something wrong with the server. Please contact support along with the request payload and exception stack trace.


...