Client Logging
Turn logging on for the list of devices
Each customer may have a maximum of 20 devices enabled for logging.
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
Path Parameters
account*string
Account identifier.
Request Body
*/*
Device logging information.
Device logging information.
deviceIds*array<string>
List of device IMEI identifiers.
Response Body
application/json
application/json
curl -X PUT "https://example.com/fota/v2/logging/0000123456-00001/devices" \ -H "Content-Type: */*" \ -d '<deviceIds>990013907835573</deviceIds> <deviceIds>991124018926684</deviceIds> <deviceIds>992234129057795</deviceIds> <deviceIds>998891785613351</deviceIds> <deviceIds>990013907835573</deviceIds>'[ { "deviceId": "990013907835573", "expiryDate": "2020-10-19" }, { "deviceId": "991124018926684", "expiryDate": "2020-10-19" }, { "deviceId": "992234129057795", "expiryDate": "2020-10-23" }, { "deviceId": "998891785613351", "expiryDate": "2020-10-23" }, { "deviceId": "990013907835573", "expiryDate": "2020-10-23" }]
