Uses the decive's Integrated Circuit Card Identification Number (ICCID) to retrive and display the device's properties.
This is where the ThingSpace token, from Getting Started is used
In: header
application/json
Device Profile Query
TypeScript Definitions
Use the request body type in TypeScript.
application/json
application/json
curl -X POST "https://example.com/actions/list" \ -H "Content-Type: application/json" \ -d '{ "deviceId": { "id": "20-digit ICCID", "kind": "iccid" } }'{ "hasMoreData": false, "devices": [ { "accountName": "0000123456-00001", "billingCycleEndDate": "2024-09-30T00:00:00.000Z", "carrierInformation": { "carrierInformation": [ { "carrierName": "Verizon Wireless", "state": "deactive" } ] }, "connected": false, "createdAt": "2024-09-27T18:23:41.000Z", "customFields": [ { "key": "customField1", "value": "CF271" }, { "key": "customField2", "value": "CF272" }, { "key": "customField3", "value": "CF273" }, { "key": "customField4", "value": "CF274" }, { "key": "customField5", "value": "CF275" } ], "deviceIds": [ { "id": "15-digit IMSI", "kind": "imsi" }, { "id": "15-digit IMEI", "kind": "imei" }, { "id": "20-digit ICCID", "kind": "iccid" } ], "extendedAttributes": [ { "key": "PrimaryPlaceOfUseTitle" }, { "key": "PrimaryPlaceOfUseFirstName", "value": "string" }, { "key": "PrimaryPlaceOfUseMiddleName" }, { "key": "PrimaryPlaceOfUseLastName", "value": "string" }, { "key": "PrimaryPlaceOfUseSuffix" } ], "groupNames": [ { "Default": "0000123456-00001" } ], "ipAddress": "10.0.0.0", "lastActivationBy": "User Name", "lastActivationDate": "2024-09-27T21:36:18.000Z" } ]}{ "errorCode": "The 3-digit HTML error code", "errorMessage": "a description of the error"}