Method AddThumbnails
AddThumbnails(String, String, String, List<String>)
Add thumbnails for a document
Declaration
void AddThumbnails(string connectionId, string documentId, string renditionId, List<string> fileIds)
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 | renditionId | The rendition id. See also DocumentData |
System.Collections.Generic.List<System.String> | fileIds | FileIds of uploaded files.See also UploadFileBytes(String, String, Byte[], Int32) |
Examples
POST http://YourServerName/InfoShare/Json/Document/AddThumbnails
Example for add thumbnails for a document.{
"connectionId": "1fbe116a-20a9-4378-b198-6cf3283f0238",
"documentId": "d2c01001-18d0-e911-a93a-00155d290a08",
"renditionId": "f2c01001-19d0-e911-a93a-00155d290a08",
"fileIds": ["0100a003-38a7-11d8-a902-0050bf427e8f", "2cd4ad99-bacf-e911-a939-00155d290a08"]
}
Response:
{ }
Exceptions
Type | Condition |
---|---|
ServiceException | The connection id {connectionId} isn't valid or has expired (10008) |
ServiceException | Not allowed (10014) |
ServiceException | Document without file {documentId} (10004) |
ServiceException | No document found for documentId {documentId} (10005) |
ServiceException | Verification code is needed: Verification code not yet verified (10152) |