GET /v3/directories/masterprofiledirectories
Summary
Gets information on all priority profile directories (called "master profiles" before UMS 12) in a flat format.
"movedToBin":"true"
).
Resource URL
/v3/directories/masterprofiledirectories
Example Request
curl \
--request GET \
https://[server]:8443/umsapi/v3/directories/masterprofiledirectories
Response Type
Returns a list of priority profile directories.
Example Response
[
{
"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"
}
]
},
{
"id": "72100",
"name": "Important",
"parentID": "76552",
"movedToBin": false,
"objectType": "masterprofiledirectory",
"links": [
{
"rel": "self",
"href": "https://172.30.91.227:8443/umsapi/v3/directories/masterprofiledirectories/72100"
},
{
"rel": "Parent",
"href": "https://172.30.91.227:8443/umsapi/v3/directories/masterprofiledirectories/76552"
}
]
},
{
"id": "76552",
"name": "New Directory",
"parentID": "-14",
"movedToBin": false,
"objectType": "masterprofiledirectory",
"links": [
{
"rel": "self",
"href": "https://172.30.91.227:8443/umsapi/v3/directories/masterprofiledirectories/76552"
},
{
"rel": "Parent",
"href": "root"
}
]
},
{
"id": "76556",
"name": "Old Directory",
"parentID": "-14",
"movedToBin": true,
"objectType": "masterprofiledirectory",
"links": [
{
"rel": "self",
"href": "https://172.30.91.227:8443/umsapi/v3/directories/masterprofiledirectories/76556"
},
{
"rel": "Parent",
"href": "root"
}
]
}
]