Method StartFileTransactionFileConvertedZIP
StartFileTransactionFileConvertedZIP(String, String, String, String, String)
Starting a new file transaction for a converted zip.
Declaration
FileTransactionResultContract StartFileTransactionFileConvertedZIP(string connectionId, string fileId, string zipFileId, string targetFormat, string password)
Parameters
Type | Name | Description |
---|---|---|
System.String | connectionId | The connection id to identify your connection. See also ConnectionId |
System.String | fileId | The file id. |
System.String | zipFileId | The zip id. |
System.String | targetFormat | The target format (e.g. "pdf") |
System.String | password | The password from zip. |
Returns
Type | Description |
---|---|
FileTransactionResultContract | Return a file id. |
Examples
POST http://YourServerName/InfoShare/Json/File/StartFileTransactionFileConvertedZIP
Example for start file transaction converted.{
"connectionId": "bbf760ba-6bdb-45b6-9eec-992669fc7359",
"fileId": "89dcf0ba-9c19-485b-bc0a-e8b5666866fa",
"zipFileId":"testZIP/Lieferschein S Gesell Grosskonzert.pdf",
"targetFormat": "pdf",
"password": "testPassword"
}
Response:
{
"StartFileTransactionFileConvertedZIPResult": {
"AttachmentId": "null",
"DocumentDataId": null,
"DocumentId": "null",
"FileId": "6550eff7-4225-4ee2-804b-d01b5b12b2b1",
"RenditionId": null,
"VersionId": null,
"ZipFileId": "testZIP/Lieferschein S Gesell Grosskonzert.pdf"
}
}
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) |
ServiceException | Password for ZIP file is wrong. (10273) |