証明のサインオフ
証明は、次のURIを使用してサインオフされます。
-
/certifications/{certid}/tasks/{taskid} PUT
タスクの失効またはタスクのプロキシの作成など、タスクへの更新を許可します -
/certifications/{certid/tasks/{taskid}/lineitems/{lineitemid} PUT
要求、棄権の失効、完了など、明細項目に関連付けられたアクションを更新します
cURLの例: タスクの更新
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リクエスト本文
{ "action" : "suspend" }
PUTレスポンス本文
{ "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の例: 明細項目アクションの更新
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リクエスト本文
{ "lineItems": [ { "requestId": "100", "lineItemId": "1", "action": "ResetStatus", "comments": "test ResetStatus" }, { "requestId": "101", "lineItemId": "1", "action": "EditComment", "comments": "test EditComment" } ] }
PUTレスポンス本文
{ "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" } ] }