Search Results for

    Show / Hide Table of Contents

    Method ExportConfiguration

    ExportConfiguration(String, ExportOptionsContract)

    Export Configuration Zipped (Delivers a zip file with the system configuration (AppBase, ConfigRdbNew.xml, UserStore, SchemaStore, SecurityStore, InfoStore, UserInterfaceSettingsStore, GlobalSetting, FolderSystem, RemoteFolderSystem))

    Declaration
    byte[] ExportConfiguration(string connectionId, ExportOptionsContract options)
    Parameters
    Type Name Description
    System.String connectionId

    The connection id to identify your connection. See also ConnectionId

    ExportOptionsContract options

    Options to set

    Returns
    Type Description
    System.Byte[]

    Zip file as a byte array

    Remarks
    • You need "Access to scheme" access right (01002060-38a7-11d8-a902-0050bf427e8f). See also GetUserAdminAccessRights(String, String)
    Examples

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

    Example for export configuration.

    {
       "connectionId":"ded196ba-19e9-4bd4-ba86-433b3225979a",
       "options": {
            "Anonymize": true
       }
    }

    Response:

    {
       "ExportConfigurationResult":[80,75,3,4,20,0,0,0,8,0,175,91,59,79,118,46,14,186,166,6,0,0,106,109,0,0,13,0,0,0,73,
        110,102,111,83,116,111,114,101,46,120,109,108,237,93,219,110,226,72,16,237,231,149,246,31,
       208,190,51,220,28,192,17,155,81,54,201,140,34,101,50,209,100,180,89,237,27,190,192,68,...]
    }
    Exceptions
    Type Condition
    ServiceException

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

    ServiceException

    Not enough rights ({accessOperationName}, {accessOperationId}) (10071)

    ServiceException

    Verification code not yet verified or is invalid(10152)

    ServiceException

    Not allowed (10014)

    Back to top Copyright © Kendox