GET api/GrowerNumbers/activeHierarchies
Gets all active grower number records and includes their full hierarchy.
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
A list of active grower hierarchy records.
Collection of GrowerHierarchy| Name | Description | Type | Additional information |
|---|---|---|---|
| GrowerHouses |
The houses for this grower. |
Collection of GrowerHouse |
None. |
| 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
[
{
"GrowerHouses": [
{
"id": 1,
"GrowerNumberID": 2,
"HouseNumber": 1,
"IsActive": true,
"SquareFeet": 4,
"DateStarted": "2026-03-06T22:33:03.1413596-05:00",
"IsNewHouse": true,
"Mileage": 7,
"IsFireFanRequired": true,
"PassesWaterQuality": true,
"WaterSupplyID": 10,
"FuelTypeID": 11,
"HeatingSystemID": 12,
"PowerSourceID": 13,
"VentilationID": 14,
"CeilingHeight": 15.0,
"WaterMistingID": 16,
"HasCurtainAlarm": true,
"HasOtherAlarms": true,
"BroodingSize": 19.0,
"FeederSystemTypeID": 20,
"ContractExpiration": "2026-03-06T22:33:03.1413596-05:00",
"NewHouseExpirationDate": "2026-03-06T22:33:03.1413596-05:00",
"Address1": "sample string 23",
"Address2": "sample string 24",
"City": "sample string 25",
"State": "sample string 26",
"ZipCode": "sample string 27",
"HasDeadBirdDisposalProgram": true,
"HasManureManagementPlan": true,
"ParticipatesInFarmMonitoring": true,
"GrowerHouseTypeID": 31,
"LastAuditID": 1,
"LastAuditDate": "2026-03-06T22:33:03.1413596-05:00",
"LastAuditComplianceFixByDate": "2026-03-06T22:33:03.1413596-05:00",
"LastAuditComplianceResolutionDate": "2026-03-06T22:33:03.1413596-05:00",
"AuditPdfGeneratedDate": "2026-03-06T22:33:03.1413596-05:00"
},
{
"id": 1,
"GrowerNumberID": 2,
"HouseNumber": 1,
"IsActive": true,
"SquareFeet": 4,
"DateStarted": "2026-03-06T22:33:03.1413596-05:00",
"IsNewHouse": true,
"Mileage": 7,
"IsFireFanRequired": true,
"PassesWaterQuality": true,
"WaterSupplyID": 10,
"FuelTypeID": 11,
"HeatingSystemID": 12,
"PowerSourceID": 13,
"VentilationID": 14,
"CeilingHeight": 15.0,
"WaterMistingID": 16,
"HasCurtainAlarm": true,
"HasOtherAlarms": true,
"BroodingSize": 19.0,
"FeederSystemTypeID": 20,
"ContractExpiration": "2026-03-06T22:33:03.1413596-05:00",
"NewHouseExpirationDate": "2026-03-06T22:33:03.1413596-05:00",
"Address1": "sample string 23",
"Address2": "sample string 24",
"City": "sample string 25",
"State": "sample string 26",
"ZipCode": "sample string 27",
"HasDeadBirdDisposalProgram": true,
"HasManureManagementPlan": true,
"ParticipatesInFarmMonitoring": true,
"GrowerHouseTypeID": 31,
"LastAuditID": 1,
"LastAuditDate": "2026-03-06T22:33:03.1413596-05:00",
"LastAuditComplianceFixByDate": "2026-03-06T22:33:03.1413596-05:00",
"LastAuditComplianceResolutionDate": "2026-03-06T22:33:03.1413596-05:00",
"AuditPdfGeneratedDate": "2026-03-06T22:33:03.1413596-05:00"
}
],
"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
},
{
"GrowerHouses": [
{
"id": 1,
"GrowerNumberID": 2,
"HouseNumber": 1,
"IsActive": true,
"SquareFeet": 4,
"DateStarted": "2026-03-06T22:33:03.1413596-05:00",
"IsNewHouse": true,
"Mileage": 7,
"IsFireFanRequired": true,
"PassesWaterQuality": true,
"WaterSupplyID": 10,
"FuelTypeID": 11,
"HeatingSystemID": 12,
"PowerSourceID": 13,
"VentilationID": 14,
"CeilingHeight": 15.0,
"WaterMistingID": 16,
"HasCurtainAlarm": true,
"HasOtherAlarms": true,
"BroodingSize": 19.0,
"FeederSystemTypeID": 20,
"ContractExpiration": "2026-03-06T22:33:03.1413596-05:00",
"NewHouseExpirationDate": "2026-03-06T22:33:03.1413596-05:00",
"Address1": "sample string 23",
"Address2": "sample string 24",
"City": "sample string 25",
"State": "sample string 26",
"ZipCode": "sample string 27",
"HasDeadBirdDisposalProgram": true,
"HasManureManagementPlan": true,
"ParticipatesInFarmMonitoring": true,
"GrowerHouseTypeID": 31,
"LastAuditID": 1,
"LastAuditDate": "2026-03-06T22:33:03.1413596-05:00",
"LastAuditComplianceFixByDate": "2026-03-06T22:33:03.1413596-05:00",
"LastAuditComplianceResolutionDate": "2026-03-06T22:33:03.1413596-05:00",
"AuditPdfGeneratedDate": "2026-03-06T22:33:03.1413596-05:00"
},
{
"id": 1,
"GrowerNumberID": 2,
"HouseNumber": 1,
"IsActive": true,
"SquareFeet": 4,
"DateStarted": "2026-03-06T22:33:03.1413596-05:00",
"IsNewHouse": true,
"Mileage": 7,
"IsFireFanRequired": true,
"PassesWaterQuality": true,
"WaterSupplyID": 10,
"FuelTypeID": 11,
"HeatingSystemID": 12,
"PowerSourceID": 13,
"VentilationID": 14,
"CeilingHeight": 15.0,
"WaterMistingID": 16,
"HasCurtainAlarm": true,
"HasOtherAlarms": true,
"BroodingSize": 19.0,
"FeederSystemTypeID": 20,
"ContractExpiration": "2026-03-06T22:33:03.1413596-05:00",
"NewHouseExpirationDate": "2026-03-06T22:33:03.1413596-05:00",
"Address1": "sample string 23",
"Address2": "sample string 24",
"City": "sample string 25",
"State": "sample string 26",
"ZipCode": "sample string 27",
"HasDeadBirdDisposalProgram": true,
"HasManureManagementPlan": true,
"ParticipatesInFarmMonitoring": true,
"GrowerHouseTypeID": 31,
"LastAuditID": 1,
"LastAuditDate": "2026-03-06T22:33:03.1413596-05:00",
"LastAuditComplianceFixByDate": "2026-03-06T22:33:03.1413596-05:00",
"LastAuditComplianceResolutionDate": "2026-03-06T22:33:03.1413596-05:00",
"AuditPdfGeneratedDate": "2026-03-06T22:33:03.1413596-05:00"
}
],
"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
}
]