Count reconciliations
curl --request GET \
--url https://{organization}.rescueconsole.com/api/animals/reconciliations/facets \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{organization}.rescueconsole.com/api/animals/reconciliations/facets', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{organization}.rescueconsole.com/api/animals/reconciliations/facets"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"batches": 123,
"open_batches": 123,
"total": 123,
"facets": {
"status": [
{
"value": "<string>",
"label": "<string>",
"count": 123
}
]
},
"unmatched": {
"lines": 123,
"cents": 123
},
"verifiable_lines": 123,
"unmatched_in_closed": 123
}{
"error": "house_trained must be 1, 0 or null (not assessed)"
}{
"error": "house_trained must be 1, 0 or null (not assessed)"
}Reconciliations
Count reconciliations
Across every import: how many are open and closed, the unmatched lines in open imports and what they add up to, the matched lines in open imports whose payment is waiting to be verified, and the unmatched lines left in closed ones, counted apart. Needs read on Animals.
GET
/
api
/
animals
/
reconciliations
/
facets
Count reconciliations
curl --request GET \
--url https://{organization}.rescueconsole.com/api/animals/reconciliations/facets \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{organization}.rescueconsole.com/api/animals/reconciliations/facets', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{organization}.rescueconsole.com/api/animals/reconciliations/facets"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"batches": 123,
"open_batches": 123,
"total": 123,
"facets": {
"status": [
{
"value": "<string>",
"label": "<string>",
"count": 123
}
]
},
"unmatched": {
"lines": 123,
"cents": 123
},
"verifiable_lines": 123,
"unmatched_in_closed": 123
}{
"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_.
Response
The counts.
How many imports.
The same as batches.
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Matched lines in open imports whose payment is not verified or voided.
Unmatched lines left in closed imports.