returns the date and time of alerts, the type of alert, threshold value and other details to allow analysis of the alert
Elevate Tripwire API (1.2)
Currently provides read-only access to Tripwire-related entities like alerts and notifications to allow API users to automate processes linked to Tripwire usage monitoring and alerting
- Tripwire alert - returns the date and time of alerts, the type of the alerts, and any additional details that may be useful in assessing the severity of the alerts
- Tripwire notification - returns the activity that was performed when an alert was triggered, whether that's sending an email, SMS, or custom action Tripwire plan - a named tripwire plan of tripwire rules used to identify alerts and notifications
Results to return per page
Comma-delimited list of the fields to sort by - defaults to ascending order, suffix :desc to change
Comma-delimited list of the field(s) to return if only a subset is required
Filter by the notification created date and time
Filter by the date and time an event started
Filter by a single date and time an event ended
Filter notifications by the product reference of the associated usage product inventory
Filter notifications by usage product inventory id
Filter notifications by customer identifier
- https://rest.elevatebilling.com/v1/tripwire-notifications
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://rest.elevatebilling.com/v1/tripwire-notifications?page=1&pageSize=100&sort=id%2Cname+%7C+name%3Adesc&fields=id%2Cname&created=gt%3A2022-01-01T00%3A00%3A00Z&eventStartDate=gt%3A2022-01-01T00%3A00%3A00Z&eventEndDate=lt%3A2022-01-01T00%3A00%3A00Z&action=EMAIL_CUSTOMER_CONTACTS&productReference=xyz+%7C+in%3Ax%2Cy+%7C+like%3Axyz&usageProductInventoryId=xyz+%7C+in%3Ax%2Cy+%7C+like%3Axyz&customerId=xyz+%7C+in%3Ax%2Cy+%7C+like%3Axyz&siteId=xyz+%7C+in%3Ax%2Cy+%7C+like%3Axyz' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'OK
Tripwire notification activity to be performed when a Tripwire alert is triggered, i.e. send an email to the client/affected customer, suspend the number, or other custom actions (available by contacting the Elevate support team)
[ { "id": 1, "created": "2022-01-01T00:00:00Z", "whenActionApplied": "2022-01-01T00:00:00Z", "planId": 0, "planRuleName": "Daily calls exceeding £10.00", "eventStartDate": "2022-01-01T00:00:00Z", "eventEndDate": "2022-01-01T00:00:00Z", "action": "EMAIL_BILLING_CLIENT", "totalPrice": 10, "totalCallCount": 15, "usageProductInventoryId": 10, "productReference": "string", "customerId": 1234, "siteId": 1234 } ]