Search Results for

    Show / Hide Table of Contents

    Method RemoveElementFromFolder

    RemoveElementFromFolder(String, FolderPathContract)

    Remove an element from a folder.

    Declaration
    void RemoveElementFromFolder(string connectionId, FolderPathContract folderElementPath)
    Parameters
    Type Name Description
    System.String connectionId

    The connection id to identify your connection. See also ConnectionId

    FolderPathContract folderElementPath

    Path to element which shall be removed.

    Examples

    POST http://YourServerName/InfoShare/Json/Folder/RemoveElementFromFolder

    Example for remove an element from a folder.

    {
       "connectionId": "dd0d8950-a5db-4d81-a190-2d686a7f034c",
       "folderElementPath": {
         "Culture": "en-US",
         "FolderSystemId": "9762c061-b7cf-e911-a939-00155d290a08",
         "Path": "cb62c061-b7cf-e911-a939-00155d290a08\\400c1f61-c0cf-e911-a939-00155d290a08
                 \\fbddb7f0-bede-e911-a948-00155d290a08",
         "PathGlobal": {
           "Values": [{
             "Culture": "de",
             "Text": "Allgemeine Suche\\test" }, {
             "Culture": "en",
             "Text": "Default search\\test" } ]} }
    }

    Response:

    { }
    Exceptions
    Type Condition
    ServiceException

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

    ServiceException

    Not allowed (10014)

    ServiceException

    Root folder not found (10023)

    ServiceException

    Folder not found {folderPath} (10025)

    ServiceException

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

    Back to top Copyright © Kendox