FlockMortalities

API endpoints for flock mortalities.

APIDescription
GET api/FlockMortalities

Gets all flock mortalities.

GET api/FlockMortalities/{id}

Gets a particular flock mortality.

POST api/FlockMortalities

Creates a new flock mortality. However, unlike a typical POST, we will actually do an update to an existing mortality if one exists for the same flock, house, week, and day combination. This is because users in Chick Redux can create their own mortality records, so one might already exist for the the given day, but we don't want this to be an error for API users - instead, they will just end up updating the existing record.

PUT api/FlockMortalities/{id}

Updates an existing flock mortality record.

ReferenceDocuments

API endpoints for reference documents.

APIDescription
GET api/ReferenceDocuments

Gets all grower number records.

VentilationCurtains

API endpoints for ventilation curtains.

APIDescription
GET api/VentilationCurtains

Gets all ventilation curtains.

GET api/VentilationCurtains/{id}

Gets a particular ventilation curtain.

FlockFeedConsumptions

API endpoints for flock feed consumptions

APIDescription
GET api/FlockFeedConsumptions

Gets all flock feed consumptions

GET api/FlockFeedConsumptions/{id}

Gets a particular flock feed consumption.

POST api/FlockFeedConsumptions

Creates a new flock feed consumption

PUT api/FlockFeedConsumptions/{id}

Updates an existing flock feed consumption record.

AuditImages

API endpoints for audits.

APIDescription
POST api/AuditImages/{uniqueIdentifier}

Posts an audit image.

FlockPrechecks

API endpoints for flock prechecks.

APIDescription
GET api/FlockPrechecks

Gets all flock prechecks.

GET api/FlockPrechecks/{id}

Gets a particular flock precheck.

POST api/FlockPrechecks

Creates a new flock precheck.

PUT api/FlockPrechecks/{id}

Updates an existing flock precheck record and potentially deletes one or more precheck images.

GET api/FlockPrechecks/{id}/images

Gets all precheck image records for the given precheck record.

FlockProcessing

API endpoints for flock processing.

APIDescription
GET api/FlockProcessing/schedule/{scheduleWeek}

Gets the processing schedule for the given week.

AppInstalls

API endpoints for app installs.

APIDescription
PUT api/AppInstalls

Updates a particular app install. If one doesn't exist for the posted device yet, it is created, otherwise it is updated.

GrowerHouseTypes

API endpoint for grower house types.

APIDescription
GET api/GrowerHouseTypes

Gets a list of all grower house types.

FlockInspectionImages

API endpoints for flock inspection images.

APIDescription
GET api/FlockInspectionImages

Gets all flock inspection images.

GET api/FlockInspectionImages/{id}

Gets a particular flock inspection image.

POST api/FlockInspectionImages

Creates a new flock inspection image.

AuditAddendumItemImages

API endpoints for audit addendum item images.

APIDescription
GET api/AuditAddendumItemImages/{id}

Gets a specified audit addendum item image.

POST api/AuditAddendumItemImages/{id}

Posts an audit addendum item image.

DELETE api/AuditAddendumItemImages/Delete/{id}

Deletes a specified audit addendum item image record.

Auth

Endpoint for authorization to gain access to the API.

APIDescription
POST api/Auth

Action to get an auth token for locked down API routes.

FarmTechs

API endpoints for farm techs.

APIDescription
GET api/FarmTechs

Gets all farm techs.

GET api/FarmTechs/{id}

Gets a particular farm tech.

GET api/FarmTechs/{farmTechID}/schedule/{scheduleWeek}

Gets the schedule for the farm tech for the given week.

Audits

API endpoints for audits.

APIDescription
POST api/Audits

Posts an audit and all associated models.

POST api/Audits/SendAuditNotification

No documentation available.

POST api/Audits/UpdateAuditComplianceResolutionDate

Updates an audit's compliance resoltuion date.

GET api/Audits/GetRecentHouseAudits/{id}

Gets the most recent audit and any other audit that isn't complete for the given grower house.

GET api/Audits/GetAuditPdf/{id}

Gets the PDF for the specified audit.

GET api/Audits/GetSettings

No documentation available.

AuditAddendums

API endpoints for audit addendums.

APIDescription
PUT api/AuditAddendums/{id}

Updates an existing audit addendum record.

Fans

API endpoints for fans.

APIDescription
GET api/Fans

Gets all fans.

GET api/Fans/{id}

Gets a particular fan.

GrowerNumbers

API endpoints for grower numbers.

APIDescription
GET api/GrowerNumbers

Gets all grower number records.

GET api/GrowerNumbers/activeHierarchies

Gets all active grower number records and includes their full hierarchy.

GET api/GrowerNumbers/{id}

Gets a particular grower number record.

GET api/GrowerNumbers/{id}/houses

Gets all house records for the given grower record.

GrowerHouses

API endpoints for grower houses.

APIDescription
GET api/GrowerHouses

Gets all grower house records.

GET api/GrowerHouses/{id}

Gets a particular grower house record.

GET api/GrowerHouses/mostRecentAuditPdf/{id}

Gets the most recent audit PDF for a given grower house.

FlockManagement

API endpoints for flock management.

APIDescription
GET api/FlockManagement

Gets all flock management records.

GET api/FlockManagement/{id}

Gets a particular flock management record.

GET api/FlockManagement/forAudits

Gets all flock management records.

GET api/FlockManagement/activeHierarchies

Gets all active flock management records but includes their full hierarchy.

GET api/FlockManagement/{id}/prechecks

Gets all mortality records for the given flock management record.

GET api/FlockManagement/{id}/inspections

Gets all mortality records for the given flock management record.

GET api/FlockManagement/{id}/mortalities

Gets all mortality records for the given flock management record.

