List animal calendar items
curl --request GET \
--url https://{organization}.rescueconsole.com/api/animals/calendar \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{organization}.rescueconsole.com/api/animals/calendar', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{organization}.rescueconsole.com/api/animals/calendar"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"results": [
{
"id": "<string>",
"source": "medical_due",
"module": "animals",
"title": "<string>",
"starts_at": "<string>",
"all_day": true,
"entity_type": "animal",
"entity_id": "<string>",
"tone": "overdue",
"ends_at": "<string>",
"medical_record_id": "<string>",
"detail": "<string>",
"assignees": [
{
"person_id": "<string>",
"name": "<string>"
}
]
}
]
}{
"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)"
}Animal calendar
List animal calendar items
Everything dated in animal care between two days, both included: medical records due on a day in the range (done or not), adoptions, foster placements starting and ending, arrivals, and meet and greets. A foster placement that has not started, or has not ended, has no item for that end. The items come grouped by source, not sorted by date, and each source gives at most 1,000. Needs read on Animals.
GET
/
api
/
animals
/
calendar
List animal calendar items
curl --request GET \
--url https://{organization}.rescueconsole.com/api/animals/calendar \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{organization}.rescueconsole.com/api/animals/calendar', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{organization}.rescueconsole.com/api/animals/calendar"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"results": [
{
"id": "<string>",
"source": "medical_due",
"module": "animals",
"title": "<string>",
"starts_at": "<string>",
"all_day": true,
"entity_type": "animal",
"entity_id": "<string>",
"tone": "overdue",
"ends_at": "<string>",
"medical_record_id": "<string>",
"detail": "<string>",
"assignees": [
{
"person_id": "<string>",
"name": "<string>"
}
]
}
]
}{
"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)"
}