Certification Sign Off
A certification is signed off using the following URIs:
-
/certifications/{certid}/tasks/{taskid} PUT
: Allows the update to a task, such as expire the task or create a proxy for the task -
/certifications/{certid/tasks/{taskid}/lineitems/{lineitemid} PUT
: Updates the action associated with a line item, such as claim, revoke abstain, and complete
cURL Example for Updating a Task
curl -H "Content-Type: application/json" -H "X-Requested-By: <anyvalue>" -X PUT -u username:password -d @put.json https://pseudo.com/iam/governance/selfservice/api/v1/certifications/21/tasks/ca52584a-71f7-48da-8ac0-3accb37efa92
PUT Request Body
{ "action" : "suspend" }
PUT Response Bode
{ "links": [ { "rel": "self", "href": "https://pseudo.com/iam/governance/selfservice/api/v1/certifications/21/tasks/ca52584a-71f7-48da-8ac0-3accb37efa92" } ], "id": "ca52584a-71f7-48da-8ac0-3accb37efa92", "action": "suspend", "status": "SUCCESS", "fields": [ { "name": "state", "value": "SUSPENDED" }, { "name": "assignees", "value": [ "Ajay Arora" ] } ] }
cURL Example for Updating the Line Item Action
curl -H "Content-Type: application/json" -H "X-Requested-By: <anyvalue>" -X PUT -u username:password -d @put.json https://pseudo.com/iam/governance/selfservice/api/v1/certifications/1/tasks/164b640d-e192-4177-8d1b-dc440e260677/lineitems
PUT Request Body
{ "lineItems": [ { "requestId": "100", "lineItemId": "1", "action": "ResetStatus", "comments": "test ResetStatus" }, { "requestId": "101", "lineItemId": "1", "action": "EditComment", "comments": "test EditComment" } ] }
PUT Response Body
{ "links": [ { "rel": "self", "href": "https://pseudo.com/iam/governance/selfservice/api/v1/certifications/1/tasks/164b640d-e192-4177-8d1b-dc440e260677/lineitems" } ], "lineItems": [ { "links": [ { "rel": "self", "href": "https://pseudo.com/iam/governance/selfservice/api/v1/certifications/1/tasks/164b640d-e192-4177-8d1b-dc440e260677/lineitems/1" } ], "action": "ResetStatus", "requestId": "100", "lineItemId": "1", "status": "SUCCESS" }, { "links": [ { "rel": "self", "href": "https://pseudo.com/iam/governance/selfservice/api/v1/certifications/1/tasks/164b640d-e192-4177-8d1b-dc440e260677/lineitems/1" } ], "action": "EditComment", "requestId": "101", "lineItemId": "1", "status": "SUCCESS" } ] }