List catalogue items
curl --request GET \
--url https://{organization}.rescueconsole.com/api/animals/medical-catalogue \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{organization}.rescueconsole.com/api/animals/medical-catalogue', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{organization}.rescueconsole.com/api/animals/medical-catalogue"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"kind": "diagnosis",
"results": [
{
"id": "<string>",
"kind": "diagnosis",
"key": "<string>",
"label": "<string>",
"fields": [
{
"key": "<string>",
"label": "<string>",
"type": "text",
"options": [
"<string>"
],
"unit": "<string>"
}
],
"notes": "<string>",
"is_active": true,
"sort_order": 123,
"alters": true,
"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)"
}Medical catalogue
List catalogue items
One kind of item, the ones in use first, then in their sort order and by name. When a kind has no items at all, this read first fills it with RescueConsole’s starter list; that happens again if you later delete every item of the kind. Needs read on Animals.
GET
/
api
/
animals
/
medical-catalogue
List catalogue items
curl --request GET \
--url https://{organization}.rescueconsole.com/api/animals/medical-catalogue \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{organization}.rescueconsole.com/api/animals/medical-catalogue', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{organization}.rescueconsole.com/api/animals/medical-catalogue"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"kind": "diagnosis",
"results": [
{
"id": "<string>",
"kind": "diagnosis",
"key": "<string>",
"label": "<string>",
"fields": [
{
"key": "<string>",
"label": "<string>",
"type": "text",
"options": [
"<string>"
],
"unit": "<string>"
}
],
"notes": "<string>",
"is_active": true,
"sort_order": 123,
"alters": true,
"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_.
Query Parameters
Which kind of item. Required.
A condition is a lasting fact about the animal, such as FIV positive; a diagnosis is an episode with a date.
Available options:
diagnosis, test, vaccine, treatment, procedure, condition