GET api/UserInfoes/ReportFarmSummaryBuySell?farmId={farmId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| farmId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of ReportOwnerSummaryBuySell| Name | Description | Type | Additional information |
|---|---|---|---|
| UserId | integer |
None. |
|
| FarmId | integer |
None. |
|
| TotalBuy | decimal number |
None. |
|
| TotalSell | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"UserId": 1,
"FarmId": 2,
"TotalBuy": 3.0,
"TotalSell": 4.0
},
{
"UserId": 1,
"FarmId": 2,
"TotalBuy": 3.0,
"TotalSell": 4.0
}
]
application/xml, text/xml
Sample:
<ArrayOfReportOwnerSummaryBuySell xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PoultryManagementAPI.ViewModels">
<ReportOwnerSummaryBuySell>
<FarmId>2</FarmId>
<TotalBuy>3</TotalBuy>
<TotalSell>4</TotalSell>
<UserId>1</UserId>
</ReportOwnerSummaryBuySell>
<ReportOwnerSummaryBuySell>
<FarmId>2</FarmId>
<TotalBuy>3</TotalBuy>
<TotalSell>4</TotalSell>
<UserId>1</UserId>
</ReportOwnerSummaryBuySell>
</ArrayOfReportOwnerSummaryBuySell>