Record feeding
farmbrite_create_feedingWRITE: record a feeding for an animal or livestock group. Either name the feed type, or give inventory_id + inventory_location_id to draw it from inventory (which lowers that inventory's quantity). Adds a record each time. POST /{animals|livestock_groups}/{id}/feedings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cost | No | ||
| date | No | ||
| type | No | Feed type, when not drawing from inventory. | |
| unit | No | ||
| amount | Yes | Amount fed. | |
| parent | Yes | ||
| per_head | No | true if amount is per animal. | |
| parent_id | Yes | Animal or livestock group id (a Farmbrite id string). | |
| description | No | ||
| inventory_id | No | Inventory type id the feed comes from (a Farmbrite id string). | |
| inventory_location_id | No | Inventory location id (from farmbrite_get_inventory_locations) (a Farmbrite id string). |