Method GetRemoteFolderSystems
GetRemoteFolderSystems(String)
Get all remote folder systems
Declaration
List<RemoteFolderSystemContract> GetRemoteFolderSystems(string connectionId)
Parameters
Type | Name | Description |
---|---|---|
System.String | connectionId | The connection id to identify your connection. See also ConnectionId |
Returns
Type | Description |
---|---|
System.Collections.Generic.List<RemoteFolderSystemContract> | A list of remote folder systems |
Examples
POST http://YourServerName/InfoShare/Json/Common/GetRemoteFolderSystems
Example fo get all remote folder systems.{
"connectionId":"e08482f2-eb69-4693-b2c1-cdc87f641ec2"
}
Response:
{
"GetRemoteFolderSystemsResult": [{
"AccessRightsEnum": ["SetMasterColumnConfiguration"],
"Description": {
"Values": [{
"Culture": "de",
"Text": "WebDavShare folder" }, {
"Culture": "en",
"Text": "WebDavShare folder" }] },
"Hidden": false,
"Id": "1eb9edb4-2ce0-e911-a94a-00155d290a08",
"ImportTemplateId": "e8ccb88b-17d0-e911-a93a-00155d290a08",
"Name": "WebDavShare",
"ProtectionDomainId": "0100a000-38a7-11d8-a902-0050bf427e8f"
}, {
"AccessRightsEnum": ["SetMasterColumnConfiguration"],
"Description": {
"Values": [{
"Culture": "de",
"Text": "foldersystem Test" }, {
"Culture": "en",
"Text": "foldersystem Test" }, {
"Culture": "fr",
"Text": "foldersystem Test" }] },
"Hidden": false,
"Id": "dedfab40-ece0-e911-a94b-00155d290a08",
"ImportTemplateId": "3a2cfae8-6ae0-e911-a94a-00155d290a08",
"Name": "foldersystem Test",
"ProtectionDomainId": "b20f34e2-64e0-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) |