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.

Manage Gift Default Designations Action

Creates and manages Gift Default Designation records for a gift entry associated with a campaign, opportunity, or gift commitment.

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/manageGiftDefaultDesignations

Formats: JSON, XML

HTTP Methods: POST

Authentication: Authorization: Bearer token

Inputs

Input Type Description
giftDefaultDesignationIds sObject Required. A collection of Gift Default Designation record IDs that are to be modified or deleted.
parentRecordId ID Required. The ID of the parent record like a campaign, opportunity, or gift commitment associated with the gift default designation IDs in giftDefaultDesignationIds.

Outputs

None.

Example

Here's a request for the Manage Gift Default Designations action.

1{
2  "inputs": [
3    {
4      "giftDefaultDesignationIds": [
5        {
6          "GiftDesignationId": "6gdRM0000004CD0YAM",
7          "AllocatedPercentage": 100
8        }
9      ]
10    }
11  ],
12  "parentRecordId": "6gcRM00000001UNYAY"
13}

Here's a response for the Manage Gift Default Designations action.

1[
2  {
3    "actionName": "manageGiftDefaultDesignations",
4    "errors": null,
5    "isSuccess": true,
6    "outputValues": null,
7    "version": 1
8  }
9]