PUT api/FlockPrechecks/{id}

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

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The ID of the precheck record to update.

integer

Required

Body Parameters

The bundle of the flock precheck, and optionally precheck image IDs of any precheck images to delete.

FlockPrecheckPutBundle
NameDescriptionTypeAdditional information
FlockPrecheck

The precheck to update.

FlockPrecheck

None.

FlockPrecheckImagesToDelete

The list of IDs of precheck images to delete.

Collection of integer

None.

Request Formats

application/json, text/json

Sample:
{
  "FlockPrecheck": {
    "ID": 1,
    "FlockManagementID": 2,
    "GrowerHouseID": 3,
    "FarmTechID": 4,
    "ScheduledFarmTechID": 5,
    "DateChecked": "2026-03-06T22:31:36.2878917-05:00",
    "HasContactWithGrower": true,
    "IsDriveMaintainedAndClear": true,
    "IsTenFootPerimeter": true,
    "AreBinsClearAndMaintained": true,
    "AreFeedBinPadsClear": true,
    "AreBirdsLeftFromPreviousFlock": true,
    "AreBaitAndRodentTrapsInProperCondition": true,
    "IsSinkRunningWater": true,
    "AreSoapAndPaperTowelsInPlace": true,
    "IsTrashEmptied": true,
    "IsWorkRoomSwept": true,
    "IsWorkRoomOrganized": true,
    "IsWindowWashed": true,
    "IsBackupGeneratorLogUpToDate": true,
    "AreRiserTubesCleaned": true,
    "AreNipplesAndWaterPressureChecked": true,
    "AreDrinkerLinesFlushed": true,
    "AreFeedPansAndLinesClean": true,
    "IsLightingInWorkingOrder": true,
    "IsInsideHouseBlownDown": true,
    "AreBroodersFreeOfDustAndMaintained": true,
    "AreAllFansBlownOff": true,
    "IsNewLitterInBroodSection": true,
    "HasRemainingLitterBeenTreated": true,
    "IsLitterTreatment": "sample string 31",
    "LitterTreatmentNote": "sample string 32",
    "IsDeadBirdDisposalAccordingToGrowerPlan": true,
    "AreThereNoVisibleHolesInWalls": true,
    "AreDoorsAndOtherOpeningsGood": true,
    "AreCurtainDropsAndAlarmsChecked": true,
    "IsAmmoniaLevelAcceptable": true,
    "TemperatureBroodingArea": 38.0,
    "FloorTemperatureInBroodingArea": 1.0,
    "HumidityPercentage": 1.0,
    "AreBirdScalesCleanedAndCalibrated": true,
    "AreFeedAndWaterLinesReady": true,
    "InfractionLevelID": 1,
    "InfractionPoints": 40,
    "InfractionNotes": "sample string 41",
    "CurrentGrowerInfractionPoints": 42,
    "IsSignatureRequired": true,
    "IsDateToCorrectRequired": true,
    "DateToCorrect": "2026-03-06T22:31:36.2878917-05:00",
    "AdditionalComments": "sample string 45",
    "Signature": "QEA=",
    "OutsideBroilerHouseComments": "sample string 46",
    "WorkRoomCheckComments": "sample string 47",
    "InsideBroilerHouseComments": "sample string 48",
    "GerberNotes": "sample string 49",
    "UniqueIdentifier": "sample string 50",
    "IsVerified": true
  },
  "FlockPrecheckImagesToDelete": [
    1,
    2
  ]
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'FlockPrecheckPutBundle'.

Response Information

Resource Description

An empty response body with a 204 response on success.

None.