Hello:
I am attempting to add a gift to a batch in the Sky Developer Cohort environment. I am using the AddGiftToBatch connector in Power Automate. I keep getting an HTTP 400 Bad Request error. I have been attempting to debug this for several hours, and I am at a loss on what could possibly be wrong. Here is the JSON that the Connector is creating.
{
"host": {
"connectionReferenceName": "shared_blackbaudgifts",
"operationId": "AddGiftToBatch"
},
"parameters": {
"batch_id": "XXXXXX",
"body/gifts/constituent_id": "260",
"body/gifts/amount/value": 100,
"body/gifts/date": "2023-12-26T00:00:00Z",
"body/gifts/type": "Donation",
"body/gifts/gift_splits": [
{
"fund_id": "6",
"amount/value": 100,
"campaign_id": "3"
}
],
"body/gifts/payments/payment_method": "CreditCard",
"body/gifts/is_anonymous": true,
"body/gifts/subtype": "OnlineGiving",
"body/gifts/reference": "Gift Designation: Natural Disaster Relief Fund",
"body/gifts/post_status": "NotPosted",
"body/gifts/post_date": "2023-12-26T00:00:00Z",
"body/gifts/receipts/status": "NeedsReceipt",
"body/gifts/receipts/amount/value": 100,
"body/gifts/receipts/date": "2023-12-26T00:00:00Z"
}
}
-JW