cURL
curl --request GET \ --url https://api.example.com/policies/{policyId}/events
{ "data": [ { "aggregateId": "<string>", "aggregateType": "PAYMENT_METHOD", "version": 123, "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z", "type": "<string>", "data": {}, "metadata": { "rootId": "<string>", "branchId": "<string>", "tenantId": "<string>", "createdAt": "<string>", "productId": "<string>", "userId": "<string>", "isSimulated": true, "isCustomEvent": true, "appliedAt": "<string>", "migrated": true, "migrationId": "<string>" } } ], "total": 123, "offset": 123, "limit": 123 }
the policy id
Optional: the whenAt datetime
Optional: the simulatedAt datetime
Optional: the branchId
Array of policy events
Show child attributes
Total number of policies
Offset used for pagination
Page size used for pagination
Was this page helpful?