GET api/Vendor/GetSaleSummaryByVendor?EmployeeId={EmployeeId}&StartDate={StartDate}&EndDate={EndDate}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| EmployeeId | integer |
Required |
|
| StartDate | date |
Required |
|
| EndDate | date |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of SaleSummaryRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Product | string |
None. |
|
| Quantity | integer |
None. |
|
| Amount | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Product": "sample string 1",
"Quantity": 2,
"Amount": 3.0
},
{
"Product": "sample string 1",
"Quantity": 2,
"Amount": 3.0
}
]
application/xml, text/xml
Sample:
<ArrayOfVendorController.SaleSummaryRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustomerAPI.Controllers">
<VendorController.SaleSummaryRequest>
<Amount>3</Amount>
<Product>sample string 1</Product>
<Quantity>2</Quantity>
</VendorController.SaleSummaryRequest>
<VendorController.SaleSummaryRequest>
<Amount>3</Amount>
<Product>sample string 1</Product>
<Quantity>2</Quantity>
</VendorController.SaleSummaryRequest>
</ArrayOfVendorController.SaleSummaryRequest>