List fee rules
curl --request GET \
--url https://{organization}.rescueconsole.com/api/animals/fee-schedules \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{organization}.rescueconsole.com/api/animals/fee-schedules', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{organization}.rescueconsole.com/api/animals/fee-schedules"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"results": [
{
"id": "<string>",
"label": "<string>",
"amount_cents": 1,
"species": "<string>",
"age_band": "<string>",
"sort_order": 123,
"is_active": true,
"notes": "<string>"
}
]
}{
"error": "house_trained must be 1, 0 or null (not assessed)"
}{
"error": "house_trained must be 1, 0 or null (not assessed)"
}Adoption fee schedules
List fee rules
Your fee rules, in order. A rule suggests a fee and never sets one: an animal’s fee is its own adoption_fee_cents, and changing the schedule changes no animal. The first active rule that matches an animal’s species and age group is the suggestion. Needs read on Animals.
GET
/
api
/
animals
/
fee-schedules
List fee rules
curl --request GET \
--url https://{organization}.rescueconsole.com/api/animals/fee-schedules \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{organization}.rescueconsole.com/api/animals/fee-schedules', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{organization}.rescueconsole.com/api/animals/fee-schedules"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"results": [
{
"id": "<string>",
"label": "<string>",
"amount_cents": 1,
"species": "<string>",
"age_band": "<string>",
"sort_order": 123,
"is_active": true,
"notes": "<string>"
}
]
}{
"error": "house_trained must be 1, 0 or null (not assessed)"
}{
"error": "house_trained must be 1, 0 or null (not assessed)"
}