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 Response Details

Output representation of the create commitment result with success status code, error, if any, and associated object links.

Sample Response

1{
2  "details": [
3    {
4      "success": true,
5      "errors": [
6        {
7          "field": "string",
8          "message": "string"
9        }
10      ],
11      "links": {
12        "giftcommitment": {
13          "href": "/services/data/vXX.X/sobjects/sObject/...",
14          "id": "string"
15        },
16        "giftcommitmentschedule": {
17          "href": "/services/data/vXX.X/sobjects/sObject/...",
18          "id": "string"
19        },
20        "giftdefaultdesignation": [
21          {
22            "href": "/services/data/vXX.X/sobjects/sObject/...",
23            "id": "string"
24          }
25        ],
26        "gifttransaction": {
27          "href": "/services/data/vXX.X/sobjects/sObject/...",
28          "id": "string"
29        },
30        "paymentinstrument": {
31          "href": "/services/data/vXX.X/sobjects/sObject/...",
32          "id": "string"
33        },
34        "account": {
35          "href": "/services/data/vXX.X/sobjects/sObject/...",
36          "id": "string"
37        }
38      }
39    }
40  ]
41}
Property Name Type Description Filter Group and Version Available Version
errors Error Details[] Details of the error if the request failed to process. Small, 60.0 60.0
links Create Commitment Response Link Links to the response object. Small, 60.0 60.0
success Boolean Indicates whether the request was processed successfully (true) or not (false). Small, 60.0 60.0