Newer Version Available

This content describes an older version of this product. View Latest

Event Log (POST)

Log compliance check events for control. This API supports a maximum number of 25 logs per request. You can make up to 200,000 audit log API calls per year.
Resource
1/connect/compliance/log/logevent
Resource Example
1https://yourInstance.salesforce.com/services/data/v65.0/connect/compliance/log/logevent
Available version
64.0
HTTP methods
POST
Request body for POST
JSON example
1{
2  "controllogs": [
3    {
4      "controlVersionApiName": "LicenseCheckControl_V1",
5      "isCompliant": true,
6      "inContextOf": "001xx0000ABCDE",
7      "status": "SUCCESS",
8      "evaluationTime": "2022-10-31T09:00:00.594Z",
9      "businessContextAndEvidence": {
10        "clientId": "001Z9000002G3ygIAC",
11        "advisorId": "005xx0000000000001",
12        "productId": "00Pxx0000000000001",
13        "acceptableRisk": "true",
14        "productRisk": "85"
15      },
16      "complianceMessage": "Agent has an active license.",
17      "transactionKey": "txn1234567890abcde",
18      "errorId": "123",
19      "errorMessage": "",
20      "businessOperationsProcessApiName": "0022..."
21    }
22  ]
23}
Properties
Name Type Description Required or Optional Available Version
controllogs Compliance​Control Log Value[] Control evaluation logs. Required 64.0
Response body for POST
Compliance Logging Response