GET api/FlockManagement/{id}/waterConsumptions

Gets all water consumption records for the given flock management record.

GET api/FlockManagement/{id}/feedConsumptions

Gets all feed consumption records for the given flock management record.

GET api/FlockManagement/{id}/placements

Gets summarized placement numbers for each house within a flock.

GET api/FlockManagement/chickSchedule/{scheduleWeek}

Gets the chick schedule for the given week.

GET api/FlockManagement/truckScaleReadings

Gets truck scale readings for all open flocks, as well as those up to four weeks past their processing date.

GET api/FlockManagement/infractionsSetting

Gets the setting for when the new infractions program starts.

FlockInspections

API endpoints for flock inspections.

APIDescription
GET api/FlockInspections

Gets all flock inspections.

GET api/FlockInspections/{id}

Gets a particular flock inspection.

POST api/FlockInspections

Creates a new flock inspection.

PUT api/FlockInspections/{id}

Updates an existing flock inspection record and potentially deletes one or more inspection images.

GET api/FlockInspections/updateFlockInformation/{flockManagementID}

Updates flock information based on the state of all the inspections for the given flock. Basically updates weight and AI information.

GET api/FlockInspections/{id}/images

Gets all inspection image records for the given inspection record.

WeatherConditions

API endpoints for weather conditions.

APIDescription
GET api/WeatherConditions

Gets all weather conditions.

GET api/WeatherConditions/{id}

Gets a particular weather condition.

AuditItemImages

API endpoints for audits.

APIDescription
POST api/AuditItemImages/{uniqueIdentifier}

Posts an audit item image.

FlockGrowerSupplies

API endpoints for flock grower supplies.

APIDescription
GET api/FlockGrowerSupplies

Gets all flock grower supplies.

GET api/FlockGrowerSupplies/{id}

Gets a particular flock grower supply.

POST api/FlockGrowerSupplies

Creates a new flock grower supply.

PUT api/FlockGrowerSupplies/{id}

Updates an existing flock grower supply record.

DELETE api/FlockGrowerSupplies/Delete/{id}

Deletes a specified flock grower supply record.

FlockWaterConsumptions

API endpoints for flock water consumptions.

APIDescription
GET api/FlockWaterConsumptions

Gets all flock water consumptions.

GET api/FlockWaterConsumptions/{id}

Gets a particular flock water consumption.

POST api/FlockWaterConsumptions

Creates a new flock water consumption.

PUT api/FlockWaterConsumptions/{id}

Updates an existing flock water consumption record.

AuditOrganizations

API endpoints for audit organizations.

APIDescription
GET api/AuditOrganizations

Gets all audit organizations.

GET api/AuditOrganizations/{id}

Gets a particular audit organization.

GrowerSupplies

API endpoints for grower supplies.

APIDescription
GET api/GrowerSupplies

Gets all grower supplies records.

FarmTechSchedules

API endpoints for farm tech schedules.

APIDescription
GET api/FarmTechSchedules/{scheduleWeek}?farmTechID={farmTechID}

Gets a farm tech schedule for the given week.

GeorgeFarms

Controller to handle routes used specifically by George Farms Order History.

APIDescription
POST api/GeorgeFarms/auth

Action to get an auth token for locked down George Farms API routes.

GET api/GeorgeFarms/orderHistory?start={start}&end={end}

Retrieves a list of order history within a delivery date range.

GET api/GeorgeFarms/SendNotification

No documentation available.

Sensors

Controller to handle requests related to farm sensor data.

APIDescription
GET api/Sensors/acknowledge/{slug}

Route to acknowledge incidents created by the monitoring system.

Auditors

API endpoints for auditors.

APIDescription
GET api/Auditors

Gets all auditors.

GET api/Auditors/{id}

Gets a particular auditor.

FlockInfractions

API endpoints for flock infractions.

APIDescription
GET api/FlockInfractions/{id}

Gets a particular flock infraction.

POST api/FlockInfractions

Action to post flock infractions to.

PUT api/FlockInfractions/{id}

Action to update an existing flock infraction record.

Kalmbach

Controller to handle specific routes that will be used by Kalmbach.

APIDescription
POST api/Kalmbach/auth

Action to get an auth token for locked down Kalmbach API routes.

GET api/Kalmbach/activeGrowers

Retrieves a list of all active growers and their houses.

GET api/Kalmbach/openflocks?from={from}&to={to}

Retrieves a list of open flocks within a scheduled placement date range.

GET api/Kalmbach/flocks/{flockNumber}/mortality

Returns a list of mortality by week/day for a specified flock.

GET api/Kalmbach/flocks/placementSchedule/{date}

Returns a list of scheduled flock placements.

GET api/Kalmbach/flocks/processingSchedule/{date}

Retrieves a list of scheduled processings.

GET api/Kalmbach/growers/{growerCode}/binInventory

Retrieve a list of current grower-reported bin inventory for the specified grower.

POST api/Kalmbach/flocks/delivery

No documentation available.

AuditTypes

API endpoints for audit types.

APIDescription
GET api/AuditTypes

Gets all audit types.

GET api/AuditTypes/{id}

Gets a particular audit type.

FlockPrecheckImages

API endpoints for flock precheck images.

APIDescription
GET api/FlockPrecheckImages

Gets all flock precheck images.

GET api/FlockPrecheckImages/{id}

Gets a particular flock precheck image.

POST api/FlockPrecheckImages

Creates a new flock precheck image.

InfractionLevels

API endpoints for infraction levels.

APIDescription
GET api/InfractionLevels

Gets all infraction level records.

AuditAddendumItems

API endpoints for audit addendum items.

APIDescription
PUT api/AuditAddendumItems/{id}

Updates an existing audit addendum item record.