POST vouchersidentifications/print/render-pdf
Request Information
URI Parameters
None.
Body Parameters
VoucherPrintRenderRequestDto| Name | Description | Type | Additional information |
|---|---|---|---|
| IdVouchers | string |
None. |
|
| VoucherIds | Collection of globally unique identifier |
None. |
|
| CodeType | VoucherPrintCodeType |
None. |
|
| TemplateEngine | VoucherPrintTemplateEngine |
None. |
|
| TemplateName | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"IdVouchers": "sample string 1",
"VoucherIds": [
"c6d63870-aa6b-474f-aedf-366437c86c6f",
"cd081187-dc8e-424c-998f-134898baf886"
],
"CodeType": 0,
"TemplateEngine": 0,
"TemplateName": "sample string 2"
}
application/xml, text/xml
Sample:
<VoucherPrintRenderRequestDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ationet.Model.Vouchers">
<CodeType>Qr</CodeType>
<IdVouchers>sample string 1</IdVouchers>
<TemplateEngine>Handlebars</TemplateEngine>
<TemplateName>sample string 2</TemplateName>
<VoucherIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>c6d63870-aa6b-474f-aedf-366437c86c6f</d2p1:guid>
<d2p1:guid>cd081187-dc8e-424c-998f-134898baf886</d2p1:guid>
</VoucherIds>
</VoucherPrintRenderRequestDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
VoucherPrintRenderPdfResponseDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Collection of byte |
None. |
||
| ContractCode | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Pdf": "QEA=",
"ContractCode": "sample string 1"
}
application/xml, text/xml
Sample:
<VoucherPrintRenderPdfResponseDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ationet.Model.Vouchers"> <ContractCode>sample string 1</ContractCode> <Pdf>QEA=</Pdf> </VoucherPrintRenderPdfResponseDto>