[Deprecated]: v9.0
get
/ec-query-svc/rest/v9.0/studies/{studyId}/{mode}/openQueryDetails
Deprecated: Use latest version instead. Compared to v8.0, this v9.0 endpoint maintains open-query detail filtering while aligning response structure with v9 metadata conventions. This benefits users by providing stable open-query reporting across versions.
Request
Path Parameters
-
mode(required): string
Study mode. Allowed values: test (testing sandbox), training (training environment), and active (production).
-
studyId(required): string(uuid)
Clinical One study identifier formatted as a 32 to 36 character GUID.
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Successful operation.
Nested Schema : QueryDetailsDTOv9Resp
Type:
Show Source
object-
comments: array
comments
A list of comments associated with the query
-
discrepancyId: integer
(int64)
Discrepancy identifier sourced from Data Capture. Negative values are rejected.Example:
123456789 -
eventInstanceNumber: number
(int64)
Sequence number (0, 1, 2, ...) of the repeating event. Negative values are rejected.Example:
0 -
formId: string
(uuid)
Form unique GUID.
-
formInstanceNumber: number
(int64)
Sequence number (0, 1, 2, ...) of the repeating form. Negative values are rejected.Example:
0 -
formName: string
The name of the form associated with the queryExample:
Form 1 -
id: string
(uuid)
Query unique identifier. Value must be a 32 to 36 character hexadecimal GUID.
-
isQueryCreator: boolean
Indicates if the authenticated user created the query (true or false).Example:
true -
itemId: string
(uuid)
Item unique GUID.
-
itemName: string
The name of the item associated with the queryExample:
Item 1 -
objectVersionNumber: number
(int64)
Sequence number (0, 1, 2, ...) of object version. Negative values are rejected.Example:
0 -
propertyName: string
The name of the property associated with the queryExample:
visitStartDatev -
propertyType: string
The type of property associated with the queryExample:
visit -
queryModAllowedByUser: boolean
Indicates whether the user is allowed to modify the queryExample:
true -
repeatFormNumber: integer
(int64)
Repeat form sequence number. Negative values are rejected.Example:
1 -
ruleId: string
(uuid)
The ID of the rule associated with the query
-
studyRoles: array
studyRoles
Study role assignments returned after update.
-
studyVersion: string
The version of the study associated with the queryExample:
1.0 -
subjectId: string
(uuid)
Subject unique GUID.
-
subjectName: string
The name of the subject associated with the queryExample:
John Doe -
userCanAnswerQuery: boolean
Indicates whether the user can answer the queryExample:
true -
userCanCloseQuery: boolean
Indicates whether the user can close the queryExample:
true -
visitId: string
(uuid)
The ID of the visit associated with the queryExample:
123e4567-e89b-12d3-a456-426655440000 -
visitName: string
The name of the visit associated with the queryExample:
Visit 1
Nested Schema : comments
Type:
arrayA list of comments associated with the query
Show Source
-
Array of:
object CommentDetailsDTO
A list of comments associated with the query
Nested Schema : CommentDetailsDTO
Type:
objectA list of comments associated with the query
Show Source
-
queryComment: string
Comment text recorded for the query state transition.Example:
Query remains open pending site response. -
state: string
Allowed Values:
[ "Candidate", "Opened", "Answered", "Closed", "Deleted" ]Query state for the comment entry. Candidate = query created but not yet opened; Opened = action required; Answered = awaiting review; Closed = resolved; Deleted = removed from workflow.Example:Opened -
userInfo: object
DisplayUserDto
User details including name, username, and email address.
-
value: string
Optional value associated with the comment.Example:
Visit data validated. -
versionStart: string
(date-time)
Timestamp when the comment became effective.Example:
2024-03-14T09:15:30Z
Nested Schema : DisplayUserDto
Type:
objectUser details including name, username, and email address.
Show Source
-
emailAddress: string
User's email address.Example:
alice.brown@email.com -
firstName: string
User's first name.Example:
Alice -
id: string
Unique identifier for the user.Example:
1BC29B36F5D64B1B95F4BDBBCEA481BE -
lastName: string
User's last name.Example:
Brown -
userName: string
User's login name.Example:
alicebrown
Nested Schema : QueryStudyRoleDTOv6
Type:
Show Source
object-
studyRoleId: string
(uuid)
Study role of the user performing the query operation
-
studyRoleName: string
Study role name of the user performing the query operationExample:
CRA
Examples
400 Response
Request validation failed due to missing, invalid, or inconsistent request data.
Root Schema : Response DTO
Type:
objectBase envelope returned by Query APIs. Use the status field to determine whether result or errorData is populated.
Show Source
-
errorData: object
Error details DTO
Standard structure used to describe errors returned by Query APIs.
-
result: object
result
Result payload returned when status equals success.
-
status: string
Read Only:
trueAllowed Values:[ "success", "failed" ]Overall execution status. Value is success when result is populated and failed when errorData is returned.Example:success -
version: string
Read Only:
trueSemantic version of the response envelope.Example:1
Example:
{\n \"status\": \"success\",\n \"result\": {\n \"id\": \"AE33A9096BF548BBB29A96E399E9FBBB\",\n \"state\": \"Answered\"\n },\n \"errorData\": null,\n \"version\": \"1\"\n}Nested Schema : Error details DTO
Type:
objectStandard structure used to describe errors returned by Query APIs.
Show Source
-
details: object
QueryRestErrorDetail
Read Only:
trueContext object returned when additional error metadata is available. -
errorCode: string
Read Only:
trueMachine-readable error code that identifies the failure.Example:QRY-5000 -
errorMessage: string
Read Only:
trueHuman-readable explanation describing why the request failed.Example:Unexpected server error.
Example:
{
"errorCode":"QRY-5000",
"errorMessage":"Unexpected server error.",
"details":{
"requestId":"3b3b8f31-87a3-4dd2-8b9d-21d0c93ef27a",
"supportCode":"QRY-5000",
"hint":"Retry request after verifying the study mode."
}
}Nested Schema : result
Type:
objectResult payload returned when status equals success.
Example:
{
"opened":3,
"answered":1,
"closed":2
}Nested Schema : QueryRestErrorDetail
Type:
objectRead Only:
trueContext object returned when additional error metadata is available.
Show Source
-
hint: string
Client-facing guidance that clarifies how to resolve or retry the request.Example:
Retry request after verifying the study mode. -
requestId: string
Unique identifier that can be supplied to Oracle Support when troubleshooting.Example:
3b3b8f31-87a3-4dd2-8b9d-21d0c93ef27a -
supportCode: string
Support or incident code associated with the error source.Example:
QRY-5000
Example:
{
"requestId":"3b3b8f31-87a3-4dd2-8b9d-21d0c93ef27a",
"supportCode":"QRY-5000",
"hint":"Retry request"
}Examples
404 Response
The query could not be found.
Root Schema : Response DTO
Type:
objectBase envelope returned by Query APIs. Use the status field to determine whether result or errorData is populated.
Show Source
-
errorData: object
Error details DTO
Standard structure used to describe errors returned by Query APIs.
-
result: object
result
Result payload returned when status equals success.
-
status: string
Read Only:
trueAllowed Values:[ "success", "failed" ]Overall execution status. Value is success when result is populated and failed when errorData is returned.Example:success -
version: string
Read Only:
trueSemantic version of the response envelope.Example:1
Example:
{\n \"status\": \"success\",\n \"result\": {\n \"id\": \"AE33A9096BF548BBB29A96E399E9FBBB\",\n \"state\": \"Answered\"\n },\n \"errorData\": null,\n \"version\": \"1\"\n}Nested Schema : Error details DTO
Type:
objectStandard structure used to describe errors returned by Query APIs.
Show Source
-
details: object
QueryRestErrorDetail
Read Only:
trueContext object returned when additional error metadata is available. -
errorCode: string
Read Only:
trueMachine-readable error code that identifies the failure.Example:QRY-5000 -
errorMessage: string
Read Only:
trueHuman-readable explanation describing why the request failed.Example:Unexpected server error.
Example:
{
"errorCode":"QRY-5000",
"errorMessage":"Unexpected server error.",
"details":{
"requestId":"3b3b8f31-87a3-4dd2-8b9d-21d0c93ef27a",
"supportCode":"QRY-5000",
"hint":"Retry request after verifying the study mode."
}
}Nested Schema : result
Type:
objectResult payload returned when status equals success.
Example:
{
"opened":3,
"answered":1,
"closed":2
}Nested Schema : QueryRestErrorDetail
Type:
objectRead Only:
trueContext object returned when additional error metadata is available.
Show Source
-
hint: string
Client-facing guidance that clarifies how to resolve or retry the request.Example:
Retry request after verifying the study mode. -
requestId: string
Unique identifier that can be supplied to Oracle Support when troubleshooting.Example:
3b3b8f31-87a3-4dd2-8b9d-21d0c93ef27a -
supportCode: string
Support or incident code associated with the error source.Example:
QRY-5000
Example:
{
"requestId":"3b3b8f31-87a3-4dd2-8b9d-21d0c93ef27a",
"supportCode":"QRY-5000",
"hint":"Retry request"
}Examples