GET api/UserInfoes/ReportOwnerSummary?ownerId={ownerId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
ownerId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of ReportOwnerSummary
NameDescriptionTypeAdditional information
UserId

integer

None.

FarmId

integer

None.

FarmCount

integer

None.

BatchCount

integer

None.

EggCount

integer

None.

ChickCount

integer

None.

ParentCount

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "UserId": 1,
    "FarmId": 2,
    "FarmCount": 3,
    "BatchCount": 4,
    "EggCount": 5,
    "ChickCount": 6,
    "ParentCount": 7
  },
  {
    "UserId": 1,
    "FarmId": 2,
    "FarmCount": 3,
    "BatchCount": 4,
    "EggCount": 5,
    "ChickCount": 6,
    "ParentCount": 7
  }
]

application/xml, text/xml

Sample:
<ArrayOfReportOwnerSummary xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PoultryManagementAPI.ViewModels">
  <ReportOwnerSummary>
    <BatchCount>4</BatchCount>
    <ChickCount>6</ChickCount>
    <EggCount>5</EggCount>
    <FarmCount>3</FarmCount>
    <FarmId>2</FarmId>
    <ParentCount>7</ParentCount>
    <UserId>1</UserId>
  </ReportOwnerSummary>
  <ReportOwnerSummary>
    <BatchCount>4</BatchCount>
    <ChickCount>6</ChickCount>
    <EggCount>5</EggCount>
    <FarmCount>3</FarmCount>
    <FarmId>2</FarmId>
    <ParentCount>7</ParentCount>
    <UserId>1</UserId>
  </ReportOwnerSummary>
</ArrayOfReportOwnerSummary>