Got feedback or spotted a mistake?

Leave a comment at the end of this page or email contact@krishagni.com

Fetching Specimens of a Specimen-List

Summary

This page contains documentation on fetching specimens that belongs to a specimen list.

Request Details

Parameter
Details
specimenListId

Identifier of the specimen.

 

Endpoint and Payload details

The response of this request will contain the summary of specimens belong to specimen list identified by 'specimenListId'.

URLhttp://<host>:<port>/catissuecore/rest/ng/specimen-lists/{specimenListId}/specimens
MethodGET
Content-Typeapplication/json
Request<nil>
Response

[

    {

        "id": 15,

        "label": "Frozen Spec SC1123"

    },

    {

        "id": 16,

        "label": "Frozen Spec SC1124"

    },

    {

        "id": 17,

        "label": "Frozen Spec SC1126"

    }

]

Error Cases

code
Applies to
Status Message
200All resourcesSpecimens have been retrieved successfully.
400All requestsInvalid parameters, i.e. invalid specimen-list id.
401All requestsAuthorization failed, User doesn’t have Authority.
500All requestsInternal server error, Encountered server error while performing operations

   

 

Got feedback or spotted a mistake?

Leave a comment at the end of this page or email contact@krishagni.com