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.

Hold Violation Result

Output representation of the response details to retrieve hold violation information.
JSON example
1{
2  "contactId": "string",
3  "violations": [
4    {
5      "caseId": "string",
6      "description": "string",
7      "regulatoryCodeViolationId": "string",
8      "regulatoryCodeId": "string",
9      "regulatoryCodeName": "string",
10      "dateCreated": "2025-07-24T18:35:18.820Z",
11      "complianceDueDate": "2025-07-24T18:35:18.820Z",
12      "dateResolved": "2025-07-24T18:35:18.820Z",
13      "daysOpen": 0,
14      "reasons": [
15        {
16          "name": "RegulationClauseName",
17          "id": "0x6frr566",
18          "isRuleDriven": false
19        }
20      ],
21      "restrictions": [
22        {
23          "name": "Enrollment",
24          "id": "0x7fsss66",
25          "isRuleDriven": true,
26          "isExecuted": true
27        },
28        {
29          "name": "FeePayment",
30          "id": "0x7fsss67",
31          "isRuleDriven": false,
32          "isExecuted": false
33        }
34      ],
35      "resolution": {
36        "id": "string",
37        "name": "string",
38        "numberOfTasks": 0,
39        "numberOfOverdueTasks": 0,
40        "status": "string",
41        "startDate": "2025-07-24T18:35:18.820Z",
42        "endDate": "2025-07-24T18:35:18.820Z",
43        "allowOverride": true,
44        "tasks": [
45          {
46            "id": "string",
47            "taskParentName": "string",
48            "relatedTo": "string",
49            "subject": "string",
50            "status": "string",
51            "priority": "string",
52            "dueDate": "2025-07-24T18:35:18.820Z",
53            "createdDate": "2025-07-24T18:35:18.820Z",
54            "description": "string",
55            "completedDateTime": "2025-07-24T18:35:18.820Z"
56          }
57        ]
58      }
59    }
60  ]
61}
Property Name Type Description Filter Group and Version Available Version
contactId String Unique ID of the contact associated with the hold violation. Big, 64.0 64.0
violations Hold Violation Result[] List of violations associated with the case and contact. Big, 64.0 64.0