Summary

Gets information on all Master Profile Directories, recursively listing their children.

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

Resource URL

/v2/directories/masterprofiledirectories?facets=children

Example Request

curl \

--request GET \

https://[server]:8443/umsapi/v2/directories/masterprofiledirectories/facets=children

Response Type

Returns a list of Master Profile Directories,. with their DirectoryChildren fields containing other objects.

Example Response

[

{

"DirectoryChildren": [

{

"objectType": "masterprofile",

"id": "72098",

"link": {

"rel": "masterprofile",

"href": "https://172.30.91.227:8443/umsapi/v2/masterprofiles/72098"

}

}

],

"id": "72101",

"name": "Basic",

"parentID": "-14",

"movedToBin": false,

"objectType": "masterprofiledirectory",

"links": [

{

"rel": "self",

"href": "https://172.30.91.227:8443/umsapi/v2/directories/masterprofiledirectories/72101"

},

{

"rel": "Parent",

"href": "root"

}

]

},

{

"DirectoryChildren": [

{

"objectType": "masterprofile",

"id": "72096",

"link": {

"rel": "masterprofile",

"href": "https://172.30.91.227:8443/umsapi/v2/masterprofiles/72096"

}

}

],

"id": "72100",

"name": "Important",

"parentID": "-14",

"movedToBin": false,

"objectType": "masterprofiledirectory",

"links": [

{

"rel": "self",

"href": "https://172.30.91.227:8443/umsapi/v2/directories/masterprofiledirectories/72100"

},

{

"rel": "Parent",

"href": "root"

}

]

}

]