Anomaly Triggers
Create trigger based on the category.
This corresponds to the M2M-MC SOAP interface, CreateTrigger.
Authorization
thingspace_oauth VZ-M2M-Token AuthorizationBearer <token>
This is the ThingSpace token, from Credentials and Tokens is used
In: header
VZ-M2M-Token<token>
M2M Session Token (How to generate an M2M session token?)
In: header
Request Body
application/json
Create Trigger Request
Create Trigger Request
accountName?string
Match
^[A-Za-z0-9]{3,32}$Length
3 <= length <= 32anomalyTriggerRequest?
The details of the UsageAnomaly trigger.
dataTriggerRequest?
groupName?string
Match
^[A-Za-z0-9]{3,32}$Length
3 <= length <= 32name?string
Match
^[A-Za-z0-9]{3,32}$Length
3 <= length <= 32sessionTriggerRequest?
smsTriggerRequest?
triggerCategory?string
Match
^[A-Za-z0-9]{3,32}$Length
3 <= length <= 32triggerCycle?string
Match
^[A-Za-z0-9]{3,32}$Length
3 <= length <= 32Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/m2m/v1/triggers" \ -H "Content-Type: application/json" \ -d '{}'{ "triggerId": "595f5c44-c31c-4552-8670-020a1545a84d"}
