GET /api/v1/edc/studies/batchId/queries?page=0&size=25&sort=annotationId%2CASC&filter=variable%3D%3Daeterm HTTP/1.1
Content-Type: application/json
Host: localhost:8080
Given a StudyKey, fetch the set of queries. A query is a conduct resource that encapsulates dialogue pertaining to specific eCRF responses or other matters relevant to the conduct of the study. Queries may be user-initiated, or automatically applied according to study protocol criteria.
A GET
request is used to access the index
GET /api/v1/edc/studies/batchId/queries?page=0&size=25&sort=annotationId%2CASC&filter=variable%3D%3Daeterm HTTP/1.1
Content-Type: application/json
Host: localhost:8080
Path parameters are required.
Parameter | Description |
---|---|
|
StudyKey to retrieve list of query |
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/batchId/queries",
"timestamp" : "2024-11-04 16:03:19",
"error" : { }
},
"pagination" : {
"currentPage" : 0,
"size" : 25,
"totalPages" : 1,
"totalElements" : 1,
"sort" : [ {
"property" : "annotationId",
"direction" : "ASC"
} ]
},
"data" : [ {
"studyKey" : "PHARMADEMO",
"subjectId" : 1,
"subjectOid" : "OID-1",
"annotationType" : "subject",
"annotationId" : 1,
"type" : null,
"description" : "Monitor Query",
"recordId" : 123,
"variable" : "aeterm",
"subjectKey" : "123-005",
"dateCreated" : "2024-11-04 16:03:19",
"dateModified" : "2024-11-04 16:03:20",
"queryComments" : [ {
"sequence" : 1,
"annotationStatus" : "Monitor Query Open",
"user" : "john",
"comment" : "Added comment to study",
"closed" : false,
"date" : "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 |
|
|
User defined identifier for Query Type |
|
|
Unique system identifier for Query Instance |
|
|
System text identifier for query type/location. Valid responses are subject|record|question |
|
|
Query description |
|
|
Protocol-assigned subject identifier |
|
|
Unique system identifier for Record |
|
|
User defined field identifier |
|
|
Query sequence |
|
|
User performing Query action |
|
|
User defined Query status |
|
|
User comments applied at time of Query action |
|
|
Query moved to closed status |
|
|
Date of Query Comment |
|
|
Date when the query was created |
|
|
Date when the query was modified |