Search Results for

    Show / Hide Table of Contents

    Method GetThumbnailCount

    GetThumbnailCount(String, String, String, String)

    Get count of available thumbnails

    Declaration
    int GetThumbnailCount(string connectionId, string documentId, string documentDataId, string renditionId)
    Parameters
    Type Name Description
    System.String connectionId

    The connection id to identify your connection. See also ConnectionId

    System.String documentId

    The document id. See also Id

    System.String documentDataId

    Optional: The document data id. See also DocumentData

    System.String renditionId

    Optional: The rendition id. See also DocumentData

    Returns
    Type Description
    System.Int32

    Count of availabe thumbnails

    Examples

    POST http://YourServerName/InfoShare/Json/File/GetThumbnailCount

    A simple example for get count of available thumbnails.

    {
       "connectionId": "6750c3bd-2f8a-4beb-8f0f-25dc70340d71",
       "documentId": "9e2009e6-0cde-e911-a947-00155d290a08",
       "documentDataId": "",
       "renditionId": ""
    }

    Example for get count of available thumbnails with optional parameter.

    {
       "connectionId": "6750c3bd-2f8a-4beb-8f0f-25dc70340d71",
       "documentId": "9e2009e6-0cde-e911-a947-00155d290a08",
       "documentDataId": "1e2889e6-0cde-e911-a947-00155d290a08",
       "renditionId": "9e2300e6-0cde-e911-a947-00155d290a77"
    }

    Response:

    {
       "GetThumbnailCountResult": 1
    }
    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