This endpoint allows the user to start or change observe diagnostics.
thingspace_oauth VZ-M2M-Token In: header
M2M Session Token (How to generate an M2M session token?)
In: header
*/*
Request for device observation information.
TypeScript Definitions
Use the request body type in TypeScript.
Used to define callbacks including the device identity, the attribute names, corresponding attribute values and the date/timestamp of when the observation was made.
application/json
application/json
curl -X POST "https://example.com/devices/attributes/actions/observe" \ -H "Content-Type: */*" \ -d '<accountName>TestQAAccount</accountName> <devices> <id>864508030026238</id> <kind>IMEI</kind> </devices> <attributes> <name>RADIO_SIGNAL_STRENGTH</name> </attributes> <attributes> <name>LINK_QUALITY</name> </attributes> <attributes> <name>NETWORK_BEARER</name> </attributes> <attributes> <name>CELL_ID</name> </attributes> <frequency> <value>15</value> <unit>SECOND</unit> </frequency> <duration> <value>15</value> <unit>SECOND</unit> </duration>'{ "createdOn": "2019-09-10T19:05:33.33Z", "transactionID": "9c7bb124-11f5-4ff3-8a88-0eec1ba99205", "status": "CANCEL_OBSERVE_PENDING"}{ "errorCode": "The type of error, such as INVALID_REQUEST.", "errorMessage": "Additional error information."}Account identifier in "##########-#####".
List of devices.
Attributes are streaming RF parameters that you want to observe.
Describes value and unit of time.
Describes value and unit of time.