GET /api/v1/edc/studies/PHARMADEMO/subjects?page=0&size=25&sort=subjectId%2CASC&filter=subjectId%3D%3D370 HTTP/1.1
Content-Type: application/json
Host: localhost:8080
Given a StudyKey, fetch the set of subjects. A subject is a conduct resource that represents a single participant in a study. Subjects are related to records in that each subject has one-to-many records. Subjects are related to sites in that each subject belongs to a site.
A GET
request is used to access the index
GET /api/v1/edc/studies/PHARMADEMO/subjects?page=0&size=25&sort=subjectId%2CASC&filter=subjectId%3D%3D370 HTTP/1.1
Content-Type: application/json
Host: localhost:8080
Path parameters are required.
Parameter | Description |
---|---|
|
StudyKey to retrieve list of subjects |
Request parameters are optional. Default values are used unless specified.
Parameter | Description |
---|---|
|
Which index page to be returned. Default value is 0. |
|
Items per page to be returned. Default value is 25. Maximum items allowed per page is 500 |
|
Name of the property by which to sort the result set. To sort in a particular direction add a comma to the property name and either |
|
Optional filter search criteria. Must follow correct syntax. Refer to filter section for details. |
Below is an example response payload.
{
"metadata" : {
"status" : "OK",
"method" : "GET",
"path" : "/api/v1/edc/studies/PHARMADEMO/subjects",
"timestamp" : "2024-11-04 16:03:19",
"error" : { }
},
"pagination" : {
"currentPage" : 0,
"size" : 25,
"totalPages" : 1,
"totalElements" : 1,
"sort" : [ {
"property" : "subjectId",
"direction" : "ASC"
} ]
},
"data" : [ {
"studyKey" : "PHARMADEMO",
"subjectId" : 1,
"subjectOid" : "OID-1",
"subjectKey" : "01-001",
"subjectStatus" : "Enrolled",
"siteId" : 128,
"siteName" : "Chicago Hope Hospital",
"deleted" : false,
"enrollmentStartDate" : "2024-11-04 16:03:19",
"dateCreated" : "2024-11-04 16:03:19",
"dateModified" : "2024-11-04 16:03:20",
"keywords" : [ {
"keywordName" : "Data Entry Error",
"keywordKey" : "DEE",
"keywordId" : 15362,
"dateAdded" : "2024-11-04 16:03:19"
} ]
} ]
}
Path | Type | Description |
---|---|---|
|
|
Http status |
|
|
Http method |
|
|
Requested URI path |
|
|
Timestamp when response was generated |
|
|
Detail error message from request if error occur |
|
|
Current index page |
|
|
Size per page |
|
|
Total pages return from search |
|
|
Total elements return from search |
|
|
Sort property |
|
|
Sort direction |
|
|
Unique study key for a given study |
|
|
Mednet Subject ID |
|
|
Client-assigned subject OID |
|
|
Protocol-assigned subject identifier |
|
|
Subject status |
|
|
Mednet Site ID |
|
|
Site name |
|
|
Enrollment start date |
|
|
Subject deleted flag |
|
|
Date when this subject was created |
|
|
Last date modified of this subject |
|
|
All keywords associated with the subject |