Select the activity rows for a task
PUT/api/v1/AccessCertificationTask/Rows/Update/:taskId
Adds or removes activity rows in a task. A row with no ID and status Requested (1) is added, and a row with an ID and status NotSet (0) is removed. Build the rows from the activitiesDetail list that the create, update or get task call returns.
Permission required: Admin role.
Values for rows[].status and activitiesDetail[].status: 0 = NotSet, 1 = Requested, 2 = Approved, 3 = Denied.
Values for summary.status: 0 = Setup, 1 = ReadyToStart, 2 = Incomplete, 3 = Complete.
Caution: Changes are saved immediately. The server does not check the task's status, so rows can still be added or removed after the task is released for review.
Request
Responses
- 200
- 400
- 403
- 404
Returns the task summary and the detail of each activity row, selected and available.
The ID in the path does not match the body, or the update failed.
The signed-in user does not have the required role.
The task does not exist.