Count wish list items
curl --request GET \
--url https://{organization}.rescueconsole.com/api/fundraising/wishlist/facets \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{organization}.rescueconsole.com/api/fundraising/wishlist/facets', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{organization}.rescueconsole.com/api/fundraising/wishlist/facets"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"total": 123,
"still_needed": {
"item_count": 123,
"estimated_cents": 123
},
"facets": {
"status": [
{
"value": "<string>",
"label": "<string>",
"count": 123
}
],
"category": [
{
"value": "<string>",
"label": "<string>",
"count": 123
}
],
"priority": [
{
"value": "<string>",
"label": "<string>",
"count": 123
}
]
}
}{
"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)"
}Wish list
Count wish list items
How many items match, how many have each status, category and priority, and what is still needed. Takes the same filters as the list. Each group is counted with its own filter left out, so the counts say what you would get by choosing that value instead. Needs read on Fundraising.
GET
/
api
/
fundraising
/
wishlist
/
facets
Count wish list items
curl --request GET \
--url https://{organization}.rescueconsole.com/api/fundraising/wishlist/facets \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{organization}.rescueconsole.com/api/fundraising/wishlist/facets', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{organization}.rescueconsole.com/api/fundraising/wishlist/facets"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"total": 123,
"still_needed": {
"item_count": 123,
"estimated_cents": 123
},
"facets": {
"status": [
{
"value": "<string>",
"label": "<string>",
"count": 123
}
],
"category": [
{
"value": "<string>",
"label": "<string>",
"count": 123
}
],
"priority": [
{
"value": "<string>",
"label": "<string>",
"count": 123
}
]
}
}{
"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
closed means you have stopped asking, which is not the same as enough having arrived: see is_fulfilled.
Available options:
open, closed Available options:
food, medical, supplies, equipment, enrichment, other Available options:
low, normal, urgent