Assign study roles to queries

put

/v1.0/studies/{studyId}/{mode}/queries/{queryId}/assignupdate

Assigns study roles to queries, which are not in closed/deleted/candidate state.

Request

Path Parameters
Supported Media Types
Request Body - application/json ()
Assigned study roles to the query.
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 6
Type: object
Title: QueryDTO Version 6
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