Search Results for

    Show / Hide Table of Contents

    Method CreateRemoteFolderSystem

    CreateRemoteFolderSystem(String, RemoteFolderSystemContract)

    Create a remote folder system

    Declaration
    string CreateRemoteFolderSystem(string connectionId, RemoteFolderSystemContract remoteFolderSystem)
    Parameters
    Type Name Description
    System.String connectionId

    The connection id to identify your connection. See also ConnectionId

    RemoteFolderSystemContract remoteFolderSystem

    RemoteFolderSystem to create. See also RemoteFolderSystemContract

    Returns
    Type Description
    System.String

    The created remote folder system id

    Examples

    POST http://YourServerName/InfoShare/Json/Common/CreateRemoteFolderSystem

    Example for create a remote folder system.

    {
       "connectionId": "e08482f2-eb69-4693-b2c1-cdc87f641ec2",
       "remoteFolderSystem": {
         "Name": "remotefolder",
         "Description": {
           "Values": [{
             "Text": "remotefolder",
             "Culture": "de" }, {
             "Text": "remotefolder",
             "Culture": "en" }, {
             "Text": "remotefolder",
             "Culture": "fr" }] },
         "ProtectionDomainId": "0100a000-38a7-11d8-a902-0050bf427e8f",
         "ImportTemplateId": "3a2cfae8-6ae0-e911-a94a-00155d290a08" }
    }

    Response:

    {
       "CreateRemoteFolderSystemResult": "b1f17894-f4e0-e911-a94b-00155d290a08"
    }
    Exceptions
    Type Condition
    ServiceException

    The connection id {connectionId} isn't valid or has expired (10008)

    ServiceException

    Name is not unique: {name} (10067)

    ServiceException

    Object with id {id} already exists (10078)

    ServiceException

    The administrative context {administrativeContext} is already checked out by user {displayLoginName} (10129)

    ServiceException

    Verification code is needed: Verification code not yet verified (10152)

    Back to top Copyright © Kendox