List Applications events
Changed on[!note] Management API endpoints are not meant to be used in real-time integrations that directly serve your end users. Rate limit: 3 requests per second.
Lists all events recorded for an application. Instead of having the total number of results in the response, this endpoint only mentions whether there are more results.
Request
- Base URLhttps://yourbaseurl.talon.one
- Auth
- API key in header Authorization
- or API key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
The ID of the Application. It is displayed in your Talon.One deployment URL.
Query parameters
The number of items in the response.
The number of items to skip when paging through large result sets.
The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with -.
Note: You may not be able to use all fields for sorting. This is due to performance limitations.
Comma-separated list of types by which to filter events. Must be exact match(es).
Only return events created before this date. You can use any time zone setting. Talon.One will convert to UTC internally.
Only return events created after this date. You can use any time zone setting. Talon.One will convert to UTC internally.
Session integration ID filter for events. Must be exact match.
Profile integration ID filter for events. Must be exact match.
Customer name filter for events. Will match substrings case-insensitively.
Customer e-mail address filter for events. Will match substrings case-insensitively.
Coupon code
Referral code
Rule name filter for events
Campaign name filter for events
The type of effect that was triggered. See API effects.
Response
OK
Example response
{
"data": [
{
"id": 6,
"created": "2020-06-10T09:05:27.993483Z",
"applicationId": 322,
"profileId": 138,
"storeIntegrationId": "STORE-001",
"integrationId": "175KJPS947296",
"effects": [
{
"experimentId": 12,
"campaignId": 244,
"rulesetId": 73,
"ruleIndex": 2,
"ruleName": "Give 20% discount",
"effectType": "rejectCoupon",
"triggeredByCoupon": 4928,
"triggeredForCatalogItem": 786,
"conditionIndex": 786,
"evaluationGroupID": 3,
"evaluationGroupMode": "stackable",
"campaignRevisionId": 1,
"campaignRevisionVersionId": 5,
"selectedPriceType": "member",
"selectedPrice": 100,
"adjustmentReferenceId": "68851723-e6fa-488f-ace9-112581e6c19b",
"rewardId": 7,
"rewardIntegrationId": "reward-unlock-123",
"props": {
"value": "COUP-XYZ789"
}
}
],
"ruleFailureReasons": [
{
"couponID": 4928,
"rewardId": 7,
"rewardIntegrationId": "5c0b5e6d-3f8a-4c2b-9f1e-2a7d6b4c8e90",
"evaluationGroupID": 3,
"evaluationGroupMode": "stackable"
}
]
}
]
}Changes
- breaking
added to the
////response propertyoneOflist for the response status - breaking
the
////response's property type changed from no type toobjectfor status - info
added the optional property
/////to the response with the status - info
added the optional property
/////to the response with the status - info
removed
subschema #2from the////response propertyallOflist for the response status - info
added discriminator to
////response property for the response status
- breaking