Integrations
Preview outgoing Bloomerang donation review
Classifies failed/waiting and stale unreserved donation work without sending. Returns bounded counts, financial totals, reviewable rows and an opaque token. Only Bloomerang donations are supported; limit defaults to 500. Requires the integration platform global/configured client feature gate (normally integration_platform_foundation). Requires permission: one of access_account_settings.
GET
/
integrations
/
hub
/
connections
/
{connection_id}
/
outbound-review
Preview outgoing Bloomerang donation review
curl --request GET \
--url https://api.gratona.com/v1/integrations/hub/connections/{connection_id}/outbound-review \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.gratona.com/v1/integrations/hub/connections/{connection_id}/outbound-review"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.gratona.com/v1/integrations/hub/connections/{connection_id}/outbound-review', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.gratona.com/v1/integrations/hub/connections/{connection_id}/outbound-review",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.gratona.com/v1/integrations/hub/connections/{connection_id}/outbound-review"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.gratona.com/v1/integrations/hub/connections/{connection_id}/outbound-review")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.gratona.com/v1/integrations/hub/connections/{connection_id}/outbound-review")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"status": "success",
"data": {
"connection_id": 42,
"object_type": "donation",
"limit": 500,
"reviewed_count": 2,
"financial_total": 125,
"counts": {
"will_skip": 2,
"waiting": 2,
"needs_decision": 2,
"ready_to_send": 2,
"could_not_check": 2
},
"groups": [
{
"category": "will_skip",
"count": 2,
"title": "Example",
"description": "Example"
}
],
"review_token": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"provider_requests_sent": 0,
"terminal_count": 2,
"processing_count": 2,
"stale_processing_count": 2,
"remaining_count": 2,
"no_send_action_count": 2,
"ready_financial_total": 125,
"records": [
{
"event_id": 42,
"hys_object_id": 42,
"category": "will_skip",
"donor_id": 42,
"donor_name": "Example",
"occurred_at": "2023-11-07T05:31:56Z",
"amount": 125,
"currency": "Example",
"designation": "Example",
"transaction_reference": "Example",
"issue": "Example"
}
]
}
}{
"message": "Unauthorized",
"status": "error"
}{
"message": "Not Found",
"status": "error"
}{
"errors": {},
"status": "error",
"message": "The given data was invalid."
}Authorizations
bearerAuthapiKeyAuth
Passport bearer token authentication for legacy admin sessions.
Path Parameters
Connection id in the current organization.
Query Parameters
Object type. Validation: nullable; allowed values: donation.
Available options:
donation, null Limit. Validation: nullable, integer, min:1.
Required range:
1 <= x <= 500⌘I
Preview outgoing Bloomerang donation review
curl --request GET \
--url https://api.gratona.com/v1/integrations/hub/connections/{connection_id}/outbound-review \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.gratona.com/v1/integrations/hub/connections/{connection_id}/outbound-review"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.gratona.com/v1/integrations/hub/connections/{connection_id}/outbound-review', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.gratona.com/v1/integrations/hub/connections/{connection_id}/outbound-review",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.gratona.com/v1/integrations/hub/connections/{connection_id}/outbound-review"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.gratona.com/v1/integrations/hub/connections/{connection_id}/outbound-review")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.gratona.com/v1/integrations/hub/connections/{connection_id}/outbound-review")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"status": "success",
"data": {
"connection_id": 42,
"object_type": "donation",
"limit": 500,
"reviewed_count": 2,
"financial_total": 125,
"counts": {
"will_skip": 2,
"waiting": 2,
"needs_decision": 2,
"ready_to_send": 2,
"could_not_check": 2
},
"groups": [
{
"category": "will_skip",
"count": 2,
"title": "Example",
"description": "Example"
}
],
"review_token": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"provider_requests_sent": 0,
"terminal_count": 2,
"processing_count": 2,
"stale_processing_count": 2,
"remaining_count": 2,
"no_send_action_count": 2,
"ready_financial_total": 125,
"records": [
{
"event_id": 42,
"hys_object_id": 42,
"category": "will_skip",
"donor_id": 42,
"donor_name": "Example",
"occurred_at": "2023-11-07T05:31:56Z",
"amount": 125,
"currency": "Example",
"designation": "Example",
"transaction_reference": "Example",
"issue": "Example"
}
]
}
}{
"message": "Unauthorized",
"status": "error"
}{
"message": "Not Found",
"status": "error"
}{
"errors": {},
"status": "error",
"message": "The given data was invalid."
}