POST api/polyon/getResults
Request Information
URI Parameters
None.
Body Parameters
PolyonCriteria| Name | Description | Type | Additional information |
|---|---|---|---|
| Nursery | boolean |
None. |
|
| SpecialtyAg | boolean |
None. |
|
| Turf | boolean |
None. |
|
| FromMonth | string |
None. |
|
| ToMonth | string |
None. |
|
| PolyonType | string |
None. |
|
| ItemNmbr | string |
None. |
|
| RepGroup | string |
None. |
|
| RepID | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Nursery": true,
"SpecialtyAg": true,
"Turf": true,
"FromMonth": "sample string 4",
"ToMonth": "sample string 5",
"PolyonType": "sample string 6",
"ItemNmbr": "sample string 7",
"RepGroup": "sample string 8",
"RepID": "sample string 9"
}
application/xml, text/xml
Sample:
<PolyonCriteria xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GoHarrellsAPI.Models"> <FromMonth>sample string 4</FromMonth> <ItemNmbr>sample string 7</ItemNmbr> <Nursery>true</Nursery> <PolyonType>sample string 6</PolyonType> <RepGroup>sample string 8</RepGroup> <RepID>sample string 9</RepID> <SpecialtyAg>true</SpecialtyAg> <ToMonth>sample string 5</ToMonth> <Turf>true</Turf> </PolyonCriteria>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of PolyonResults| Name | Description | Type | Additional information |
|---|---|---|---|
| RepSegment | string |
None. |
|
| RepGroup | string |
None. |
|
| RepID | string |
None. |
|
| RepName | string |
None. |
|
| CommYear | string |
None. |
|
| CommMonth | integer |
None. |
|
| PriorTons | decimal number |
None. |
|
| CurrTons | decimal number |
None. |
|
| TargetTons | decimal number |
None. |
|
| PriorTargetTons | decimal number |
None. |
|
| AnnualTargetTons | decimal number |
None. |
|
| PercTarget | decimal number |
None. |
|
| PercOverPrior | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"RepSegment": "sample string 1",
"RepGroup": "sample string 2",
"RepID": "sample string 3",
"RepName": "sample string 4",
"CommYear": "sample string 5",
"CommMonth": 6,
"PriorTons": 7.1,
"CurrTons": 8.1,
"TargetTons": 9.1,
"PriorTargetTons": 10.1,
"AnnualTargetTons": 11.1,
"PercTarget": 0.89010989010989006,
"PercOverPrior": 0.14084507042253525
},
{
"RepSegment": "sample string 1",
"RepGroup": "sample string 2",
"RepID": "sample string 3",
"RepName": "sample string 4",
"CommYear": "sample string 5",
"CommMonth": 6,
"PriorTons": 7.1,
"CurrTons": 8.1,
"TargetTons": 9.1,
"PriorTargetTons": 10.1,
"AnnualTargetTons": 11.1,
"PercTarget": 0.89010989010989006,
"PercOverPrior": 0.14084507042253525
}
]
application/xml, text/xml
Sample:
<ArrayOfPolyonResults xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GoHarrellsAPI.Models">
<PolyonResults>
<AnnualTargetTons>11.1</AnnualTargetTons>
<CommMonth>6</CommMonth>
<CommYear>sample string 5</CommYear>
<CurrTons>8.1</CurrTons>
<PriorTargetTons>10.1</PriorTargetTons>
<PriorTons>7.1</PriorTons>
<RepGroup>sample string 2</RepGroup>
<RepID>sample string 3</RepID>
<RepName>sample string 4</RepName>
<RepSegment>sample string 1</RepSegment>
<TargetTons>9.1</TargetTons>
</PolyonResults>
<PolyonResults>
<AnnualTargetTons>11.1</AnnualTargetTons>
<CommMonth>6</CommMonth>
<CommYear>sample string 5</CommYear>
<CurrTons>8.1</CurrTons>
<PriorTargetTons>10.1</PriorTargetTons>
<PriorTons>7.1</PriorTons>
<RepGroup>sample string 2</RepGroup>
<RepID>sample string 3</RepID>
<RepName>sample string 4</RepName>
<RepSegment>sample string 1</RepSegment>
<TargetTons>9.1</TargetTons>
</PolyonResults>
</ArrayOfPolyonResults>