Skip to main content
POST
Apply a medical protocol

Authorizations

Authorization
string
header
required

An API key from Settings, API keys. It starts with rc_live_.

Body

application/json
animal_ids
string[]
required
Required array length: 1 - 50 elements
protocol_id
string

The protocol for every animal. Send this or match.

match
boolean

Each animal's own protocol, by its species and age group.

start_on
string<date>

The day it starts. Today when left out.

given
string[]

Catalog items given on start_on: a day-0 line for one is recorded as done.

Response

What was applied, and to whom.

applied
object[]
required
skipped
object[]
required
no_birth_date
object[]
required

Animals with a repeat that stops at an age and no date of birth to work it out from: theirs repeat until ended.