GET api/MerchantSoftPOS/GetMerchantSoftPOSBalanceReport?FromDate={FromDate}&ToDate={ToDate}&Last10Days={Last10Days}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
FromDate | date |
Required |
|
ToDate | date |
Required |
|
Last10Days | boolean |
Required |
Body Parameters
None.
Response Information
Resource Description
MerchantBalanceReportResponseName | Description | Type | Additional information |
---|---|---|---|
MerchantName | string |
None. |
|
UserName | string |
None. |
|
PIN | string |
None. |
|
MerchantBalanceReport | Collection of MerchantBalanceModel |
None. |
|
success | boolean |
None. |
|
code | string |
None. |
|
message | string |
None. |
|
errors | Collection of string |
None. |
Response Formats
application/json, text/json
Sample:
{ "MerchantName": "sample string 1", "UserName": "sample string 2", "PIN": "sample string 3", "MerchantBalanceReport": [ { "POSSalesAmount": 1.0, "StoresAmount": 2.0, "LoyaltyAmount": 3.0, "CardInAmount": 4.0, "CashInAmount": 5.0, "TotalTransactions": 6, "PayOutAmount": 7.0 }, { "POSSalesAmount": 1.0, "StoresAmount": 2.0, "LoyaltyAmount": 3.0, "CardInAmount": 4.0, "CashInAmount": 5.0, "TotalTransactions": 6, "PayOutAmount": 7.0 } ], "success": true, "code": "sample string 5", "message": "sample string 6", "errors": [ "sample string 1", "sample string 2" ] }
application/xml, text/xml
Sample:
<MSoftPOSModel.MerchantBalanceReportResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QatarPay.Models"> <code>sample string 5</code> <errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </errors> <message>sample string 6</message> <success>true</success> <MerchantBalanceReport> <MSoftPOSModel.MerchantBalanceModel> <CardInAmount>4</CardInAmount> <CashInAmount>5</CashInAmount> <LoyaltyAmount>3</LoyaltyAmount> <POSSalesAmount>1</POSSalesAmount> <PayOutAmount>7</PayOutAmount> <StoresAmount>2</StoresAmount> <TotalTransactions>6</TotalTransactions> </MSoftPOSModel.MerchantBalanceModel> <MSoftPOSModel.MerchantBalanceModel> <CardInAmount>4</CardInAmount> <CashInAmount>5</CashInAmount> <LoyaltyAmount>3</LoyaltyAmount> <POSSalesAmount>1</POSSalesAmount> <PayOutAmount>7</PayOutAmount> <StoresAmount>2</StoresAmount> <TotalTransactions>6</TotalTransactions> </MSoftPOSModel.MerchantBalanceModel> </MerchantBalanceReport> <MerchantName>sample string 1</MerchantName> <PIN>sample string 3</PIN> <UserName>sample string 2</UserName> </MSoftPOSModel.MerchantBalanceReportResponse>