View Request Details

The URI /requests/{reqid} GET retrieves the details of a request.

cURL Example

curl  -H "Content-Type: application/json"  -X GET  -u username:password https://pseudo.com/iam/governance/selfservice/api/v1/requests/12

GET Response Body

{
    "links": [
        {
            "rel": "self",
            "href": "https://pseudo.com/iam/governance/selfservice/api/v1/requests/12"
        }
    ],
    "id": "12",
    "reqStatus": "Request Completed",
    "requester": {
        "name": "requesterId",
        "value": "17",
        "link": {
            "rel": "self",
            "href": "https://pseudo.com/iam/governance/selfservice/api/v1/users/17"
        }
    },
    "reqCreatedOn": "2019-03-14T18:35:19Z",
    "reqExpireOn": "2019-03-14T18:54:57Z",
    "reqType": "Modify User Profile",
    "reqBeneficiaryList": [
        {
            "links": [
                {
                    "rel": "self",
                    "href": "https://pseudo.com/iam/governance/selfservice/api/v1/users/17"
                }
            ],
            "id": "17"
        }
    ],
    "reqTargetEntities": [],
    "reqModifiedOnDate": "2019-03-14T18:54:57Z",
    "requestTaskDetails": [
        {
            "title": "Default operational level approval for Request ID 12",
            "history": {
                "previousApprovers": [
                    {
                        "stage": "defaultOperationalApproval.approvalTask.assignee",
                        "status": "APPROVE",
                        "approvers": "SYSTEM ADMINISTRATORS",
                        "acquiredBy": "sysadmin",
                        "stageIndex": "3",
                        "updatedDate": "2019-03-14T18:54:56Z"
                    }
                ],
                "currentApprovers": [
                    {
                        "stage": "defaultOperationalApproval.approvalTask.assignee",
                        "status": "COMPLETED",
                        "approvers": ""
                    }
                ],
                "futureApprovers": []
            }
        }
    ],
    "childRequests": []
}