Summary

Gets information on a specific Profile Directory, recursively listing its children.

This method will also show directories that are located in the Recycle Bin ("movedToBin":"true").

Resource URL

/v2/directories/profiledirectories[id]?facets=children

Example Request

curl \

--request GET \

https://[server]:8443/umsapi/v2/directories/profiledirectories/20707?facets=children

Response Type

Returns a Profile Directory, with its DirectoryChildren fields containing other objects

Example Response

{

"DirectoryChildren": [

{

"objectType": "profile",

"id": "20467",

"link": {

"rel": "profile",

"href": "https://172.30.91.227:8443/umsapi/v2/profiles/20467"

}

},

{

"objectType": "profile",

"id": "20452",

"link": {

"rel": "profile",

"href": "https://172.30.91.227:8443/umsapi/v2/profiles/20452"

}

},

{

"objectType": "profile",

"id": "20449",

"link": {

"rel": "profile",

"href": "https://172.30.91.227:8443/umsapi/v2/profiles/20449"

}

}

],

"id": "20707",

"name": "Standards",

"parentID": "-2",

"movedToBin": false,

"objectType": "profiledirectory",

"links": [

{

"rel": "self",

"href": "https://172.30.91.227:8443/umsapi/v2/directories/profiledirectories/20707"

},

{

"rel": "Parent",

"href": "root"

}

]

}