[Deprecated]: Assign study roles to queries

put

/ec-query-svc/rest/v2.0/studies/{studyId}/{mode}/queries/{queryId}/assignupdate

Deprecated: Use latest version instead. Assigns study roles to queries, which are not in closed/deleted/candidate state.

Request

Path Parameters
Query Parameters
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Request for assignupdate Query API
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 7
Type: object
Title: QueryDTO Version 7
Information for creating/editing query
Show Source
Nested Schema : studyRoles
Type: array
List of study roles ids
Show Source
Example:
[
    "6AF54DB79B764662B685D68C52AB0B84",
    "6AF54DB79B764662B685D68C52AB0B84"
]

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