Event
Creates an event.
Request body: JSON object. Supports either deviceSerial or deviceID, either agent and event names or their numeric IDs, and optional fields such as serverEvent, eventParameters, priority, maxAttempts, and expirationEpoch.
post/v1/event
Request
- Base URL: https://api.actionstreamer.com (the document declares no server; this is the origin it was published from)
- URL: https://api.actionstreamer.com/v1/event
- Auth: none declared
Request body
Example request
{
"deviceID": 201,
"deviceSerial": "10001234",
"agentType": "Device",
"eventType": "Run",
"agentTypeID": 1,
"eventTypeID": 1,
"serverEvent": 1,
"eventParameters": "{\"presetName\":\"Run Event Preset\"}",
"priority": 1,
"maxAttempts": 3,
"expirationEpoch": 1711800000
}Response
Success
Example response
{
"code": 1,
"description": "Example description"
}Changes
No recorded changes to this operation across all 1 revision of this API.