リクエストのフィルタ
URI /requests GET
は戻り属性をフィルタできます。
cURLの例
curl -H "Content-Type: application/json" -X GET -u username:password https://pseudo.com/iam/governance/selfservice/api/v1/requests?q=reqStatus co waiting
GETレスポンス本文
{ "links": [ { "rel": "self", "href": "https://pseudo.com/iam/governance/selfservice/api/v1/requests?offset=1&limit=10&q=reqStatus%20co%20waiting" }, { "rel": "first", "href": "https://pseudo.com/iam/governance/selfservice/api/v1/requests?offset=1&limit=10&q=reqStatus%20co%20waiting" } ], "count": 4, "hasMore": false, "totalResult": -1, "requests": [ { "links": [ { "rel": "self", "href": "https://pseudo.com/iam/governance/selfservice/api/v1/requests/2001" } ], "id": "2001", "reqStatus": "Request Awaiting Dependent Request Completion", "requester": { "name": "requesterId", "value": "17", "link": { "rel": "self", "href": "https://pseudo.com/iam/governance/selfservice/api/v1/users/17" } }, "reqCreatedOn": "2019-07-01T17:05:32Z", "reqJustification": "Request entitlement for sub-ordinates", "reqType": "Provision Entitlement", "reqBeneficiaryList": [ { "links": [ { "rel": "self", "href": "https://pseudo.com/iam/governance/selfservice/api/v1/users/1001" } ], "id": "1001" } ] }, { "links": [ { "rel": "self", "href": "https://pseudo.com/iam/governance/selfservice/api/v1/requests/3005" } ], "id": "3005", "reqStatus": "Request Awaiting Approval", "requester": { "name": "requesterId", "value": "17", "link": { "rel": "self", "href": "https://pseudo.com/iam/governance/selfservice/api/v1/users/17" } }, "reqCreatedOn": "2019-07-08T23:15:58Z", "reqJustification": "Request role for sub-ordinate", "reqType": "Assign Roles", "reqBeneficiaryList": [ { "links": [ { "rel": "self", "href": "https://pseudo.com/iam/governance/selfservice/api/v1/users/24" } ], "id": "24" } ] }, { "links": [ { "rel": "self", "href": "https://pseudo.com/iam/governance/selfservice/api/v1/requests/1009" } ], "id": "1009", "reqStatus": "Request Awaiting Approval", "requester": { "name": "requesterId", "value": "17", "link": { "rel": "self", "href": "https://pseudo.com/iam/governance/selfservice/api/v1/users/17" } }, "reqCreatedOn": "2019-06-20T20:34:08Z", "reqJustification": "Request role for sub-ordinate", "reqType": "Assign Roles", "reqBeneficiaryList": [ { "links": [ { "rel": "self", "href": "https://pseudo.com/iam/governance/selfservice/api/v1/users/24" } ], "id": "24" } ] }, { "links": [ { "rel": "self", "href": "https://pseudo.com/iam/governance/selfservice/api/v1/requests/1012" } ], "id": "1012", "reqStatus": "Request Awaiting Approval", "requester": { "name": "requesterId", "value": "17", "link": { "rel": "self", "href": "https://pseudo.com/iam/governance/selfservice/api/v1/users/17" } }, "reqCreatedOn": "2019-06-21T17:40:14Z", "reqJustification": "Request account for sub-ordinates", "reqType": "Provision ApplicationInstance", "reqBeneficiaryList": [ { "links": [ { "rel": "self", "href": "https://pseudo.com/iam/governance/selfservice/api/v1/users/82" } ], "id": "82" } ] } ] }