Cyan Web API - Version 1


GET api/devices

            Gets devices within a tenant.
            

Response Information

Response body formats

application/json, text/json

Sample:
[
  {
    "deviceId": "4739134a-ce76-4c95-9f06-cdb28bfff981",
    "tenantId": "e6322593-4333-447f-ad0c-2f3a637a5ecb",
    "deviceGroupId": "0a475815-93a3-4146-8b3f-85afe1185b12",
    "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": "2025-07-17T09:05:13.8277225+00:00",
    "imei": "sample string 12",
    "macAddress": "sample string 13",
    "serialNumber": "sample string 14",
    "bluetoothName": "sample string 15",
    "createdDateUtc": "2025-07-17T09:05:13.8277225+00:00",
    "updatedDateUtc": "2025-07-17T09:05:13.8277225+00:00"
  },
  {
    "deviceId": "4739134a-ce76-4c95-9f06-cdb28bfff981",
    "tenantId": "e6322593-4333-447f-ad0c-2f3a637a5ecb",
    "deviceGroupId": "0a475815-93a3-4146-8b3f-85afe1185b12",
    "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": "2025-07-17T09:05:13.8277225+00:00",
    "imei": "sample string 12",
    "macAddress": "sample string 13",
    "serialNumber": "sample string 14",
    "bluetoothName": "sample string 15",
    "createdDateUtc": "2025-07-17T09:05:13.8277225+00:00",
    "updatedDateUtc": "2025-07-17T09:05:13.8277225+00:00"
  },
  {
    "deviceId": "4739134a-ce76-4c95-9f06-cdb28bfff981",
    "tenantId": "e6322593-4333-447f-ad0c-2f3a637a5ecb",
    "deviceGroupId": "0a475815-93a3-4146-8b3f-85afe1185b12",
    "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": "2025-07-17T09:05:13.8277225+00:00",
    "imei": "sample string 12",
    "macAddress": "sample string 13",
    "serialNumber": "sample string 14",
    "bluetoothName": "sample string 15",
    "createdDateUtc": "2025-07-17T09:05:13.8277225+00:00",
    "updatedDateUtc": "2025-07-17T09:05:13.8277225+00:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfDeviceRepresentation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BlueDot.Cyan.Server.Core.Models.Rest.Version1">
  <DeviceRepresentation>
    <CreatedDateUtc>2025-07-17T09:05:13.8277225+00:00</CreatedDateUtc>
    <UpdatedDateUtc>2025-07-17T09:05:13.8277225+00:00</UpdatedDateUtc>
    <BluetoothName>sample string 15</BluetoothName>
    <ConnectedDateUtc>2025-07-17T09:05:13.8277225+00:00</ConnectedDateUtc>
    <Description>sample string 5</Description>
    <DeviceGroupId>0a475815-93a3-4146-8b3f-85afe1185b12</DeviceGroupId>
    <DeviceId>4739134a-ce76-4c95-9f06-cdb28bfff981</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>e6322593-4333-447f-ad0c-2f3a637a5ecb</TenantId>
    <VersionInfo>sample string 9</VersionInfo>
  </DeviceRepresentation>
  <DeviceRepresentation>
    <CreatedDateUtc>2025-07-17T09:05:13.8277225+00:00</CreatedDateUtc>
    <UpdatedDateUtc>2025-07-17T09:05:13.8277225+00:00</UpdatedDateUtc>
    <BluetoothName>sample string 15</BluetoothName>
    <ConnectedDateUtc>2025-07-17T09:05:13.8277225+00:00</ConnectedDateUtc>
    <Description>sample string 5</Description>
    <DeviceGroupId>0a475815-93a3-4146-8b3f-85afe1185b12</DeviceGroupId>
    <DeviceId>4739134a-ce76-4c95-9f06-cdb28bfff981</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>e6322593-4333-447f-ad0c-2f3a637a5ecb</TenantId>
    <VersionInfo>sample string 9</VersionInfo>
  </DeviceRepresentation>
  <DeviceRepresentation>
    <CreatedDateUtc>2025-07-17T09:05:13.8277225+00:00</CreatedDateUtc>
    <UpdatedDateUtc>2025-07-17T09:05:13.8277225+00:00</UpdatedDateUtc>
    <BluetoothName>sample string 15</BluetoothName>
    <ConnectedDateUtc>2025-07-17T09:05:13.8277225+00:00</ConnectedDateUtc>
    <Description>sample string 5</Description>
    <DeviceGroupId>0a475815-93a3-4146-8b3f-85afe1185b12</DeviceGroupId>
    <DeviceId>4739134a-ce76-4c95-9f06-cdb28bfff981</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>e6322593-4333-447f-ad0c-2f3a637a5ecb</TenantId>
    <VersionInfo>sample string 9</VersionInfo>
  </DeviceRepresentation>
</ArrayOfDeviceRepresentation>