Updates a usage trigger at the account level, device level or a price plan trigger for all devices on the account
This is where the ThingSpace access token, from Credentials and Tokens is used
In: header
application/json
Update a trigger
TypeScript Definitions
Use the request body type in TypeScript.
application/json
application/json
curl -X PUT "https://example.com/v2/triggers" \ -H "Content-Type: application/json" \ -d '{ "triggerId": "b9cc1da6-ffff-eeee-gggg-7eba8859ab5e", "triggerName": "name of the trigger", "ecpdId": "Verizon profile ID", "triggerCategory": "AccountUsage", "dataTrigger": { "accountLevel": { "filterCriteria": { "separateOrCombined": "Separate", "accountNames": { "accountNameList": [ "0000123456-00001" ] } }, "condition": { "comparator": "gt", "threshold": 100, "thresholdUnit": "KB", "cycleType": "Daily" }, "action": { "suspend": true, "suspendDetails": { "suspendFromAccounts": [ "0000123456-00001" ], "suspendDuration": "90", "suspendOption": "withBilling", "threshold": 50, "thresholdUnit": "KB" } } } }, "notification": { "notificationType": "PerEvent", "callback": true, "emailNotification": false, "notificationGroupName": "NotificationGroupName", "notificationFrequencyFactor": 3, "notificationFrequencyInterval": "Daily", "externalEmailRecipients": "ExternalEmailRecipients", "smsNotification": true, "smsNumbers": [ { "number": "10-digit mobile number", "carrier": "mobile service provider" }, { "number": "10-digit mobile number", "carrier": "mobile service provider" } ], "reminder": true, "severity": "Notice" }, "active": "true" }'{ "triggerId": "be1b5958-ffff-eeee-gggg-b1b7618c0035"}{ "errorCode": "The 3-digit HTML error code", "errorMessage": "string"}The system assigned UUID of the trigger
The user defined name of the trigger
The Enterprise Customer Profile Database ID
The type of trigger being created or modified
Value in
A flag to indicate of the trigger is active, true, or not, false
Value in