Retrieve Study Specimens for a Study Identifier

get

/ohfapi/cg/v3.3/studies/{id}/specimens

This endpoint supports the retrieval of Study Specimens for a Study Row ID passed.

Request

Supported Media Types
Path Parameters
Query Parameters
Security
Back to Top

Response

Supported Media Types

200 Response

successful operation
Body ()
Root Schema : PageableCollection
Type: object
Model for paginated collections of data.
Show Source
Nested Schema : items
Type: array
A collection of paged items.
Show Source
Nested Schema : Serializable
Type: object

400 Response

Invalid parameters supplied

404 Response

Specimens were not found
Back to Top

Examples

The following example submits a GET request.

API URL

http://localhost:7010/ohfapi/cg/v3.3/studies/2/specimens?limit=10&offset=0

Example of Response Body

The following example shows the contents of the response body in JSON format:

{
  "resourceType": "StudySpecimen",
  "items": [
    {
      "reference": "/ohfapi/cg/v3.3/subjectapi/clinicalspecimens/61"
    },
    {
      "reference": "/ohfapi/cg/v3.3/subjectapi/clinicalspecimens/62"
    },
    {
      "reference": "/ohfapi/cg/v3.3/subjectapi/clinicalspecimens/63"
    },
    {
      "reference": "/ohfapi/cg/v3.3/subjectapi/clinicalspecimens/64"
    },
    {
      "reference": "/ohfapi/cg/v3.3/subjectapi/clinicalspecimens/65"
    },
    {
      "reference": "/ohfapi/cg/v3.3/subjectapi/clinicalspecimens/66"
    },
    {
      "reference": "/ohfapi/cg/v3.3/subjectapi/clinicalspecimens/67"
    },
    {
      "reference": "/ohfapi/cg/v3.3/subjectapi/clinicalspecimens/68"
    },
    {
      "reference": "/ohfapi/cg/v3.3/subjectapi/clinicalspecimens/69"
    },
    {
      "reference": "/ohfapi/cg/v3.3/subjectapi/clinicalspecimens/70"
    }
  ],
  "count": 10,
  "hasMore": true,
  "links": [
    {
      "rel": "self",
      "href": "http://localhost:7010/ohfapi/cg/v3.3/studies/2/specimens?limit=10&offset=0"
    },
    {
      "rel": "next",
      "href": "http://localhost:7010/ohfapi/cg/v3.3/studies/2/specimens?offset=10&limit=10"
    }
  ]
}
Back to Top