Provide Start or End Dates to Cart Items
Single start date and end date of a cart item can be updated with the URI /requests/{reqid} PUT
.
cURL Example
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 Request Body
{ "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 Response Body
{ "links": [ { "rel": "self", "href": "https://pseudo.com/iam/governance/selfservice/api/v1/requests/3003" } ], "id": "3003", "requestId": "coder-1001", "status": "SUCCESS" }