POST api/Report/PrintVoucher
Request Information
URI Parameters
None.
Body Parameters
PPTransactionName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
DocEntry | integer |
None. |
|
DocNum | integer |
None. |
|
CardName | string |
None. |
|
CardNumber | string |
None. |
|
AuthorizationNumber | string |
None. |
|
EntryMode | string |
None. |
|
ExpirationDate | string |
None. |
|
ReferenceNumber | string |
None. |
|
TerminalId | integer |
None. |
|
ResponseCode | string |
None. |
|
InvoiceNumber | string |
None. |
|
InvoiceDocument | string |
None. |
|
SystemTrace | string |
None. |
|
TransactionId | string |
None. |
|
CharchedStatus | string |
None. |
|
ChargedResponse | string |
None. |
|
CanceledStatus | string |
None. |
|
CanceledResponse | string |
None. |
|
ReversedStatus | string |
None. |
|
ReversedResponse | string |
None. |
|
Currency | string |
None. |
|
BacId | string |
None. |
|
UserPrefix | string |
None. |
|
Amount | decimal number |
None. |
|
IsOnBalance | boolean |
None. |
|
CreationDate | date |
None. |
|
LastUpDate | date |
None. |
|
QuickPayAmount | decimal number |
None. |
|
AcqPrebalance | integer |
None. |
|
AcqBalance | integer |
None. |
|
ppDocument | PPDocuments |
None. |
|
SaleAmount | decimal number |
None. |
|
UpdatesCounter | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "DocEntry": 2, "DocNum": 3, "CardName": "sample string 4", "CardNumber": "sample string 5", "AuthorizationNumber": "sample string 6", "EntryMode": "sample string 7", "ExpirationDate": "sample string 8", "ReferenceNumber": "sample string 9", "TerminalId": 10, "ResponseCode": "sample string 11", "InvoiceNumber": "sample string 12", "InvoiceDocument": "sample string 13", "SystemTrace": "sample string 14", "TransactionId": "sample string 15", "CharchedStatus": "sample string 16", "ChargedResponse": "sample string 17", "CanceledStatus": "sample string 18", "CanceledResponse": "sample string 19", "ReversedStatus": "sample string 20", "ReversedResponse": "sample string 21", "Currency": "sample string 22", "BacId": "sample string 23", "UserPrefix": "sample string 24", "Amount": 25.1, "IsOnBalance": true, "CreationDate": "2025-04-04T00:12:55.8772213-06:00", "LastUpDate": "2025-04-04T00:12:55.8772213-06:00", "QuickPayAmount": 28.1, "AcqPrebalance": 29, "AcqBalance": 30, "ppDocument": { "Id": 1, "DocEntry": 2, "DocNum": 3, "UniqueInvoCode": "sample string 4", "BacId": "sample string 5", "Status": "sample string 6", "Document": "sample string 7", "DocumentType": "sample string 8", "CreationDocTime": "2025-04-04T00:12:55.8772213-06:00" }, "SaleAmount": 31.1, "UpdatesCounter": 32 }
application/xml, text/xml
Sample:
<PPTransaction xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CLVSSUPER.MODELS"> <AcqBalance>30</AcqBalance> <AcqPrebalance>29</AcqPrebalance> <Amount>25.1</Amount> <AuthorizationNumber>sample string 6</AuthorizationNumber> <BacId>sample string 23</BacId> <CanceledResponse>sample string 19</CanceledResponse> <CanceledStatus>sample string 18</CanceledStatus> <CardName>sample string 4</CardName> <CardNumber>sample string 5</CardNumber> <CharchedStatus>sample string 16</CharchedStatus> <ChargedResponse>sample string 17</ChargedResponse> <CreationDate>2025-04-04T00:12:55.8772213-06:00</CreationDate> <Currency>sample string 22</Currency> <DocEntry>2</DocEntry> <DocNum>3</DocNum> <EntryMode>sample string 7</EntryMode> <ExpirationDate>sample string 8</ExpirationDate> <Id>1</Id> <InvoiceDocument>sample string 13</InvoiceDocument> <InvoiceNumber>sample string 12</InvoiceNumber> <IsOnBalance>true</IsOnBalance> <LastUpDate>2025-04-04T00:12:55.8772213-06:00</LastUpDate> <QuickPayAmount>28.1</QuickPayAmount> <ReferenceNumber>sample string 9</ReferenceNumber> <ResponseCode>sample string 11</ResponseCode> <ReversedResponse>sample string 21</ReversedResponse> <ReversedStatus>sample string 20</ReversedStatus> <SaleAmount>31.1</SaleAmount> <SystemTrace>sample string 14</SystemTrace> <TerminalId>10</TerminalId> <TransactionId>sample string 15</TransactionId> <UpdatesCounter>32</UpdatesCounter> <UserPrefix>sample string 24</UserPrefix> <ppDocument xmlns:d2p1="http://schemas.datacontract.org/2004/07/CLVSPOS.MODELS"> <d2p1:BacId>sample string 5</d2p1:BacId> <d2p1:CreationDocTime>2025-04-04T00:12:55.8772213-06:00</d2p1:CreationDocTime> <d2p1:DocEntry>2</d2p1:DocEntry> <d2p1:DocNum>3</d2p1:DocNum> <d2p1:Document>sample string 7</d2p1:Document> <d2p1:DocumentType>sample string 8</d2p1:DocumentType> <d2p1:Id>1</d2p1:Id> <d2p1:Status>sample string 6</d2p1:Status> <d2p1:UniqueInvoCode>sample string 4</d2p1:UniqueInvoCode> </ppDocument> </PPTransaction>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |