Change an intake
curl --request PATCH \
--url https://{organization}.rescueconsole.com/api/animals/intakes/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"condition_on_arrival": "minor_issues",
"notes": "Ear mites, treated on arrival."
}
'const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({condition_on_arrival: 'minor_issues', notes: 'Ear mites, treated on arrival.'})
};
fetch('https://{organization}.rescueconsole.com/api/animals/intakes/{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/intakes/{id}"
payload = {
"condition_on_arrival": "minor_issues",
"notes": "Ear mites, treated on arrival."
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"intake": {
"id": "<string>",
"animal_id": "<string>",
"intake_type": "stray",
"intake_date": "<string>",
"is_surrender": true,
"is_return": true,
"surrendered_by_person_id": "<string>",
"source_organization": "<string>",
"found_location": "<string>",
"found_on": "<string>",
"surrender_reason": "moving",
"surrender_notes": "<string>",
"condition_on_arrival": "healthy",
"has_vet_records": true,
"returned_from_adoption_id": "<string>",
"notes": "<string>",
"created_by_person_id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"animal_name": "<string>",
"animal_species": "<string>",
"animal_status": "<string>",
"surrendered_by_first_name": "<string>",
"surrendered_by_last_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)"
}{
"error": "house_trained must be 1, 0 or null (not assessed)"
}Intakes
Change an intake
Send only what changes. The animal and the adoption a return came back from cannot be changed. Needs write on Animals.
PATCH
/
api
/
animals
/
intakes
/
{id}
Change an intake
curl --request PATCH \
--url https://{organization}.rescueconsole.com/api/animals/intakes/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"condition_on_arrival": "minor_issues",
"notes": "Ear mites, treated on arrival."
}
'const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({condition_on_arrival: 'minor_issues', notes: 'Ear mites, treated on arrival.'})
};
fetch('https://{organization}.rescueconsole.com/api/animals/intakes/{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/intakes/{id}"
payload = {
"condition_on_arrival": "minor_issues",
"notes": "Ear mites, treated on arrival."
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"intake": {
"id": "<string>",
"animal_id": "<string>",
"intake_type": "stray",
"intake_date": "<string>",
"is_surrender": true,
"is_return": true,
"surrendered_by_person_id": "<string>",
"source_organization": "<string>",
"found_location": "<string>",
"found_on": "<string>",
"surrender_reason": "moving",
"surrender_notes": "<string>",
"condition_on_arrival": "healthy",
"has_vet_records": true,
"returned_from_adoption_id": "<string>",
"notes": "<string>",
"created_by_person_id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"animal_name": "<string>",
"animal_species": "<string>",
"animal_status": "<string>",
"surrendered_by_first_name": "<string>",
"surrendered_by_last_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)"
}{
"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 intake's ID.
Body
application/json
Send only what changes. Empty text clears a field the same as null.
How it arrived.
Available options:
stray, owner_surrender, transfer_in, born_in_care, return, confiscation, unknown, other The day it arrived (YYYY-MM-DD).
A person in your organization. Null clears it.
Null clears it.
Null clears it.
YYYY-MM-DD. Null clears it.
Null clears it.
Available options:
moving, landlord, allergies, behavior, medical_cost, no_time, owner_death, owner_illness, too_many_pets, financial, baby_or_child, stray_kept_too_long, other, null Null clears it.
Null clears it.
Available options:
healthy, minor_issues, serious, critical, deceased, null Null is not known.
Null clears it.
Response
The intake, as it now is.
Show child attributes
Show child attributes