Method DownloadSignatureReportFileBytes
DownloadSignatureReportFileBytes(String, String, String, String, String, String, Int32, Int32)
Download signature report file as byte array
Declaration
byte[] DownloadSignatureReportFileBytes(string connectionId, string documentId, string versionId, string documentDataId, string renditionId, string contentProtectionId, int from, int count)
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 | versionId | Optional: The version id. See also GetVersionListItems(String, String, Int32, Int32) |
System.String | documentDataId | Optional: The document data id. See also DocumentData |
System.String | renditionId | Optional: The rendition id. See also DocumentData |
System.String | contentProtectionId | Optional: The content protection id. See also DocumentData |
System.Int32 | from | Optional: Start byte for reading. -1: start from the beginning |
System.Int32 | count | Optional: Number of bytes to read. -1: read all bytes |
Returns
Type | Description |
---|---|
System.Byte[] | A signature report byte array |
Examples
POST http://YourServerName/InfoShare/Json/File/DownloadSignatureReportFileBytes
A simple example download signature file as byte array.{
"connectionId": "6750c3bd-2f8a-4beb-8f0f-25dc70340d71",
"documentId": "9e2009e6-0cde-e911-a947-00155d290a08",
"versionId": "",
"documentDataId": "",
"renditionId": "",
"contentProtectionId": "",
"from": -1,
"count": -1
}
Example download signature file as byte array.
{
"connectionId": "6750c3bd-2f8a-4beb-8f0f-25dc70340d71",
"documentId": "9e2009e6-0cde-e911-a947-00155d290a08",
"versionId": "9e2009e6-0cde-e911-a947-00155d290a08",
"documentDataId": "1e2889e6-0cde-e911-a947-00155d290a08",
"renditionId": "9e2300e6-0cde-e911-a947-00155d290a77",
"contentProtectionId": "1f2300f6-0cde-e911-a947-00155d290a88",
"from": -1,
"count": -1
}
Response:
{
"DownloadSignatureReportFileBytesResult": [37,80,68,70,45,49,46,53,13,10,37,181,181,181,181,13,10,49,32,48,32,111,
98,106,13,10,60,60,47,84,121,112,101,47,67,97,116,97,108,111,103,47,80,97,56,68,69,41,32,47,83,116,114 ....]
}
Exceptions
Type | Condition |
---|---|
ServiceException | The connection id {connectionId} isn't valid or has expired (10008) |
ServiceException | Document without file {documentId} (10004) |
ServiceException | No document found for documentId {documentId} (10005) |
ServiceException | Document without content protection report {documentId} (10011) |
ServiceException | Could not retrieve version {versionId} for document {documentId} (10130) |
ServiceException | Verification code is needed: Verification code not yet verified (10152) |