Search Results for

    Show / Hide Table of Contents

    Method GetFileZIPInfos

    GetFileZIPInfos(String, String, String)

    Get file zip specific information

    Declaration
    ZipInfoContract GetFileZIPInfos(string connectionId, string fileId, 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 password

    The password.

    Returns
    Type Description
    ZipInfoContract

    Zip information

    Examples

    POST https://YourServerName/InfoShare/Json/DocumentProcessing/GetFileZIPInfos

    Example for retrieving zip information

    {
        "connectionId": "0e2c3de4-5e90-43ed-9eec-3e1742dffacb",
        "fileId": "0fd43d97-928c-494e-96c0-d357f1f975af"
    }

    Response:

    {
       "GetFileZIPInfosResult":
          {
            "AllItems":
              [{  
                "FileSize":0,
                "FullFolderName":"testZIP\/",
                "Id":"testZIP\/",
                "IsFolder":true,
                "Name":"" 
                },{
                "FileSize":11984,
                "FullFolderName":null,
                "Id":"testZIP\/Auftragsbest„tignung.tif",
                "IsFolder":false,
                "Name":"Auftragsbest„tignung.tif"
                },{
                "FileSize":2950,
                "FullFolderName":null,
                "Id":"testZIP\/Lieferschein S Gesell Grosskonzert.pdf",
                "IsFolder":false,"Name":"Lieferschein S Gesell Grosskonzert.pdf"
                },{
                "FileSize":0,
                "FullFolderName":"testZIP\/Neuer Ordner_Stufe1\/",
                "Id":"testZIP\/Neuer Ordner_Stufe1\/",
                "IsFolder":true,
                "Name":""
                },{ ..... 
               }],
             "FileSize":10225095}} 
    }
    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)

    Back to top Copyright © Kendox