includeThingProperties

The "includeThingProperties" property causes the response to include a "things" list that contains all the devices and software related to the request. Each string is the name of a device property. Each item in the list is an object that contains the specified properties.

If the "includeThingProperties" array is empty [], each object in the list contains the unique name of the device, which you can use to look up additional information.

If the "includeThingProperties" array is omitted or null, the "things" list is not included in the response.

This property is an array of strings that include  "id", "thingName", "status", "manufacturer", "model", "serialNumber", "type", "purpose", "description", "location", "labels", "hostnames", "metadata", and/or "photo".


Request example 1

   "includeThingProperties": [],

Response example

   "things": [
     {
       "thingName": "plc 3"
     }
   ],

Request example 2 

   "includeThingProperties": [ "id", "thingName", "purpose", "location" ],

Response example 2

   "things": [
     {
       "id": 1,
       "thingName": "plc 3",
       "purpose": "Stamper temperature",
       "location": "factory1/line1/station1"
     }
   ],