GET api/UserInfoes/ReportOwnerBuySellDaily?ownerId={ownerId}&year={year}&month={month}&farmId={farmId}&timeZone={timeZone}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
ownerId

integer

Required

year

integer

Default value is 0

month

integer

Default value is 0

farmId

integer

Default value is 0

timeZone

string

Default value is GMT+06:00

Body Parameters

None.

Response Information

Resource Description

Collection of ReportBuySellDaily
NameDescriptionTypeAdditional information
UserId

integer

None.

FarmId

integer

None.

DateAt

date

None.

TotalBuy

decimal number

None.

TotalSell

decimal number

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "UserId": 1,
    "FarmId": 2,
    "DateAt": "2025-12-06T10:23:41.2923942+06:00",
    "TotalBuy": 4.0,
    "TotalSell": 5.0
  },
  {
    "UserId": 1,
    "FarmId": 2,
    "DateAt": "2025-12-06T10:23:41.2923942+06:00",
    "TotalBuy": 4.0,
    "TotalSell": 5.0
  }
]

application/xml, text/xml

Sample:
<ArrayOfReportBuySellDaily xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PoultryManagementAPI.ViewModels">
  <ReportBuySellDaily>
    <DateAt>2025-12-06T10:23:41.2923942+06:00</DateAt>
    <FarmId>2</FarmId>
    <TotalBuy>4</TotalBuy>
    <TotalSell>5</TotalSell>
    <UserId>1</UserId>
  </ReportBuySellDaily>
  <ReportBuySellDaily>
    <DateAt>2025-12-06T10:23:41.2923942+06:00</DateAt>
    <FarmId>2</FarmId>
    <TotalBuy>4</TotalBuy>
    <TotalSell>5</TotalSell>
    <UserId>1</UserId>
  </ReportBuySellDaily>
</ArrayOfReportBuySellDaily>