Events FAQ

Can we forward messages sent to the IoT-PF as notification messages for whenselecting call API as the event action? If so, what kind of notification message issent to external addresses?
You can forward data registered to the IoT-PF by leaving the Body blank when configuring events. In this case the following message will be forwarded.
(Characters in bold are added by the IoT-PF.)
{
"event_id":"<Random value assigned by the IoT-PF>", 
"operation":"create",
"date":"<Date and time data is registered to the IoT-PF>",
"resouce_path": "<Event target resource path>",
“Body”: <Resource data registered by the customer>
}
This information is also listed in the “Service Portal Operating Manual”. Check there for more details.

It is listed that the data position is to be specified in JSONPath format when setting event decision conditions.
When using the following data configuration, shall we specify the data position like with “/polite” when specifying “polite”.
{
  "greeting": ["hello", "world"], 
  "polite": true, 
  "position": {"x":20, "y":10}
}

The data position can be set as you would with $polite. (You can also just use polite)
Refer to http://goessner.net/articles/JsonPath/ for further information.
When data values are specified in an object array structure like that below(objects within the array are variable), how should we specify the “data position”when the key is “A”? Please provide further details.

When conditions within an array cannot be specified, is data specified by the“data position”, and are array values determined by partial match searches?

{"data":[{A:1,B:2,C:3},{A:2,B:3,C:4},{A:3,B:4,C:5}]}
You can skip events with the underlined part below by specifying data[0].A.
{"data":[{A:1,B:2,C:3},{A:2,B:3,C:4},{A:3,B:4,C:5}]}