GET api/FlockMortalities/{id}

Gets a particular flock mortality.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The ID of the mortality.

integer

Required

Body Parameters

None.

Response Information

Resource Description

The mortality with the specified ID, or a 404 response if the mortality doesn't exist.

FlockMortality
NameDescriptionTypeAdditional information
ID

The ID of the record.

integer

None.

FlockManagementID

The ID of the flock the mortality is for.

integer

None.

GrowerHouseID

The ID of the house the mortality is for.

integer

None.

WeekNumber

The number of the week the mortality is for. Week 1 is the week of the placement.

integer

None.

DayNumber

The day within the week the placement is for. This does not mean 1 = Monday, this is the offset in days from the week number. So week 2, day 1, would be placement date + 8 days.

integer

None.

AmDeaths

The number of chicks that died in the morning.

integer

None.

PmDeaths

The number of chicks that died in the evening.

integer

None.

Culls

The number of chicks that had to be killed due to some issue (ex. injury).

integer

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.

Response Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "FlockManagementID": 2,
  "GrowerHouseID": 3,
  "WeekNumber": 4,
  "DayNumber": 5,
  "AmDeaths": 6,
  "PmDeaths": 7,
  "Culls": 8,
  "UniqueIdentifier": "sample string 9"
}