OperationsReviewassignments
Bulk assign reviews
POST
Assign one or more reviews to a user. Existing assignments are overwritten.
header
X-Clinia-API-Key<token>application/json- body
operationIds*array<string>List of operation IDs to assign. Existing assignments are overwritten.
Items
1 <= itemsreviewerId*stringID of the user to assign to the reviews.
A successful response. Check status for an overall summary and each result's status
for per-operation outcome.
application/json- response
status*v1AssignReviewStatusValue in
"SUCCESS""FAILURE"results*array<>curl -X POST 'https://api..clinia.cloud/operations/v1/review-assignments' \ -H 'Content-Type: application/json' \ -d '{ "operationIds": [ "string" ], "reviewerId": "string"}'Example Response
{ "status": "SUCCESS", "results": [ { "operationId": "string", "status": "SUCCESS", "assignment": { "operationId": "string", "reviewerId": "string", "assignerId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" }, "error": { "message": "string", "type": "ALREADY_EXISTS", "details": [ {} ], "additionalContext": {}, "code": 400, "applicationErrorCode": "OPERATIONS_INVALID_REQUEST_BODY" } } ]}