GET api/Receipt
Retrieve Receipts
Request Information
URI Parameters
None.
Body Parameters
getReceiptsReqName | Description | Type | Additional information |
---|---|---|---|
Company |
The company name / code |
string |
Required String length: inclusive between 0 and 6 |
ReceiptNumber |
The receipt number / code |
string |
String length: inclusive between 0 and 15 |
Store |
The store code |
string |
String length: inclusive between 0 and 3 |
LastSyncDate |
Retrieve receipts that were modified since LastSyncDate |
date |
None. |
Request Formats
application/json, text/json
Sample:
{ "Company": "DEMO", "ReceiptNumber": "1236547895", "Store": "001", "LastSyncDate": "2025-01-06T22:32:15.2189577+02:00" }
Response Information
Resource Description
getReceiptsResName | Description | Type | Additional information |
---|---|---|---|
MsgControl |
Contains information about the response |
MsgControl |
None. |
Receipts |
List of wanted receipts |
Collection of ReceiptM |
None. |
Response Formats
application/json, text/json
Sample:
{ "MsgControl": { "result": 0, "Message": "Corresponding success and error message", "MethodName": "api/Receipt GET", "AppName": "EsoftWebApi", "EsoftUser": "ESOFT", "User": "Username", "Password": "Password", "SystemDate": "2025-01-06T22:32:15.2189577+02:00", "GenList": [], "GenMsg1": "", "GenMsg2": "", "GenMsg3": "" }, "Receipts": [ { "Company": "DEMO", "ReceiptNumber": "1236547895", "Store": "001", "AccountCode": "320020", "AccountName": "", "ReceiptDate": "2019-12-25T00:00:00", "Collector": "001", "Currency": "EUR", "CurrencyRate": 1.0, "Amount": 100.0, "Discount": 10.0, "Details": "", "Remarks": "", "PaymentMethod": "CH", "ChequeBank": null, "ChequeBranch": null, "ChequeNo": null, "ChequeDate": null, "Reference": "", "Text1": "", "Text2": "", "Text3": "", "Text4": "", "Text5": "", "H1": "Header analysis 1 code", "H2": "", "H3": "", "H4": "", "H5": "", "Status": "S" } ] }