Versions Compared

Key

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

...

This page contains documentation for fetching specimen lists for current user. Response contains both the specimen types, the specimens which user has created and the specimens which are shared with the user. The user here is defined by user who is currently logged in into OpenSpecimencurrent logged in user in Openspecimen.

Result

The response Response of this request will contain the details of the newly created specimen-listevent contains summary of specimen lists that are either created by the current-user or shared with current-user.

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": "Carl",
            "lastName": "Flynn",
            "loginName": "Carl.Flynn@example.com"
        }
    }
]

...