Get Device
Request
URI
GET
https://{api_host}/api/devices/{id}
COPY
Responses
200
Returns
devicemgmtDevice
of type(s)
*/*
{
"name": "string",
"whitelistStatus": "string",
"templateName": "string",
"systemProperties": [
{
"name": "string",
"value": "string"
}
],
"templateId": "string",
"updateVersion": "string",
"createdTime": "string",
"deviceType": "string",
"customProperties": [
{
"name": "string",
"value": "string"
}
],
"parentId": "string",
"enrollmentState": "string",
"orgId": "string",
"id": "string",
"parentGatewayId": "string",
"lastUpdatedTime": "string"
}
string
name
Optional
name
string
whitelistStatus
Optional
whitelistStatus
string
templateName
Optional
templateName
array of
object
systemProperties
Optional
systemProperties
string
templateId
Optional
templateId
string As int64
As int64
updateVersion
Optional
updateVersion
string As int64
As int64
createdTime
Optional
createdTime
string
deviceType
Optional
Constraints:
default: UNKNOWN_TYPE
deviceType
Possible values are :
UNKNOWN_TYPE,
GATEWAY,
THING,
array of
object
customProperties
Optional
customProperties
string
parentId
Optional
parentId
string
enrollmentState
Optional
Constraints:
default: UNKNOWN_STATE
enrollmentState
Possible values are :
UNKNOWN_STATE,
REGISTERED,
ENROLLED,
UNENROLLED,
DELETED,
string
orgId
Optional
orgId
string
id
Optional
id
string
parentGatewayId
Optional
parentGatewayId
string As int64
As int64
lastUpdatedTime
Optional
lastUpdatedTime
404
Not Found
Operation doesn't return any data structure
Code Samples
COPY
curl -H 'Authorization: <value>' https://{api_host}/api/devices/{id}