Diagnostics Observations
Start and Change (observe diagnostics)
This endpoint allows the user to start or change observe diagnostics.
Authorization
thingspace_oauth VZ-M2M-Token AuthorizationBearer <token>
This is the ThingSpace token, from Credentials and Tokens is used
In: header
VZ-M2M-Token<token>
M2M Session Token (How to generate an M2M session token?)
In: header
Request Body
*/*
Request for device observation information.
Request for device observation information.
accountName*string
Account identifier in "##########-#####".
devices*array<>
List of devices.
attributes*array<>
Attributes are streaming RF parameters that you want to observe.
frequency?
Describes value and unit of time.
duration?
Describes value and unit of time.
Response Body
application/json
application/json
curl -X POST "https://example.com/diagnostics/v1/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"}
