Search Results for

    Show / Hide Table of Contents

    Method DeleteSearchFolder

    DeleteSearchFolder(String, FolderPathContract)

    Delete a search folder

    Declaration
    void DeleteSearchFolder(string connectionId, FolderPathContract folderPath)
    Parameters
    Type Name Description
    System.String connectionId

    The connection id to identify your connection. See also ConnectionId

    FolderPathContract folderPath

    FolderPath to delete

    Examples

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

    Example for delete a search folder.

    {
       "connectionId": "0957d0cd-e84a-47a3-9b43-4e50c7a35d88",
       "folderPath": {
         "FolderSystemId": "9762c061-b7cf-e911-a939-00155d290a08",
         "Path": "cb62c061-b7cf-e911-a939-00155d290a08\\400c1f61-c0cf-e911-a939-00155d290a08
                \\4e884c48-a7de-e911-a948-00155d290a08\\66ee4a16-b6de-e911-a948-00155d290a08"}
    }

    Response:

    { }
    Exceptions
    Type Condition
    ServiceException

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

    ServiceException

    Root folder not found (10023)

    ServiceException

    Search folder not found {searchFolderPath} (10024)

    ServiceException

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

    ServiceException

    Not allowed (10014)

    Back to top Copyright © Kendox