Cyan Web API - Version 1


GET api/devices?{manufacturerDeviceId}

            Gets a device by the ManufacturerDeviceId.  This is an identifier which originates on the device -
            it might be a serial number, hardware identifier, MAC address, or some other type of identifier which
            is intended to uniquely identify the device.
            This field is not guaranteed to be globally unique across all devices, so this method will just return the first matching
            device resource within the request Tenant.  If the client is unable to determine a unique identifier for itself, it
            should attempt to assign itself a unique identifier using a UUID/GUID, or a combination of potentially unique fields.
            

Request Information

Parameters

NameDescriptionAdditional information
manufacturerDeviceId

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "deviceId": "b5134162-5427-4b5b-ab2e-d79b6f3695a3",
  "tenantId": "f3301ba2-263b-4ae9-9df3-81782ac5a088",
  "deviceGroupId": "8f6af7b9-dabc-461b-8e92-8d81f810c65f",
  "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-29T08:37:49.9418191+00:00",
  "imei": "sample string 12",
  "macAddress": "sample string 13",
  "serialNumber": "sample string 14",
  "bluetoothName": "sample string 15",
  "createdDateUtc": "2024-08-29T08:37:49.9418191+00:00",
  "updatedDateUtc": "2024-08-29T08:37:49.9418191+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-29T08:37:49.9418191+00:00</CreatedDateUtc>
  <UpdatedDateUtc>2024-08-29T08:37:49.9418191+00:00</UpdatedDateUtc>
  <BluetoothName>sample string 15</BluetoothName>
  <ConnectedDateUtc>2024-08-29T08:37:49.9418191+00:00</ConnectedDateUtc>
  <Description>sample string 5</Description>
  <DeviceGroupId>8f6af7b9-dabc-461b-8e92-8d81f810c65f</DeviceGroupId>
  <DeviceId>b5134162-5427-4b5b-ab2e-d79b6f3695a3</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>f3301ba2-263b-4ae9-9df3-81782ac5a088</TenantId>
  <VersionInfo>sample string 9</VersionInfo>
</DeviceRepresentation>