POST api/InvoiceApi/DownloadPdf
Download invoice pdf using either voucher number or order number
Request Information
URI Parameters
None.
Body Parameters
Download request
DownloadPdfRequestName | Description | Type | Additional information |
---|---|---|---|
VoucherNumber |
Invoice voucher number |
string |
None. |
OrderNumber |
External order number |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "VoucherNumber": "sample string 1", "OrderNumber": "sample string 2" }
application/xml, text/xml
Sample:
<DownloadPdfRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/E3k.Web.CustomerPortal.Models.Api"> <OrderNumber>sample string 2</OrderNumber> <VoucherNumber>sample string 1</VoucherNumber> </DownloadPdfRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
PDF stream
StreamName | Description | Type | Additional information |
---|---|---|---|
CanRead | boolean |
None. |
|
CanSeek | boolean |
None. |
|
CanTimeout | boolean |
None. |
|
CanWrite | boolean |
None. |
|
Length | integer |
None. |
|
Position | integer |
None. |
|
ReadTimeout | integer |
None. |
|
WriteTimeout | integer |
None. |
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.