Skip to main content
Skip table of contents

GET /v3/directories/masterprofiledirectories?facets=children

Summary

Gets information on all priority profile directories (called "master profiles" before UMS 12), recursively listing their children.

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

Resource URL

/v3/directories/masterprofiledirectories?facets=children

Example Request

curl \

--request GET \

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

Response Type

Returns a list of priority 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/v3/masterprofiles/72098"

}

}

],

"id": "72101",

"name": "Basic",

"parentID": "-14",

"movedToBin": false,

"objectType": "masterprofiledirectory",

"links": [

{

"rel": "self",

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

},

{

"rel": "Parent",

"href": "root"

}

]

},

{

"DirectoryChildren": [

{

"objectType": "masterprofile",

"id": "72096",

"link": {

"rel": "masterprofile",

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

}

}

],

"id": "72100",

"name": "Important",

"parentID": "-14",

"movedToBin": false,

"objectType": "masterprofiledirectory",

"links": [

{

"rel": "self",

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

},

{

"rel": "Parent",

"href": "root"

}

]

}

]

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.