GET api/FlockInfractions/{id}
Gets a particular flock infraction.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The ID of the flock infraction. |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
The infraction with the specified ID, or a 404 response if the infraction doesn't exist.
FlockInfraction| Name | Description | Type | Additional information |
|---|---|---|---|
| ID |
The ID of the record. |
integer |
None. |
| FlockManagementID |
The ID of the associated flock management record. |
integer |
None. |
| GrowerHouseID |
The ID of the associated grower house record. |
integer |
None. |
| InfractionDate |
The date of the infraction. |
date |
None. |
| Description |
The description of the infraction. |
string |
None. |
| AuditorID |
Nullable. The ID of the associated auditor record. |
integer |
None. |
| FarmTechID |
Nullable. The ID of the associated farm tech record. |
integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"ID": 1,
"FlockManagementID": 2,
"GrowerHouseID": 3,
"InfractionDate": "2026-03-06T22:32:58.655747-05:00",
"Description": "sample string 5",
"AuditorID": 1,
"FarmTechID": 1
}