リクエストの正当化
リクエストのビジネス上の理由または正当化は、URI /requests POST
を使用して実行できます。
cURLの例
curl -H "Content-Type: application/json" -H "X-Requested-By: <anyvalue>" -X POST -u username:password -d @post.json https://pseudo.com/iam/governance/selfservice/api/v1/requests
POSTリクエスト本文
{ "requests" :[ { "requestId": "Req1001", "reqJustification" : "Request role for sub-ordinate", "reqBeneficiaryList": [ { "id": "24" } ], "reqTargetEntities": [ { "entityId": "14", "entityType": "role", "startDate" : "2019-06-20T01:30:00Z", "endDate" : "2019-09-25T18:30:00Z" }, { "entityId": "15", "entityType": "role", "startDate" : "2019-06-20T01:30:00Z", "endDate" : "2019-09-25T18:30:00Z" } ] } ] }
POSTレスポンス本文
{ "links": [ { "rel": "self", "href": "https://pseudo.com/iam/governance/selfservice/api/v1/requests" } ], "requests": [ { "links": [ { "rel": "self", "href": "https://pseudo.com/iam/governance/selfservice/api/v1/requests/3005" } ], "id": "3005", "requestId": "Req1001", "reqStatus": "Request Created", "status": "SUCCESS" } ] }