Get list of opened queries
post
/ec-query-svc/rest/v1.0/studies/{studyId}/{mode}/querymgmt/openQueryList
Retrieves a list of all opened non-candidate queries, based on any combination of the following parameters:
Additional Filter options can be found in request payload.
- study ID
- study mode (Testing, Training, or Production)
- subject ID
- site ID
- visit ID
- event ID
- form ID
- question ID
- query state
Additional Filter options can be found in request payload.
Request
Path Parameters
-
mode(required): string
Study mode.
-
studyId(required): string
Study ID.
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object
-
assignedRoleId: string
-
closedStudyRoleId: string
-
creatorStudyRoleId: string
-
currentRecord: string
-
formIdList: array
formIdList
-
lastUpdated: string
-
paginationParam: object
PaginationParamDTO
-
queryByAge: string
-
queryByID: string
-
queryClosedBy: string
-
queryCreatedBy: string
-
queryGridView: string
-
queryState: array
queryState
-
queryType: string
-
searchStr: string
-
siteIdList: array
siteIdList
-
subjectIdList: array
subjectIdList
Response
Supported Media Types
- application/json
200 Response
Successful operation.
Nested Schema : QueryDetailsDTOv10Resp
Type:
Show Source
object
-
comments: array
comments
-
discrepancyId: integer
Discrepancy Id
-
eventInstanceNumber: number
Sequence number (0, 1, 2, ...) of repeating eventExample:
0
-
formId: string
(uuid)
Form Unique GUID
-
formInstanceNumber: number
Sequence number (0, 1, 2, ...) of repeating formExample:
0
-
formName: string
-
id: string
(uuid)
Query Unique GUID
-
isCycle: boolean
-
isQueryCreator: boolean
-
itemId: string
(uuid)
Item Unique GUID
-
itemName: string
-
objectVersionNumber: number
Sequence number (0, 1, 2, ...) of object Version NumberExample:
0
-
propertyName: string
-
propertyType: string
-
queryAge: string
-
queryModAllowedByUser: boolean
-
repeatFormNumber: integer
Repeat Form Number
-
ruleId: string
(uuid)
-
siteId: string
(uuid)
Site Unique GUID
-
studyRoles: array
studyRoles
-
studyVersion: string
-
subjectId: string
(uuid)
Subject Unique GUID
-
subjectName: string
-
userCanAnswerQuery: boolean
-
userCanCloseQuery: boolean
-
visitId: string
(uuid)
-
visitName: string
Nested Schema : CommentDetailsDTOV2
Type:
Show Source
object
-
queryComment: string
-
state: string
Allowed Values:
[ "Candidate", "Opened", "Answered", "Deleted", "Closed" ]
-
userDisplayName: string
-
userInfo: object
DisplayUserDto
-
userStudyRoleId: string
-
userStudyRoleName: string
-
value: string
-
versionStart: string
(date-time)
400 Response
Data is invalid.
Root Schema : Response DTO
Type:
object
Response from Query APIs
Show Source
-
errorData: object
Error details DTO
Read Only:
true
Error details from Query APIs -
result: object
result
Read Only:
true
Result Object -
status: string
Read Only:
true
Allowed Values:[ "success, failed" ]
Status -
version: string
Read Only:
true
Response version
Nested Schema : Error details DTO
Type:
object
Read Only:
true
Error details from Query APIs
Show Source
-
details: object
details
Read Only:
true
Error Details -
errorCode: string
Read Only:
true
Error Code -
errorMessage: string
Read Only:
true
Error Message
Nested Schema : result
Type:
object
Read Only:
true
Result Object
Nested Schema : details
Type:
object
Read Only:
true
Error Details
404 Response
The query could not be found.
Root Schema : Response DTO
Type:
object
Response from Query APIs
Show Source
-
errorData: object
Error details DTO
Read Only:
true
Error details from Query APIs -
result: object
result
Read Only:
true
Result Object -
status: string
Read Only:
true
Allowed Values:[ "success, failed" ]
Status -
version: string
Read Only:
true
Response version
Nested Schema : Error details DTO
Type:
object
Read Only:
true
Error details from Query APIs
Show Source
-
details: object
details
Read Only:
true
Error Details -
errorCode: string
Read Only:
true
Error Code -
errorMessage: string
Read Only:
true
Error Message
Nested Schema : result
Type:
object
Read Only:
true
Result Object
Nested Schema : details
Type:
object
Read Only:
true
Error Details