GET api/SalesAndPaymentMonthlyReport/{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 SalesAndPaymentMonthlyReportName | Description | Type | Additional information |
---|---|---|---|
Year | integer |
None. |
|
MonthNumber | integer |
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:
[ { "Year": 1, "MonthNumber": 2, "OrderTotal": 3.0, "ReturnOrderTotal": 4.0, "PaymentTotal": 5.0, "PaymentCash": 6.0, "PaymentCheck": 7.0, "PaymentCreditCard": 8.0, "PaymentDebitCard": 9.0, "PaymentGiftCard": 10.0 }, { "Year": 1, "MonthNumber": 2, "OrderTotal": 3.0, "ReturnOrderTotal": 4.0, "PaymentTotal": 5.0, "PaymentCash": 6.0, "PaymentCheck": 7.0, "PaymentCreditCard": 8.0, "PaymentDebitCard": 9.0, "PaymentGiftCard": 10.0 } ]
application/xml, text/xml
Sample:
<ArrayOfSalesAndPaymentMonthlyReport xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustomersdbWebShared.Models"> <SalesAndPaymentMonthlyReport> <MonthNumber>2</MonthNumber> <OrderTotal>3</OrderTotal> <PaymentCash>6</PaymentCash> <PaymentCheck>7</PaymentCheck> <PaymentCreditCard>8</PaymentCreditCard> <PaymentDebitCard>9</PaymentDebitCard> <PaymentGiftCard>10</PaymentGiftCard> <PaymentTotal>5</PaymentTotal> <ReturnOrderTotal>4</ReturnOrderTotal> <Year>1</Year> </SalesAndPaymentMonthlyReport> <SalesAndPaymentMonthlyReport> <MonthNumber>2</MonthNumber> <OrderTotal>3</OrderTotal> <PaymentCash>6</PaymentCash> <PaymentCheck>7</PaymentCheck> <PaymentCreditCard>8</PaymentCreditCard> <PaymentDebitCard>9</PaymentDebitCard> <PaymentGiftCard>10</PaymentGiftCard> <PaymentTotal>5</PaymentTotal> <ReturnOrderTotal>4</ReturnOrderTotal> <Year>1</Year> </SalesAndPaymentMonthlyReport> </ArrayOfSalesAndPaymentMonthlyReport>