Record treatment
farmbrite_create_treatmentWRITE: record a treatment (vaccine, dewormer, spray, fertilizer...) for an animal, livestock group, field or crop planting. Adds a record each time. POST /{animals|livestock_groups|plots|crops}/{id}/treatments.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cost | No | ||
| date | No | ||
| type | Yes | Treatment type. | |
| amount | No | Amount given (a number, or text with its unit such as '5 ml'). | |
| parent | Yes | ||
| product | No | ||
| parent_id | Yes | Animal, livestock group, field (plot) or crop planting id (a Farmbrite id string). | |
| technician | No | ||
| description | No | ||
| retreat_date | No | ||
| withdrawal_date | No |