Cyan Web API - Version 1


GET api/devices/{deviceId}

            Gets a single device resource within a tenant.
            

Request Information

Parameters

NameDescriptionAdditional information
deviceId
The deviceId to locate.

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "deviceId": "dd675236-9f91-4e64-b35a-93d08acd0840",
  "tenantId": "2c49e232-96d8-490e-a2c7-1c4489cd662a",
  "deviceGroupId": "49cff693-7813-45af-a349-daf38a973bc8",
  "name": "sample string 4",
  "description": "sample string 5",
  "manufacturerDeviceId": "sample string 6",
  "manufacturer": "sample string 7",
  "model": "sample string 8",
  "versionInfo": "sample string 9",
  "phoneNumber": "sample string 10",
  "isBlocked": true,
  "connectedDateUtc": "2024-08-31T05:40:40.9733988+00:00",
  "imei": "sample string 12",
  "macAddress": "sample string 13",
  "serialNumber": "sample string 14",
  "bluetoothName": "sample string 15",
  "createdDateUtc": "2024-08-31T05:40:40.9733988+00:00",
  "updatedDateUtc": "2024-08-31T05:40:40.9733988+00:00"
}

application/xml, text/xml

Sample:
<DeviceRepresentation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BlueDot.Cyan.Server.Core.Models.Rest.Version1">
  <CreatedDateUtc>2024-08-31T05:40:40.9733988+00:00</CreatedDateUtc>
  <UpdatedDateUtc>2024-08-31T05:40:40.9733988+00:00</UpdatedDateUtc>
  <BluetoothName>sample string 15</BluetoothName>
  <ConnectedDateUtc>2024-08-31T05:40:40.9733988+00:00</ConnectedDateUtc>
  <Description>sample string 5</Description>
  <DeviceGroupId>49cff693-7813-45af-a349-daf38a973bc8</DeviceGroupId>
  <DeviceId>dd675236-9f91-4e64-b35a-93d08acd0840</DeviceId>
  <Imei>sample string 12</Imei>
  <IsBlocked>true</IsBlocked>
  <MacAddress>sample string 13</MacAddress>
  <Manufacturer>sample string 7</Manufacturer>
  <ManufacturerDeviceId>sample string 6</ManufacturerDeviceId>
  <Model>sample string 8</Model>
  <Name>sample string 4</Name>
  <PhoneNumber>sample string 10</PhoneNumber>
  <SerialNumber>sample string 14</SerialNumber>
  <TenantId>2c49e232-96d8-490e-a2c7-1c4489cd662a</TenantId>
  <VersionInfo>sample string 9</VersionInfo>
</DeviceRepresentation>