Integrations
Discover imported historical gift-owner mismatches
For Bloomerang only, reads source transactions to verify imported gift ownership and creates local review conflicts. Ambiguous split-designation groups, missing mappings and unverified source records are excluded. Does not modify gifts, payments, sync cursors or provider records; an empty created_count alone does not mean all source rows were verified. Requires the integration platform global/configured client feature gate (normally integration_platform_foundation). Requires permission: one of access_account_settings.
POST
/
integrations
/
hub
/
connections
/
{connection_id}
/
historical-gift-owner-decisions
/
discover
Discover imported historical gift-owner mismatches
curl --request POST \
--url https://api.gratona.com/v1/integrations/hub/connections/{connection_id}/historical-gift-owner-decisions/discover \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.gratona.com/v1/integrations/hub/connections/{connection_id}/historical-gift-owner-decisions/discover"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.gratona.com/v1/integrations/hub/connections/{connection_id}/historical-gift-owner-decisions/discover', 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}/historical-gift-owner-decisions/discover",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
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}/historical-gift-owner-decisions/discover"
req, _ := http.NewRequest("POST", 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.post("https://api.gratona.com/v1/integrations/hub/connections/{connection_id}/historical-gift-owner-decisions/discover")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.gratona.com/v1/integrations/hub/connections/{connection_id}/historical-gift-owner-decisions/discover")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"status": "success",
"data": {
"source_record_count": 2,
"candidate_count": 2,
"verified_count": 2,
"created_count": 2,
"already_open_count": 2,
"previously_resolved_count": 2,
"ambiguous_split_count": 2,
"unverified_count": 2,
"total_amount": "125.00",
"decisions": [
{
"anchor_conflict_id": 42,
"record_count": 2,
"total_amount": "125.00",
"currency": "USD",
"date_from": "Example",
"date_to": "Example",
"provider_donor_id": "Example",
"current_owner": {
"id": 42,
"name": "Example",
"email": "Example"
},
"source_owner": {
"id": 42,
"name": "Example",
"email": "Example"
},
"can_keep_current_owner": true,
"can_use_source_owner": true,
"expected_record_count": 2,
"expected_total_amount": "125.00",
"expected_current_hys_donor_id": 42,
"expected_source_hys_donor_id": 42
}
],
"side_effects": {
"gifts_changed": 0,
"payments_changed": 0,
"messages_sent": 0,
"provider_requests_written": 0,
"sync_cursors_changed": 0
}
},
"message": "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.
Response
Operation result.
⌘I
Discover imported historical gift-owner mismatches
curl --request POST \
--url https://api.gratona.com/v1/integrations/hub/connections/{connection_id}/historical-gift-owner-decisions/discover \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.gratona.com/v1/integrations/hub/connections/{connection_id}/historical-gift-owner-decisions/discover"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.gratona.com/v1/integrations/hub/connections/{connection_id}/historical-gift-owner-decisions/discover', 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}/historical-gift-owner-decisions/discover",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
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}/historical-gift-owner-decisions/discover"
req, _ := http.NewRequest("POST", 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.post("https://api.gratona.com/v1/integrations/hub/connections/{connection_id}/historical-gift-owner-decisions/discover")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.gratona.com/v1/integrations/hub/connections/{connection_id}/historical-gift-owner-decisions/discover")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"status": "success",
"data": {
"source_record_count": 2,
"candidate_count": 2,
"verified_count": 2,
"created_count": 2,
"already_open_count": 2,
"previously_resolved_count": 2,
"ambiguous_split_count": 2,
"unverified_count": 2,
"total_amount": "125.00",
"decisions": [
{
"anchor_conflict_id": 42,
"record_count": 2,
"total_amount": "125.00",
"currency": "USD",
"date_from": "Example",
"date_to": "Example",
"provider_donor_id": "Example",
"current_owner": {
"id": 42,
"name": "Example",
"email": "Example"
},
"source_owner": {
"id": 42,
"name": "Example",
"email": "Example"
},
"can_keep_current_owner": true,
"can_use_source_owner": true,
"expected_record_count": 2,
"expected_total_amount": "125.00",
"expected_current_hys_donor_id": 42,
"expected_source_hys_donor_id": 42
}
],
"side_effects": {
"gifts_changed": 0,
"payments_changed": 0,
"messages_sent": 0,
"provider_requests_written": 0,
"sync_cursors_changed": 0
}
},
"message": "Example"
}{
"message": "Unauthorized",
"status": "error"
}{
"message": "Not Found",
"status": "error"
}{
"errors": {},
"status": "error",
"message": "The given data was invalid."
}