Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
Update Processed Gift Entries Action
This action is available in API version 59.0 and later for users in orgs where the Fundraising Access license is enabled and the Fundraising User system permission is assigned.
Supported REST HTTP Methods
URI: /services/data/vXX.X/actions/standard/updateProcessedGiftEntries
Formats: JSON, XML
HTTP Methods: POST
Authentication: Authorization: Bearer token
Inputs
| Input | Type | Description |
|---|---|---|
| donorId | ID | The ID of the account of the donor that is updated when giftProcessingStatus is Success. |
| giftEntryId | ID | Required. The ID of the gift entry record to be updated. |
| giftProcessingErrorDetails | String | The error details when giftProcessingStatus is Failure. |
| giftProcessingStatus | String | The processing status of the gift entry. Valid values are Failure, New, or Success. |
| giftTransactionId | ID | The ID of the gift transaction record associated with the gift entry that is to be updated when giftProcessingStatus is Success. |
Outputs
| Field | Type | Description |
|---|---|---|
| giftEntryId | ID | The ID of the gift entry record that is updated. |
Example
Here's a request for the Update Processed Gift Entries action.
1{
2 "inputs": [
3 {
4 "donorId": "001RM000005ewDDYAY",
5 "giftEntryId": "6geRM00000000GdYAI",
6 "giftProcessingErrorDetails": null,
7 "giftProcessingStatus": "SUCCESS",
8 "giftTransactionId": "6trRM00000003PJ"
9 }
10 ]
11}Here's a response for the Update Processed Gift Entries action.
1[
2 {
3 "actionName": "updateProcessedGiftEntries",
4 "errors": null,
5 "isSuccess": true,
6 "outputValues": {
7 "giftEntryId": "6geRM00000000GdYAI"
8 },
9 "version": 1
10 }
11]