GET api/GrowerNumbers
Gets all grower number records.
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
A list of grower number records.
Collection of GrowerNumber| Name | Description | Type | Additional information |
|---|---|---|---|
| ID |
The ID of the grower. |
integer |
None. |
| Grower |
The grower identifier used by GPI to identify the grower. |
string |
None. |
| Code |
The call-in code used by growers when phoning in to GPI to identify themselves. |
string |
None. |
| FirstName |
The grower's first name. |
string |
None. |
| LastName |
The grower's last name. |
string |
None. |
| Address1 |
The street address 1 of the grower. |
string |
None. |
| Address2 |
The street address 2 of the grower. |
string |
None. |
| City |
The city where the grower is located. |
string |
None. |
| State |
The state where the grower is located. |
string |
None. |
| ZipCode |
The zip code where the grower is located. |
string |
None. |
| County |
The county where the grower is located. |
string |
None. |
| Phone1 |
The grower's phone number. |
string |
None. |
| Phone2 |
The grower's second phone number. |
string |
None. |
| FarmTechID |
The ID of the farm tech that is assigned to this grower. |
integer |
None. |
| IsActive |
Whether or not this grower is actively used by GPI. |
boolean |
None. |
| Latitude |
The latitude of the grower's location. |
decimal number |
None. |
| Longitude |
The longitude of the grower's location. |
decimal number |
None. |
| Is3rdPartySupplier |
Whether or not the grower is a 3rd party supplier. |
boolean |
None. |
| PremiseNumber |
The premise number of the grower. |
string |
None. |
| InfractionPoints |
The total number of infraction points this grower has earned. |
integer |
None. |
Response Formats
application/json, text/json
[
{
"ID": 1,
"Grower": "sample string 2",
"Code": "sample string 3",
"FirstName": "sample string 4",
"LastName": "sample string 5",
"Address1": "sample string 6",
"Address2": "sample string 7",
"City": "sample string 8",
"State": "sample string 9",
"ZipCode": "sample string 10",
"County": "sample string 11",
"Phone1": "sample string 12",
"Phone2": "sample string 13",
"FarmTechID": 1,
"IsActive": true,
"Latitude": 1.0,
"Longitude": 1.0,
"Is3rdPartySupplier": true,
"PremiseNumber": "sample string 16",
"InfractionPoints": 17
},
{
"ID": 1,
"Grower": "sample string 2",
"Code": "sample string 3",
"FirstName": "sample string 4",
"LastName": "sample string 5",
"Address1": "sample string 6",
"Address2": "sample string 7",
"City": "sample string 8",
"State": "sample string 9",
"ZipCode": "sample string 10",
"County": "sample string 11",
"Phone1": "sample string 12",
"Phone2": "sample string 13",
"FarmTechID": 1,
"IsActive": true,
"Latitude": 1.0,
"Longitude": 1.0,
"Is3rdPartySupplier": true,
"PremiseNumber": "sample string 16",
"InfractionPoints": 17
}
]