Skip to main content
POST
Add to the log

Authorizations

Authorization
string
header
required

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

Body

application/json
bottle_id
string
required
kind
enum<string>
required
Available options:
administered,
wasted,
destroyed,
returned,
lost,
corrected
amount
number

How much, in the drug's unit. Not for a count.

counted
number

For a count: what is in the bottle now.

occurred_at
string<date-time>

Now when not sent. Never in the future, never before the bottle came.

animal_id
string

Required for a dose.

purpose
enum<string>

Required for a dose.

Available options:
euthanasia,
sedation,
anesthesia,
other
route
enum<string> | null
Available options:
IV,
IP,
IM,
SC,
oral,
intracardiac,
other,
null
weight_kg
number | null
by_person_id
string

Who did it; you when not sent. A named handler for a dose, a waste or a destruction.

witness_person_id
string | null

Required for a destruction.

reason
string

Required for a return, a loss and a count.

reference
string

A Form 41 or 106, a reverse distributor's paperwork, a police report.

corrects_entry_id
string

For a count: the entry it puts right.

Response

The entry and the bottle's balance after it.

entry
object
balance
number