SysLookupFolder
Retrieves tree id of specified folder.
Service | Operation |
---|---|
groupFile | SYS_LOOKUP_FOLDER |
Method Parameters
Parameter | Description |
---|---|
groupId | The id of the group. |
fullFolderPath | The full folder path. |
Usage
http://localhost:3000
- C#
- C++
- Objective-C
- Java
- JavaScript
- Dart
- Cloud Code
- Raw
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
var groupId = "dfsfsffsd";
var fullFolderPath = "dir1/dir2";
var groupFileProxy = bridge.getGroupFileServiceProxy();
var postResult = groupFileProxy.sysLookupFolder(groupId, fullFolderPath);
if (postResult.status == 200) {
// Success!
}
{
"service": "groupFile",
"operation": "SYS_LOOKUP_FOLDER",
"data":
{
"groupId": "dfsfsffsd",
"fullFolderPath": "dir1/dir2"
}
}
JSON Response
{
"data": {
"folderPath": "foldername/subfoldername",
"treeId": "625ab492-fad9-4aa6-b174-50ac4344de81",
"treeVersion": 5,
"groupId": "2bf538d1-19ea-4e14-9862-f979215e09b7"
},
"status": 200
}