GET api/EmployeeSalesReport/{id}?type={type}&startdatetime={startdatetime}&enddatetime={enddatetime}
Gets a list Employee sales report item.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
Organization Id. |
integer |
Required |
type |
List Type. |
string |
Required |
startdatetime |
Start DateTime. |
date |
Required |
enddatetime |
End DateTime. |
date |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of EmployeeSalesReportName | Description | Type | Additional information |
---|---|---|---|
EmployeeId | integer |
None. |
|
EmployeeCode | string |
None. |
|
EmployeeName | string |
None. |
|
OrderCount | integer |
None. |
|
OrderAmount | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[ { "EmployeeId": 1, "EmployeeCode": "sample string 2", "EmployeeName": "sample string 3", "OrderCount": 1, "OrderAmount": 1.0 }, { "EmployeeId": 1, "EmployeeCode": "sample string 2", "EmployeeName": "sample string 3", "OrderCount": 1, "OrderAmount": 1.0 } ]
application/xml, text/xml
Sample:
<ArrayOfEmployeeSalesReport xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustomersdbWebShared.Models"> <EmployeeSalesReport> <EmployeeCode>sample string 2</EmployeeCode> <EmployeeId>1</EmployeeId> <EmployeeName>sample string 3</EmployeeName> <OrderAmount>1</OrderAmount> <OrderCount>1</OrderCount> </EmployeeSalesReport> <EmployeeSalesReport> <EmployeeCode>sample string 2</EmployeeCode> <EmployeeId>1</EmployeeId> <EmployeeName>sample string 3</EmployeeName> <OrderAmount>1</OrderAmount> <OrderCount>1</OrderCount> </EmployeeSalesReport> </ArrayOfEmployeeSalesReport>