GET /ws/rest/service/v1/dm/node/properties
Purpose
Provide the ability to retrieve folders or documents meta data under given folder.
Input
Query Parameters
- projectnumber (String) Optional. Project number for shell/project level DM. Empty for Company level DM.
- parentpath (String) Required. Path to a folder in DM
- nodetype (String) Optional : Folder if you want only folder properties or "Document" for only document properties. If no value is specified then both folder and document properties will be returned.
Example:
projectnumber:TestProj-C
parentpath:/u17.1
Output
JSON object containing 'status', 'data', 'message'
"data" will be array of document or folder properties as shown in the below example.
{
"data":
[
{
"Owner":"Company Administrator",
"projectnumber":null,
"node_path":"/Company Documents",
"Description":"",
"type":"Folder",
"foreignKeyId":-1000,
"parentUuid":null,
"Name":"Company Documents",
"parent_node_id":285,
"foreignEntityType":"company",
"% Complete":"0",
"Location":"/",
"node_id":700,
"upload_date":"2017-12-07T07:54"
},
{
"Revision No.":"",
"Owner":"Company Administrator",
"projectnumber":null,
"node_path":"/Folder City/Fremont/AutoVue_Applet-Free_Client_TUD.pdf",
"Description":"",
"Pub No.":"1",
"file_name":"AutoVue_Applet-Free_Client_TUD.pdf",
"annotate":true,
"type":"Document",
"title":"",
"foreignKeyId":-1000,
"parentUuid":294,
"file_size":"448519",
"uuu_create_by":"Company Administrator",
"file_id":58,
"Issue Date":"",
"foreignEntityType":"company",
"% Complete":"0",
"Location":"/Folder City/Fremont",
"node_id":306,
"upload_date":"2017-11-03T14:02"
},
],
"message":
[
],
"status":200
}