Retrieves all of the triggers for the specified account associated with the PromoAlert category
thingspace_oauth VZ-M2M-Token In: header
M2M Session Token (How to generate an M2M session token?)
In: header
application/json
application/json
curl -X GET "https://example.com/m2m/v2/triggers/categories/PromoAlerts"{ "triggers": [ { "triggerId": "2874DEC7-26CF-4797-9C6A-B5A2AC72D526", "triggerName": "PromoAlerts_0000000000-00001_23456789", "accountName": "0000123456-000001", "organizationName": "Optional group name", "triggerCategory": "PromoAlerts", "promoAlerts": [ { "filterCriteria": [ { "servicePlan": "123456" } ], "condition": [ { "dataPercentage50": false, "dataPercentage75": false, "dataPercentage90": false, "dataPercentage100": false, "smsPercentage50": false, "smsPercentage75": false, "smsPercentage90": false, "smsPercentage100": true, "NoOfDaysB4PromoExp": 5 } ], "enablePromoExp": true } ], "active": true, "createdAt": "2021-10-21T23:57:003.397Z", "modifiedAt": "2021-10-21T23:57:003.397Z" } ]}{ "errorCode": "The 3-digit HTML error code", "errorMessage": "More details about the error"}