POST api/Report/GetAllCustomerDetailReport
Request Information
URI Parameters
None.
Body Parameters
CustomerDetailReportRequestName | Description | Type | Additional information |
---|---|---|---|
ToDate | date |
None. |
|
FromDate | date |
None. |
|
PageSize | integer |
None. |
|
PageNo | integer |
None. |
|
IsGetAll | boolean |
None. |
|
CustomerIds | Collection of integer |
None. |
|
RequestedUserID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "ToDate": "2025-01-22T20:43:52.7929703-06:00", "FromDate": "2025-01-22T20:43:52.7929703-06:00", "PageSize": 3, "PageNo": 4, "IsGetAll": true, "CustomerIds": [ 1, 2 ], "RequestedUserID": 1 }
application/xml, text/xml
Sample:
<CustomerDetailReportRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/POS.DTO.Request"> <RequestedUserID>1</RequestedUserID> <CustomerIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:long>1</d2p1:long> <d2p1:long>2</d2p1:long> </CustomerIds> <FromDate>2025-01-22T20:43:52.7929703-06:00</FromDate> <IsGetAll>true</IsGetAll> <PageNo>4</PageNo> <PageSize>3</PageSize> <ToDate>2025-01-22T20:43:52.7929703-06:00</ToDate> </CustomerDetailReportRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
CustomerDetailReportResponseName | Description | Type | Additional information |
---|---|---|---|
TotalProfit | decimal number |
None. |
|
CustomerDetails | Collection of CustomerDetailReportModel |
None. |
|
ResponseCode | integer |
None. |
|
ResponseText | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "TotalProfit": 1.0, "CustomerDetails": [ { "TotalSaleAmount": 1.0, "TotalPayment": 1.0, "TotalProfit": 1.0, "CurrentBalance": 1.0, "OrderCount": 1, "BestOrder": 1.0, "LastPaymentOn": "sample string 2", "LastOrderOn": "sample string 3", "CustomerName": "sample string 4", "CustomerID": 5, "ClientID": 6 }, { "TotalSaleAmount": 1.0, "TotalPayment": 1.0, "TotalProfit": 1.0, "CurrentBalance": 1.0, "OrderCount": 1, "BestOrder": 1.0, "LastPaymentOn": "sample string 2", "LastOrderOn": "sample string 3", "CustomerName": "sample string 4", "CustomerID": 5, "ClientID": 6 } ], "ResponseCode": 2, "ResponseText": "sample string 3" }
application/xml, text/xml
Sample:
<CustomerDetailReportResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/POS.DTO.Response"> <ResponseCode xmlns="http://schemas.datacontract.org/2004/07/POS.DTO.DataModel">2</ResponseCode> <ResponseText xmlns="http://schemas.datacontract.org/2004/07/POS.DTO.DataModel">sample string 3</ResponseText> <CustomerDetails> <CustomerDetailReportModel> <BestOrder>1</BestOrder> <ClientID>6</ClientID> <CurrentBalance>1</CurrentBalance> <CustomerID>5</CustomerID> <CustomerName>sample string 4</CustomerName> <LastOrderOn>sample string 3</LastOrderOn> <LastPaymentOn>sample string 2</LastPaymentOn> <OrderCount>1</OrderCount> <TotalPayment>1</TotalPayment> <TotalProfit>1</TotalProfit> <TotalSaleAmount>1</TotalSaleAmount> </CustomerDetailReportModel> <CustomerDetailReportModel> <BestOrder>1</BestOrder> <ClientID>6</ClientID> <CurrentBalance>1</CurrentBalance> <CustomerID>5</CustomerID> <CustomerName>sample string 4</CustomerName> <LastOrderOn>sample string 3</LastOrderOn> <LastPaymentOn>sample string 2</LastPaymentOn> <OrderCount>1</OrderCount> <TotalPayment>1</TotalPayment> <TotalProfit>1</TotalProfit> <TotalSaleAmount>1</TotalSaleAmount> </CustomerDetailReportModel> </CustomerDetails> <TotalProfit>1</TotalProfit> </CustomerDetailReportResponse>