カートの項目への開始日または終了日の指定
カートの項目の1つの開始日と終了日は、URI /requests/{reqid} 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/requests/3003
PUTリクエスト本文
{ "requestId": "coder-1001", "reqTargetEntities": [ { "appFormData": [ { "name": "endDate", "value": "2019-12-24T07:00:00Z" }, { "name": "startDate", "value": "2019-07-15T07:00:00Z" } ], "entityId": "11", "entityType": "Role" } ] }
PUTレスポンス本文
{ "links": [ { "rel": "self", "href": "https://pseudo.com/iam/governance/selfservice/api/v1/requests/3003" } ], "id": "3003", "requestId": "coder-1001", "status": "SUCCESS" }