Method GetThumbnailCounts
GetThumbnailCounts(String, List<DocumentIdContract>)
Get list of available thumbnail counts
Declaration
List<ThumbnailCountsResultContract> GetThumbnailCounts(string connectionId, List<DocumentIdContract> documents)
Parameters
Type | Name | Description |
---|---|---|
System.String | connectionId | The connection id to identify your connection. See also ConnectionId |
System.Collections.Generic.List<DocumentIdContract> | documents | List of documents. See also DocumentIdContract |
Returns
Type | Description |
---|---|
System.Collections.Generic.List<ThumbnailCountsResultContract> | List of thumbnail informations |
Examples
POST http://YourServerName/InfoShare/Json/File/GetThumbnailCounts
Example for get list of available thumbnail counts.{
"connectionId": "6750c3bd-2f8a-4beb-8f0f-25dc70340d71",
"documents": [{
"DocumentId": "17820e29-11ee-4890-8648-3463dd0b5418",
"DocumentDataId": "00000000-0000-0000-0000-000000000000",
"RenditionId": "00000000-0000-0000-0000-000000000000"},
{
"DocumentId": "e7b8e735-93a5-ea11-a9d2-00155d290a08",
"DocumentDataId": "00000000-0000-0000-0000-000000000000",
"RenditionId": "00000000-0000-0000-0000-000000000000"
}]
}
Response:
{
"GetThumbnailCountsResult": [{
"Count": 0,
"DocumentDataId": "00000000-0000-0000-0000-000000000000",
"DocumentId": "25aaae34-ff18-42eb-81e1-5615e71dc2a2",
"RenditionId": "00000000-0000-0000-0000-000000000000"},
{
"Count": 0,
"DocumentDataId": "00000000-0000-0000-0000-000000000000",
"DocumentId": "e7b8e735-93a5-ea11-a9d2-00155d290a08",
"RenditionId": "00000000-0000-0000-0000-000000000000"
}]
}
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) |