Record a follow-up
Closes the review task that was due and makes the next, a cadence from today, so a plan has one open review at most. outcome close completes the plan. 409 on a completed or stopped plan. Needs write on Animals.
POST
https://{organization}.rescueconsole.com
/
api
/
animals
/
behavior-plans
/
{id}
/
followups
Record a follow-up
curl --request POST \
--url https://{organization}.rescueconsole.com/api/animals/behavior-plans/{id}/followups \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"progress": "slight",
"outcome": "continue",
"notes": "Three calm passes at fifteen yards."
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
progress: 'slight',
outcome: 'continue',
notes: 'Three calm passes at fifteen yards.'
})
};
fetch('https://{organization}.rescueconsole.com/api/animals/behavior-plans/{id}/followups', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{organization}.rescueconsole.com/api/animals/behavior-plans/{id}/followups"
payload = {
"progress": "slight",
"outcome": "continue",
"notes": "Three calm passes at fifteen yards."
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"plan": {
"id": "<string>",
"animal_id": "<string>",
"name": "<string>",
"goal": "<string>",
"phases": [
{
"name": "<string>",
"steps": "<string>"
}
],
"starts_on": "2023-12-25",
"status": "planned",
"followups": [
{
"id": "<string>",
"recorded_on": "2023-12-25",
"progress": "none",
"outcome": "continue",
"notes": "<string>",
"recorded_by_person_id": "<string>",
"recorded_by_name": "<string>"
}
],
"template_id": "<string>",
"success_measure": "<string>",
"lead_person_id": "<string>",
"lead_name": "<string>",
"review_every_days": 183,
"next_review_on": "2023-12-25",
"medical_record_ids": [
"<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)"
}{
"error": "house_trained must be 1, 0 or null (not assessed)"
}{
"error": "house_trained must be 1, 0 or null (not assessed)"
}Authorizations
Body
application/json
⌘I
Record a follow-up
curl --request POST \
--url https://{organization}.rescueconsole.com/api/animals/behavior-plans/{id}/followups \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"progress": "slight",
"outcome": "continue",
"notes": "Three calm passes at fifteen yards."
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
progress: 'slight',
outcome: 'continue',
notes: 'Three calm passes at fifteen yards.'
})
};
fetch('https://{organization}.rescueconsole.com/api/animals/behavior-plans/{id}/followups', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{organization}.rescueconsole.com/api/animals/behavior-plans/{id}/followups"
payload = {
"progress": "slight",
"outcome": "continue",
"notes": "Three calm passes at fifteen yards."
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"plan": {
"id": "<string>",
"animal_id": "<string>",
"name": "<string>",
"goal": "<string>",
"phases": [
{
"name": "<string>",
"steps": "<string>"
}
],
"starts_on": "2023-12-25",
"status": "planned",
"followups": [
{
"id": "<string>",
"recorded_on": "2023-12-25",
"progress": "none",
"outcome": "continue",
"notes": "<string>",
"recorded_by_person_id": "<string>",
"recorded_by_name": "<string>"
}
],
"template_id": "<string>",
"success_measure": "<string>",
"lead_person_id": "<string>",
"lead_name": "<string>",
"review_every_days": 183,
"next_review_on": "2023-12-25",
"medical_record_ids": [
"<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)"
}{
"error": "house_trained must be 1, 0 or null (not assessed)"
}{
"error": "house_trained must be 1, 0 or null (not assessed)"
}
