Event Get Operator Events

Event Get Operator Events

Gets operator events by network ID (optional). If not specified, will be taken for the caller's security context. Optionally, use a filter object to limit the number of events returned. Additionally, specify a time interval with an interval object. If no end date is specified, then the default is the current date. Specify a gatewayId to filter events for the specified gateway.

Privileges required:

READ OPERATOR_EVENT

Request
URI
POST
https://{api_host}/portal/rest/event/getOperatorEvents
COPY
Request Body
{
    "networkId": 0,
    "interval": {
        "end": "string",
        "start": "string"
    },
    "filter": {
        "limit": 0,
        "rules": [
            {
                "field": "string",
                "op": "string",
                "values": [
                    "string"
                ]
            }
        ]
    },
    "gatewayId": [
        0
    ]
}
integer
networkId
Optional

networkId

interval
Optional

interval

object
filter
Optional

filter

array of integer
gatewayId
Optional

gatewayId

Responses
200

Request was successfully processed

Returns event_get_operator_events_result of type(s) application/json
"event_get_operator_events_result Object"
array of data
data
Required

data

object
metaData
Required

metaData


400
Returns generic_400 of type(s) application/json
Operation doesn't return any data structure

500
Returns generic_500 of type(s) application/json
Operation doesn't return any data structure

Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/portal/rest/event/getOperatorEvents