GET api/SalesAndPaymentDailyReport/{id}?type={type}&startdatetime={startdatetime}&enddatetime={enddatetime}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
|
type | string |
Required |
|
startdatetime | date |
Required |
|
enddatetime | date |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of SalesAndPaymentDailyReportName | Description | Type | Additional information |
---|---|---|---|
Date | date |
None. |
|
OrderTotal | decimal number |
None. |
|
ReturnOrderTotal | decimal number |
None. |
|
PaymentTotal | decimal number |
None. |
|
PaymentCash | decimal number |
None. |
|
PaymentCheck | decimal number |
None. |
|
PaymentCreditCard | decimal number |
None. |
|
PaymentDebitCard | decimal number |
None. |
|
PaymentGiftCard | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Date": "2025-01-16T04:00:42.8904241+00:00", "OrderTotal": 2.0, "ReturnOrderTotal": 3.0, "PaymentTotal": 4.0, "PaymentCash": 5.0, "PaymentCheck": 6.0, "PaymentCreditCard": 7.0, "PaymentDebitCard": 8.0, "PaymentGiftCard": 9.0 }, { "Date": "2025-01-16T04:00:42.8904241+00:00", "OrderTotal": 2.0, "ReturnOrderTotal": 3.0, "PaymentTotal": 4.0, "PaymentCash": 5.0, "PaymentCheck": 6.0, "PaymentCreditCard": 7.0, "PaymentDebitCard": 8.0, "PaymentGiftCard": 9.0 } ]
application/xml, text/xml
Sample:
<ArrayOfSalesAndPaymentDailyReport xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustomersdbWebShared.Models"> <SalesAndPaymentDailyReport> <Date>2025-01-16T04:00:42.8904241+00:00</Date> <OrderTotal>2</OrderTotal> <PaymentCash>5</PaymentCash> <PaymentCheck>6</PaymentCheck> <PaymentCreditCard>7</PaymentCreditCard> <PaymentDebitCard>8</PaymentDebitCard> <PaymentGiftCard>9</PaymentGiftCard> <PaymentTotal>4</PaymentTotal> <ReturnOrderTotal>3</ReturnOrderTotal> </SalesAndPaymentDailyReport> <SalesAndPaymentDailyReport> <Date>2025-01-16T04:00:42.8904241+00:00</Date> <OrderTotal>2</OrderTotal> <PaymentCash>5</PaymentCash> <PaymentCheck>6</PaymentCheck> <PaymentCreditCard>7</PaymentCreditCard> <PaymentDebitCard>8</PaymentDebitCard> <PaymentGiftCard>9</PaymentGiftCard> <PaymentTotal>4</PaymentTotal> <ReturnOrderTotal>3</ReturnOrderTotal> </SalesAndPaymentDailyReport> </ArrayOfSalesAndPaymentDailyReport>