Method FindRemoteFolders
FindRemoteFolders(String, String)
Search all remote folder systems for all remote folders which contain searchString
in their name.
Declaration
List<string> FindRemoteFolders(string connectionId, string searchString)
Parameters
Type | Name | Description |
---|---|---|
System.String | connectionId | The connection id to identify your connection. See also ConnectionId |
System.String | searchString | The search string |
Returns
Type | Description |
---|---|
System.Collections.Generic.List<System.String> | Path of all folders which contain the search string in their name |
Examples
POST http://YourServerName/InfoShare/Json/RemoteFolder/FindRemoteFolders
Example for find all remote folders which contain the search string.{
"connectionId": "e3b3b164-9b0b-4d00-9981-83fe4835df1a",
"searchString": "NewRemoteFolderName"
}
Response:
{
"FindRemoteFoldersResult": ["1eb9edb4-2ce0-e911-a94a-00155d290a08\\db8835d5-30e0-e911-a94a-00155d290a08"]
}
Exceptions
Type | Condition |
---|---|
ServiceException | The connection id {connectionId} isn't valid or has expired (10008) |
ServiceException | Verification code is needed: Verification code not yet verified (10152) |