Get Thing Events Logs
This guide will show you how you can see Thing Event logs via API.
View Events Logs
POST https://console.monogoto.io/thing/searchCDR
Headers
YOUR_TOKEN*
String
Your authentication token
CUSTOMER_ID
String
Customer API key
Request Body
ICCID*
String
The ICCID of your SIM
EVENT_SEVERITY
String
GREATER_OR_EQUAL_TIMESTAMP
String
LESS_TIMESTAMP
String
EVENT_DATA_TYPE
String
EVENT_MESSAGE_TYPE
String
RESULTS_LIMIT
String
{
// Response
}Example using cURL:
Please note that the above shown command needs to be replaced with information:
{TOKEN_HERE} - replace with your token
{CUSTOMER_ID} - replace with your customer ID. You may obtain Customer ID during the authentication
{ICCID} - replace with the ICCID of your SIM
{EVENT_SEVERITY} - replace with the severity of the Event you wish to be displayed
{GREATER_OR_EQUAL_TIMESTAMP} - replace with the timestamp of date/time to show greater or equal date/time Events. Please enter date/time in epoch format with milliseconds. You may use a converter that can be found following this link
{LESS_TIMESTAMP} - replace with the timestamp of date/time to show less than entered date/time Events. Please enter date/time in epoch format with milliseconds. You may use a converter that can be found following this link
{EVENT_DATA_TYPE} - replace with the Event message type to be displayed. You may find data types list following this link
{EVENT_MESSAGE_TYPE} - replace with the Event message type to be displayed
{RESULTS_LIMIT} - replace with how many results you want to be displayed. Default when not using this line is 10 results
Example of request that will show last 50 Events for our Thing:
Expected result will show 50 last Events for our Thing:
Example request that will show only Event CDR results for our Thing:
Expected result will show only CDR Events for our Thing:
Example request that will show only our entered SIM open data sessions Events:
Expected result:
Example request that will show only our entered SIM closed data sessions Events:
Expected result:
Error while loading OpenAPI operation — Failed to convert Swagger 2.0 to OpenAPI 3.1.1
Last updated
Was this helpful?