Close an existing query

put

/ec-query-svc/rest/v9.0/studies/{studyId}/{mode}/queries/{queryId}/close

Closes an existing query. The query must be in an appropriate state for the user to update it.

Request

Path Parameters
Supported Media Types
Request Body - application/json ()
Root Schema : QueryDTO Version 9
Type: object
Title: QueryDTO Version 9
Information for creating/editing query
Show Source
Nested Schema : studyRoles
Type: array
List of study roles ids
Show Source
Example:
[
    "6AF54DB79B764662B685D68C52AB0B84",
    "6AF54DB79B764662B685D68C52AB0B84"
]
Back to Top

Response

Supported Media Types

200 Response

Successful operation.
Body ()
Root Schema : QueryDTO Version 9
Type: object
Title: QueryDTO Version 9
Information for returned from updating/inserting query
Show Source
Nested Schema : studyRoles
Type: array
Show Source
Nested Schema : QueryStudyRoleDTOv6
Type: object
Show Source

400 Response

Data is invalid.
Body ()
Root Schema : Response DTO
Type: object
Response from Query APIs
Show Source
Nested Schema : Error details DTO
Type: object
Read Only: true
Error details from Query APIs
Show Source
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.
Body ()
Root Schema : Response DTO
Type: object
Response from Query APIs
Show Source
Nested Schema : Error details DTO
Type: object
Read Only: true
Error details from Query APIs
Show Source
Nested Schema : result
Type: object
Read Only: true
Result Object
Nested Schema : details
Type: object
Read Only: true
Error Details
Back to Top