GET /api/v1/edc/studies?page=0&size=25&sort=studyKey%2CASC&filter=studyKey%3D%3DPHARMADEMO HTTP/1.1
x-imn-security-key: my-security-key
x-api-key: my-api-token
Content-Type: application/json
Host: localhost:8080
Given an API Key, fetch the set of studies. Only studies that the API key is authorized to view will be included in the response.
A GET
request is used to access the index
GET /api/v1/edc/studies?page=0&size=25&sort=studyKey%2CASC&filter=studyKey%3D%3DPHARMADEMO HTTP/1.1
x-imn-security-key: my-security-key
x-api-key: my-api-token
Content-Type: application/json
Host: localhost:8080
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",
"timestamp" : "2024-11-04 16:03:18",
"error" : { }
},
"pagination" : {
"currentPage" : 0,
"size" : 25,
"totalPages" : 1,
"totalElements" : 1,
"sort" : [ {
"property" : "studyKey",
"direction" : "ASC"
} ]
},
"data" : [ {
"sponsorKey" : "100",
"studyKey" : "PHARMADEMO",
"studyId" : 100,
"studyName" : "iMednet Pharma Demonstration Study",
"studyDescription" : "iMednet Demonstration Study v2 Created 05April2018 After A5 Release",
"studyType" : "STUDY",
"dateCreated" : "2024-11-04 16:03:18",
"dateModified" : "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 error page |
|
|
Size per page |
|
|
Total pages return from search |
|
|
Total elements return from search |
|
|
Sort property |
|
|
Sort direction |
|
|
Sponsor key that this study is belong to |
|
|
Unique study key |
|
|
Mednet study ID |
|
|
Study name |
|
|
Study description detail |
|
|
The type of study |
|
|
Date when this record was created |
|
|
Last date modified of this record |