Method DownloadSignatureReportFile
DownloadSignatureReportFile(String, String, String, String, String, String)
Download signature report file as stream
Declaration
Stream DownloadSignatureReportFile(string connectionId, string documentId, string versionId, string documentDataId, string renditionId, string contentProtectionId)
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 |
Returns
Type | Description |
---|---|
System.IO.Stream | A signature report stream |
Examples
POST http://YourServerName/InfoShare/Json/File/DownloadSignatureReportFile
A simple example download signature report file as stream.{
"connectionId": "6750c3bd-2f8a-4beb-8f0f-25dc70340d71",
"documentId": "9e2009e6-0cde-e911-a947-00155d290a08",
"versionId": "",
"documentDataId": "",
"renditionId": "",
"contentProtectionId": ""
}
Example download signature report file as stream.
{
"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"
}
Response:
data:text/html;base64,77u/PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhRE9DVFlQRSBodG1sIFBVQkxJQyAiLS8vVzNDLy9EVEQgWEhUTUwgMS4wIFRyYW
5zaXRpb25hbC8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9UUi94aHRtbDEvRFREL3hodG1sMS10cmFuc2l0aW9uYWwuZHRkIj4NCjxodG1sIHhtbG5zPSJodHRwOi8 ...
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 | Verification code is needed: Verification code not yet verified (10152) |