Versions Compared

Key

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

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:

ParameterDetails
labelA display name for Specimen-list.
sharedWithCollection 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.
specimensCollection 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.

...