GET api/MedicationHistories/ReportDrAreaSummaryList?stateId={stateId}&cityId={cityId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| stateId | integer |
Required |
|
| cityId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of ReportDrAreaSummary| Name | Description | Type | Additional information |
|---|---|---|---|
| StateId | integer |
None. |
|
| CityId | integer |
None. |
|
| FarmCount | integer |
None. |
|
| Open | integer |
None. |
|
| Processing | integer |
None. |
|
| Completed | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"StateId": 1,
"CityId": 2,
"FarmCount": 3,
"Open": 4,
"Processing": 5,
"Completed": 6
},
{
"StateId": 1,
"CityId": 2,
"FarmCount": 3,
"Open": 4,
"Processing": 5,
"Completed": 6
}
]
application/xml, text/xml
Sample:
<ArrayOfReportDrAreaSummary xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PoultryManagementAPI.ViewModels">
<ReportDrAreaSummary>
<CityId>2</CityId>
<Completed>6</Completed>
<FarmCount>3</FarmCount>
<Open>4</Open>
<Processing>5</Processing>
<StateId>1</StateId>
</ReportDrAreaSummary>
<ReportDrAreaSummary>
<CityId>2</CityId>
<Completed>6</Completed>
<FarmCount>3</FarmCount>
<Open>4</Open>
<Processing>5</Processing>
<StateId>1</StateId>
</ReportDrAreaSummary>
</ArrayOfReportDrAreaSummary>