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 Commitment
Output representation of the fundraising commitment request that contains the commitment
ID and associated links.
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 "giftcommitment": {
16 "href": "/services/data/vXX.X/sobjects/sObject/...",
17 "id": "string"
18 },
19 "giftcommitmentschedule": {
20 "href": "/services/data/vXX.X/sobjects/sObject/...",
21 "id": "string"
22 },
23 "giftdefaultdesignation": [
24 {
25 "href": "/services/data/vXX.X/sobjects/sObject/...",
26 "id": "string"
27 }
28 ],
29 "gifttransaction": {
30 "href": "/services/data/vXX.X/sobjects/sObject/...",
31 "id": "string"
32 },
33 "paymentinstrument": {
34 "href": "/services/data/vXX.X/sobjects/sObject/...",
35 "id": "string"
36 },
37 "account": {
38 "href": "/services/data/vXX.X/sobjects/sObject/...",
39 "id": "string"
40 }
41 }
42 }
43 ]
44}| Property Name | Type | Description | Filter Group and Version | Available Version |
|---|---|---|---|---|
| details | Create Commitment Response Details[] | Contains the response to the create commitment request. | Small, 60.0 | 60.0 |
| failures | Integer | Number of commitments that failed to be created. | Small, 60.0 | 60.0 |
| notProcessed | Integer | Number of commitments that weren't processed. | Small, 60.0 | 60.0 |
| successes | Integer | Number of successful commitments that were created. | Small, 60.0 | 60.0 |