Got feedback or spotted a mistake?

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

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

Version 1 Next »

Summary

This page contains documentation for Get specimen list details.

Request Details

Parameter
Details
specimenListIdIdentifier of specimen list.

 

Result

The response of this request will contain the details of the specified specimen-list.

URLhttp://<host>:<port>/catissuecore/rest/ng/specimen-lists/{specimenListId}
MethodGET
Content-Typeapplication/json
Request<nil>
Response{
    "id": 49,
    "label": "Brain Cancer CP - C123 - List1",
    "owner": {
        "id": 1,
        "firstName": "current-user",
        "lastName": "current-user",
        "loginName": "currentuser@example.com"
    },
    "sharedWith": [
        {
            "id": 3,
            "firstName": "tech",
            "lastName": "tech",
            "loginName": "tech@tech.com"
        },
        {
            "id": 2,
            "firstName": "super",
            "lastName": "super",
            "loginName": "super@super.com"
        }
    ],
    "specimens": [
        {
            "id": 12,
            "label": "Frozen Specimen - SP12314"
        },
        {
            "id": 13,
            "label": "Frozen Specimen - SP12315"
        }
    ]
}

Error Cases

code
Applies to
Status Message
200All resourcesSpecimen-list details have been retrieved successfully.
400All requestsInvalid parameters, e.g  duplicate Specimen-list label, Invalid User-ids, Invalid Specimen-ids.
401All requestsAuthorization failed, User doesn’t have Authority.
500All requestsInternal server error, Encountered server error while performing operations.
  • No labels