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.
Create Gift
Output representation of the details of the created gift transaction
response.
Sample Response
1{
2 "successes": 0,
3 "failures": 0,
4 "notProcessed": 0,
5 "details": [
6 {
7 "success": true,
8 "errors": [
9 {
10 "field": "string",
11 "message": "string"
12 }
13 ],
14 "links": {
15 "account": {
16 "href": "/services/data/vXX.X/sobjects/sObject/...",
17 "id": "string"
18 },
19 "gifttransaction": {
20 "href": "/services/data/vXX.X/sobjects/sObject/...",
21 "id": "string"
22 },
23 "giftcommitment": {
24 "href": "/services/data/vXX.X/sobjects/sObject/...",
25 "id": "string"
26 },
27 "paymentinstrument": {
28 "href": "/services/data/vXX.X/sobjects/sObject/...",
29 "id": "string"
30 },
31 "gifttransactiondesignation": [
32 {
33 "href": "/services/data/vXX.X/sobjects/sObject/...",
34 "id": "string"
35 }
36 ],
37 "campaign": {
38 "href": "/services/data/vXX.X/sobjects/sObject/...",
39 "id": "string"
40 },
41 "outreachsourcecode": {
42 "href": "/services/data/vXX.X/sobjects/sObject/...",
43 "id": "string"
44 }
45 }
46 }
47 ]
48}| Property Name | Type | Description | Filter Group and Version | Available Version |
|---|---|---|---|---|
| details | Create Gift Response Details[] | Contains the details of the gift response. | Small, 60.0 | 60.0 |
| failures | Integer | Number of transactions that failed to be created. | Small, 60.0 | 60.0 |
| notProcessed | Integer | Number of transactions that weren't processed. | Small, 60.0 | 60.0 |
| successes | Integer | Number of transactions that were created. | Small, 60.0 | 60.0 |