Get one transport run
curl --request GET \
--url https://{organization}.rescueconsole.com/api/animals/transports/{id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{organization}.rescueconsole.com/api/animals/transports/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{organization}.rescueconsole.com/api/animals/transports/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"id": "<string>",
"name": "<string>",
"scheduled_date": "2023-12-25",
"origin": "<string>",
"destination": "<string>",
"status": "planning",
"legs": [
{
"id": "<string>",
"sequence": 123,
"from_place": "<string>",
"to_place": "<string>",
"driver_person_id": "<string>",
"depart_at": "<string>",
"arrive_at": "<string>",
"driver_name": "<string>",
"notes": "<string>"
}
],
"animals": [
{
"id": "<string>",
"name": "<string>",
"species": "<string>",
"status": "<string>",
"notes": "<string>"
}
],
"problems": [
{
"kind": "no_legs",
"sequence": 123,
"message": "<string>"
}
],
"notes": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}{
"error": "house_trained must be 1, 0 or null (not assessed)"
}{
"error": "house_trained must be 1, 0 or null (not assessed)"
}{
"error": "house_trained must be 1, 0 or null (not assessed)"
}Transports
Get one transport run
A run with its legs in order, its animals, and every reason it cannot be confirmed yet. The problems come back on every read, not only when you try to confirm. Needs read on Animals.
GET
/
api
/
animals
/
transports
/
{id}
Get one transport run
curl --request GET \
--url https://{organization}.rescueconsole.com/api/animals/transports/{id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{organization}.rescueconsole.com/api/animals/transports/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{organization}.rescueconsole.com/api/animals/transports/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"id": "<string>",
"name": "<string>",
"scheduled_date": "2023-12-25",
"origin": "<string>",
"destination": "<string>",
"status": "planning",
"legs": [
{
"id": "<string>",
"sequence": 123,
"from_place": "<string>",
"to_place": "<string>",
"driver_person_id": "<string>",
"depart_at": "<string>",
"arrive_at": "<string>",
"driver_name": "<string>",
"notes": "<string>"
}
],
"animals": [
{
"id": "<string>",
"name": "<string>",
"species": "<string>",
"status": "<string>",
"notes": "<string>"
}
],
"problems": [
{
"kind": "no_legs",
"sequence": 123,
"message": "<string>"
}
],
"notes": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}{
"error": "house_trained must be 1, 0 or null (not assessed)"
}{
"error": "house_trained must be 1, 0 or null (not assessed)"
}{
"error": "house_trained must be 1, 0 or null (not assessed)"
}Authorizations
An API key from Settings, API keys. It starts with rc_live_.
Path Parameters
The run's ID.
Response
The run.
Available options:
planning, confirmed, in_progress, completed, cancelled In order.
Show child attributes
Show child attributes
The animals on the run, by name.
Show child attributes
Show child attributes
Every reason the run cannot be confirmed yet. Empty when it is ready.
Show child attributes
Show child attributes