Skip to main content
PUT
Set the legs of a run

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

The run's ID.

Body

application/json
legs
object[]
required

The whole chain, in order.

Response

The run, with its new legs and problems.

id
string
required
name
string
required
scheduled_date
string<date>
required
origin
string
required
destination
string
required
status
enum<string>
required
Available options:
planning,
confirmed,
in_progress,
completed,
cancelled
legs
object[]
required

In order.

animals
object[]
required

The animals on the run, by name.

problems
object[]
required

Every reason the run cannot be confirmed yet. Empty when it is ready.

notes
string | null
created_at
string<date-time>
updated_at
string<date-time>