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 page. View the current version.

Compare with Current View Page History

Version 1 Next »

Summary

This page contains documentation for fetching specimen lists for current user.

Result

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

URLhttp://<host>:<port>/catissuecore/rest/ng/specimen-lists
MethodGET
Content-Typeapplication/json
Request[
    {
        "id": 45,
        "label": "SSCP Specimen List1",
        "owner": {
            "id": 1,
            "firstName": "James",
            "lastName": "Smith",
            "loginName": "james.smith@example.com"
        }
    },
    {
        "id": 49,
        "label": "SSCP Specimen List2",
        "owner": {
            "id": 1,
            "firstName": "James",
            "lastName": "Smith",
            "loginName": "james.smith@example.com"
        }
    },
    {
        "id": 46,
        "label": "SSCP Specimen List3",
        "owner": {
            "id": 1,
            "firstName": "James",
            "lastName": "Smith",
            "loginName": "james.smith@example.com"
        }
    }
]

Error Cases

code
Applies to
Status Message
200All resourcesSpecimen-lists for current user is fetched successfully.
401All requestsAuthorization failed, User doesn’t have Authority.
500All requestsInternal server error, Encountered server error while performing operations.
  • No labels