Create animal
farmbrite_create_animalWRITE: add an animal (or a group when is_group=true with group_qty) to the herd. type (e.g. Cattle, Sheep) and status are required. Creating twice makes two animals. POST /animals.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| type | Yes | Animal type, e.g. Cattle, Sheep, Goat, Chicken or a custom type. | |
| breed | No | ||
| gender | No | e.g. Female, Male. | |
| status | No | Active | |
| weight | No | ||
| is_group | No | true to add a group of identical animals. | |
| keywords | No | ||
| father_id | No | Father animal id (a Farmbrite id string). | |
| group_qty | No | Head count when is_group is true. | |
| mother_id | No | Mother animal id (a Farmbrite id string). | |
| purchased | No | ||
| sale_date | No | ||
| birth_date | No | ||
| death_date | No | Required when status is Butchered, Culled or Deceased. | |
| tag_number | No | ||
| description | No | ||
| internal_id | No | ||
| market_price | No | ||
| electronic_id | No | ||
| purchase_date | No | ||
| purchase_price | No | ||
| deceased_reason | No |