Use the following resource to create new specimen list in the OpenSpecimen application. Use HTTP POST method to call this API by passing the below details in JSON format.
Resource:
catissuecore/rest/ng/users
This page contains documentation for create specimen list API.
Below are the attributes which need to be sent in the request body:
Parameter | Details |
---|---|
label | A display name for Specimen-list. |
sharedWith | Collection of Users with whom the list is shared with. This member is optional. |
id | (sharedWith) User id of the person with whom the list is shared with. |
specimens | Collection of specimens which belong to the given list. A Specimen-list can have one or more specimens in it. This member is optional. |
id | (specimens) Identifier of the specimen. |
...
specimen |
...
. |
Result:
The response of this request will contain the details of the newly created specimen-list.
...