直属の部下の表示
ユーザーは、URI /users/{userid}/directs GET
で直属の部下のリストを取得できます。
cURLの例
curl -H "Content-Type: application/json" -X GET -u username:password https://pseudo.com/iam/governance/selfservice/api/v1/users/17/directs
GETレスポンス本文
{ "links": [ { "rel": "self", "href": "https://pseudo.com/iam/governance/adminservice/api/v1/users/17/directs?offset=1&limit=10" }, { "rel": "first", "href": "https://pseudo.com/iam/governance/adminservice/api/v1/users/17/directs?offset=1&limit=10" } ], "count": 2, "hasMore": false, "totalResult": -1, "users": [ { "links": [ { "rel": "self", "href": "https://pseudo.com/iam/governance/adminservice/api/v1/users/22" } ], "id": "22", "name": "Bud", "userLogin": "BSPENCER", "displayName": "Bud Spencer" }, { "links": [ { "rel": "self", "href": "https://pseudo.com/iam/governance/adminservice/api/v1/users/24" } ], "id": "24", "name": "Beatrix", "userLogin": "BKIDDO", "displayName": "Beatrix Kiddo" } ] }