curl --request GET \
--url https://{organization}.rescueconsole.com/api/shifts/bookings/export \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{organization}.rescueconsole.com/api/shifts/bookings/export', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{organization}.rescueconsole.com/api/shifts/bookings/export"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)"<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)"
}Export sign-ups
The roster as a CSV file, with the filters of List sign-ups. Up to 5,000 sign-ups, soonest first. A companion gets a row of their own beside the person who signed up; attending_as says primary, guardian or companion. Columns: volunteer, attending_as, role, location, starts_at, ends_at, outcome, hours, signed_off_at, notes. Needs read on Shifts. Without read on People, only the sign-ups of the person who created the key.
curl --request GET \
--url https://{organization}.rescueconsole.com/api/shifts/bookings/export \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{organization}.rescueconsole.com/api/shifts/bookings/export', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{organization}.rescueconsole.com/api/shifts/bookings/export"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)"<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)"
}Authorizations
An API key from Settings, API keys. It starts with rc_live_.
Query Parameters
One or more of booked, cancellation_requested, cancelled, attended, no_show, separated by commas. Without it, every status but cancelled.
The sign-ups of one person (not the ones they accompany).
The sign-ups on one shift.
The sign-ups for one role.
The sign-ups on shifts at one location.
Sign-ups that end on or after this date, or date and time.
Sign-ups that start on or before this date, or date and time.
false for the hours still waiting to be signed off.
true, false Response
The file, named volunteer-roster.csv.
The response is of type string.