GET api/FlockManagement/{id}/inspections
Gets all mortality records for the given flock management record.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The ID of the flock management record. |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
All mortalities for the flock management record.
Collection of FlockInspection| Name | Description | Type | Additional information |
|---|---|---|---|
| ID |
The ID of the record. |
integer |
None. |
| FlockManagementID |
The ID of the flock the inspection is for. |
integer |
None. |
| GrowerHouseID |
The ID of the house the inspection is for. |
integer |
None. |
| FarmTechID |
The ID of the tech that performed the inspection. |
integer |
None. |
| ScheduledFarmTechID |
The ID of the tech that was scheduled to perform the inspection. |
integer |
None. |
| InspectionDate |
The date of the inspection. |
date |
None. |
| HasContactWithGrower |
Whether or not there was contact with the grower. |
boolean |
None. |
| ReasonForVisit |
The reason for the visit. |
string |
None. |
| IfOtherReason |
If the reason for the visit is "other", this is the description of that reason. |
string |
None. |
| WeatherConditionID |
The ID of the weather conditions at the time of the visit. |
integer |
None. |
| OutsideTemperature |
The outside temperature at the time of the visit. |
decimal number |
None. |
| IsOutsideHousekeepingAcceptable |
Whether or not the outside housekeeping is acceptable at the time of the visit. |
boolean |
None. |
| AreWorkRoomConditionsAcceptable |
Whether or not the work room conditions are acceptable at the time of the visit. |
boolean |
None. |
| AreDocumentsAcceptable | boolean |
None. |
|
| AreThereRodentsOrInsects |
Whether or not there were rodents and/or insects at the time of the visit. |
boolean |
None. |
| IsFlockAppearanceAcceptable |
Whether or not the flock appearance is acceptable at the time of the visit. |
boolean |
None. |
| IsFlockBehaviorNormal |
Whether or not the flock behavior was normal at the time of the visit. |
boolean |
None. |
| IsFeedBinAreaAcceptable |
Whether or not the feed bin area is acceptable at the time of the visit. |
boolean |
None. |
| IsFeedAcceptable |
Whether or not the feed is acceptable at the time of the visit. |
boolean |
None. |
| IsWaterAcceptable |
Whether or not the water is acceptable at the time of the visit. |
boolean |
None. |
| IsMedicated |
Whether or not the flock is medicated at the time of the visit. |
boolean |
None. |
| IsLitterAcceptable |
Whether or not the litter is acceptable at the time of the visit. |
boolean |
None. |
| AreDroppingsAcceptable |
Whether or not the droppings are acceptable at the time of the visit. |
boolean |
None. |
| IsVentilationAcceptable |
Whether or not the ventilation is acceptable at the time of the visit. |
boolean |
None. |
| VentilationCurtainID |
The ID of the ventilation curtains at the time of the visit. |
integer |
None. |
| FanID |
The ID of the fans at the time of the visit. |
integer |
None. |
| IsAirQualityAcceptable |
Whether or not the air quality is acceptable at the time of the visit. |
boolean |
None. |
| AreThermalConditionsAcceptable |
Whether or not the thermal conditions are acceptable at the time of the visit. |
boolean |
None. |
| AmmoniaPpm |
The amonia PPM at the time of the visit. |
integer |
None. |
| IsHumidityPercentAcceptable |
THIS IS OBSOLETE AND ONLY HERE FOR THE EXISTING TABLETS TO NOT BREAK ON THEIR SYNC DURING THIS DEPLOYMENT OF THE APP (1.24) TAKE OUT AFTER EVERYONE IS ON 1.24. |
boolean |
None. |
| HumidityPercentage |
The percentage of humidity at the time of the visit. |
decimal number |
None. |
| AreLeaksAcceptable |
Whether or not the leaks are acceptable at the time of the visit. |
boolean |
None. |
| IsInsideHousekeepingAcceptable |
Whether or not the inside housekeeping is acceptable at the time of the visit. |
boolean |
None. |
| InsideTemperature1 |
The first inside temperature reading at the time of the visit. |
decimal number |
None. |
| InsideTemperature2 |
The second optional inside temperature reading at the time of the visit. |
decimal number |
None. |
| InsideTemperature3 |
The third optional inside temperature reading at the time of the visit. |
decimal number |
None. |
| LightingHours |
The number of hours the lighting is on. |
integer |
None. |
| IsCareOfSickOrInjuredAcceptable |
Whether or not the care of sick/injured birds is acceptable at the time of the visit. |
boolean |
None. |
| IsCompassionateCareAcceptable |
Whether or not the compassionate care is acceptable at the time of the visit. |
boolean |
None. |
| AdditionalComments |
Any additional comments at the time of the visit. |
string |
None. |
| Signature |
The signature of the grower (if there was a non-compliance issue). |
Collection of byte |
None. |
| InfractionLevelID |
The ID of the infraction level issued during the inspection, if any. |
integer |
None. |
| InfractionPoints |
The number of infraction points associated with the infraction level issued during the inspection. |
integer |
None. |
| InfractionNotes |
The notes pertaining to the infraction points that were issued. |
string |
None. |
| CurrentGrowerInfractionPoints |
The snapshotted total of the grower's current infraction points. |
integer |
None. |
| IsSignatureRequired |
The snapshotted value of the infraction level signature required field. This way if an infraction level is edited, the original value for whether or not to capture/show the signature persists. |
boolean |
None. |
| IsDateToCorrectRequired |
The snapshotted value of the infraction level date to correct required field. This way if an infraction level is edited, the original value for whether or not to capture/show the date to correct persists. |
boolean |
None. |
| DateToCorrect |
If ther was a non-compliance issue, this is the date by which it must be corrected. |
date |
None. |
| LastWeight |
The last weight of the bird. |
decimal number |
None. |
| Section1Comments |
Comments for section 1 of the inspection. |
string |
None. |
| Section2Comments |
Comments for section 2 of the inspection. |
string |
None. |
| Section3Comments |
Comments for section 3 of the inspection. |
string |
None. |
| Section4Comments |
Comments for section 4 of the inspection. |
string |
None. |
| Section5Comments |
Comments for section 5 of the inspection. |
string |
None. |
| GerberNotes |
Internal notes used by GPI about the inspection. |
string |
None. |
| UniqueIdentifier |
Uniquely identifies this record. This ID is assigned by the individual tablets using the farm tech app. That way, records created from the tablets have a 100% globally unique identifier that allows them to determine if a record on their device already exists on the server. |
string |
None. |
| IsVerified |
States whether or not the inspection has been reviewed and verified that it is ok. |
boolean |
None. |
Response Formats
application/json, text/json
[
{
"ID": 1,
"FlockManagementID": 2,
"GrowerHouseID": 3,
"FarmTechID": 4,
"ScheduledFarmTechID": 5,
"InspectionDate": "2026-03-06T22:33:08.60558-05:00",
"HasContactWithGrower": true,
"ReasonForVisit": "sample string 8",
"IfOtherReason": "sample string 9",
"WeatherConditionID": 10,
"OutsideTemperature": 11.0,
"IsOutsideHousekeepingAcceptable": true,
"AreWorkRoomConditionsAcceptable": true,
"AreDocumentsAcceptable": true,
"AreThereRodentsOrInsects": true,
"IsFlockAppearanceAcceptable": true,
"IsFlockBehaviorNormal": true,
"IsFeedBinAreaAcceptable": true,
"IsFeedAcceptable": true,
"IsWaterAcceptable": true,
"IsMedicated": true,
"IsLitterAcceptable": true,
"AreDroppingsAcceptable": true,
"IsVentilationAcceptable": true,
"VentilationCurtainID": 25,
"FanID": 26,
"IsAirQualityAcceptable": true,
"AreThermalConditionsAcceptable": true,
"AmmoniaPpm": 29,
"IsHumidityPercentAcceptable": false,
"HumidityPercentage": 1.0,
"AreLeaksAcceptable": true,
"IsInsideHousekeepingAcceptable": true,
"InsideTemperature1": 33.0,
"InsideTemperature2": 1.0,
"InsideTemperature3": 1.0,
"LightingHours": 34,
"IsCareOfSickOrInjuredAcceptable": true,
"IsCompassionateCareAcceptable": true,
"AdditionalComments": "sample string 37",
"Signature": "QEA=",
"InfractionLevelID": 1,
"InfractionPoints": 38,
"InfractionNotes": "sample string 39",
"CurrentGrowerInfractionPoints": 40,
"IsSignatureRequired": true,
"IsDateToCorrectRequired": true,
"DateToCorrect": "2026-03-06T22:33:08.60558-05:00",
"LastWeight": 1.0,
"Section1Comments": "sample string 43",
"Section2Comments": "sample string 44",
"Section3Comments": "sample string 45",
"Section4Comments": "sample string 46",
"Section5Comments": "sample string 47",
"GerberNotes": "sample string 48",
"UniqueIdentifier": "sample string 49",
"IsVerified": true
},
{
"ID": 1,
"FlockManagementID": 2,
"GrowerHouseID": 3,
"FarmTechID": 4,
"ScheduledFarmTechID": 5,
"InspectionDate": "2026-03-06T22:33:08.60558-05:00",
"HasContactWithGrower": true,
"ReasonForVisit": "sample string 8",
"IfOtherReason": "sample string 9",
"WeatherConditionID": 10,
"OutsideTemperature": 11.0,
"IsOutsideHousekeepingAcceptable": true,
"AreWorkRoomConditionsAcceptable": true,
"AreDocumentsAcceptable": true,
"AreThereRodentsOrInsects": true,
"IsFlockAppearanceAcceptable": true,
"IsFlockBehaviorNormal": true,
"IsFeedBinAreaAcceptable": true,
"IsFeedAcceptable": true,
"IsWaterAcceptable": true,
"IsMedicated": true,
"IsLitterAcceptable": true,
"AreDroppingsAcceptable": true,
"IsVentilationAcceptable": true,
"VentilationCurtainID": 25,
"FanID": 26,
"IsAirQualityAcceptable": true,
"AreThermalConditionsAcceptable": true,
"AmmoniaPpm": 29,
"IsHumidityPercentAcceptable": false,
"HumidityPercentage": 1.0,
"AreLeaksAcceptable": true,
"IsInsideHousekeepingAcceptable": true,
"InsideTemperature1": 33.0,
"InsideTemperature2": 1.0,
"InsideTemperature3": 1.0,
"LightingHours": 34,
"IsCareOfSickOrInjuredAcceptable": true,
"IsCompassionateCareAcceptable": true,
"AdditionalComments": "sample string 37",
"Signature": "QEA=",
"InfractionLevelID": 1,
"InfractionPoints": 38,
"InfractionNotes": "sample string 39",
"CurrentGrowerInfractionPoints": 40,
"IsSignatureRequired": true,
"IsDateToCorrectRequired": true,
"DateToCorrect": "2026-03-06T22:33:08.60558-05:00",
"LastWeight": 1.0,
"Section1Comments": "sample string 43",
"Section2Comments": "sample string 44",
"Section3Comments": "sample string 45",
"Section4Comments": "sample string 46",
"Section5Comments": "sample string 47",
"GerberNotes": "sample string 48",
"UniqueIdentifier": "sample string 49",
"IsVerified": true
}
]