Search Results for

    Show / Hide Table of Contents

    Method FindFolders

    FindFolders(String, FolderSearchOptionContract)

    Search all folder systems for all folders which contain searchString in their name.

    Declaration
    List<FolderPathContract> FindFolders(string connectionId, FolderSearchOptionContract searchOptions)
    Parameters
    Type Name Description
    System.String connectionId

    The connection id to identify your connection. See also ConnectionId

    FolderSearchOptionContract searchOptions

    The search options

    Returns
    Type Description
    System.Collections.Generic.List<FolderPathContract>

    Path of all folders which contain the search string in their name

    Examples

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

    Example all folder which contain the search string.

    {
       "connectionId": "0957d0cd-e84a-47a3-9b43-4e50c7a35d88",
       "searchOptions": {
         "FolderToSearchIn": "",
         "IgnoreQueries": false,
         "IgnoreFolder": false,
         "SearchLanguage": "de",
         "SearchString": "Komplexe suche"}
    }

    Response:

    {
       "FindFoldersResult": [{
         "Culture": "en-US",
         "FolderSystemId": "9762c061-b7cf-e911-a939-00155d290a08",
         "Path": "cb62c061-b7cf-e911-a939-00155d290a08\\400c1f61-c0cf-e911-a939-00155d290a08
                \\7d4006c1-c0cf-e911-a939-00155d290a08",
         "PathGlobal": {
           "Values": [{
             "Culture": "de",
             "Text": "Allgemeine Suche\\Komplexe suche" }, {
             "Culture": "en",
             "Text": "Default search\\Complexe search" }] } }]
    }
    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)

    Back to top Copyright © Kendox