Cyan Web API - Version 1


GET api/devices

            Gets devices within a tenant.
            

Response Information

Response body formats

application/json, text/json

Sample:
[
  {
    "deviceId": "c88a81a5-1985-4e87-a1d5-0e38c339a383",
    "tenantId": "d0f8a266-e0b3-42e9-aa78-3c00231437eb",
    "deviceGroupId": "ced8b33e-52b8-4b96-b305-583d809e6a48",
    "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": "2026-09-03T01:50:16.4914279+00:00",
    "imei": "sample string 12",
    "macAddress": "sample string 13",
    "serialNumber": "sample string 14",
    "bluetoothName": "sample string 15",
    "createdDateUtc": "2026-09-03T01:50:16.4914279+00:00",
    "updatedDateUtc": "2026-09-03T01:50:16.4914279+00:00"
  },
  {
    "deviceId": "c88a81a5-1985-4e87-a1d5-0e38c339a383",
    "tenantId": "d0f8a266-e0b3-42e9-aa78-3c00231437eb",
    "deviceGroupId": "ced8b33e-52b8-4b96-b305-583d809e6a48",
    "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": "2026-09-03T01:50:16.4914279+00:00",
    "imei": "sample string 12",
    "macAddress": "sample string 13",
    "serialNumber": "sample string 14",
    "bluetoothName": "sample string 15",
    "createdDateUtc": "2026-09-03T01:50:16.4914279+00:00",
    "updatedDateUtc": "2026-09-03T01:50:16.4914279+00:00"
  },
  {
    "deviceId": "c88a81a5-1985-4e87-a1d5-0e38c339a383",
    "tenantId": "d0f8a266-e0b3-42e9-aa78-3c00231437eb",
    "deviceGroupId": "ced8b33e-52b8-4b96-b305-583d809e6a48",
    "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": "2026-09-03T01:50:16.4914279+00:00",
    "imei": "sample string 12",
    "macAddress": "sample string 13",
    "serialNumber": "sample string 14",
    "bluetoothName": "sample string 15",
    "createdDateUtc": "2026-09-03T01:50:16.4914279+00:00",
    "updatedDateUtc": "2026-09-03T01:50:16.4914279+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>2026-09-03T01:50:16.4914279+00:00</CreatedDateUtc>
    <UpdatedDateUtc>2026-09-03T01:50:16.4914279+00:00</UpdatedDateUtc>
    <BluetoothName>sample string 15</BluetoothName>
    <ConnectedDateUtc>2026-09-03T01:50:16.4914279+00:00</ConnectedDateUtc>
    <Description>sample string 5</Description>
    <DeviceGroupId>ced8b33e-52b8-4b96-b305-583d809e6a48</DeviceGroupId>
    <DeviceId>c88a81a5-1985-4e87-a1d5-0e38c339a383</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>d0f8a266-e0b3-42e9-aa78-3c00231437eb</TenantId>
    <VersionInfo>sample string 9</VersionInfo>
  </DeviceRepresentation>
  <DeviceRepresentation>
    <CreatedDateUtc>2026-09-03T01:50:16.4914279+00:00</CreatedDateUtc>
    <UpdatedDateUtc>2026-09-03T01:50:16.4914279+00:00</UpdatedDateUtc>
    <BluetoothName>sample string 15</BluetoothName>
    <ConnectedDateUtc>2026-09-03T01:50:16.4914279+00:00</ConnectedDateUtc>
    <Description>sample string 5</Description>
    <DeviceGroupId>ced8b33e-52b8-4b96-b305-583d809e6a48</DeviceGroupId>
    <DeviceId>c88a81a5-1985-4e87-a1d5-0e38c339a383</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>d0f8a266-e0b3-42e9-aa78-3c00231437eb</TenantId>
    <VersionInfo>sample string 9</VersionInfo>
  </DeviceRepresentation>
  <DeviceRepresentation>
    <CreatedDateUtc>2026-09-03T01:50:16.4914279+00:00</CreatedDateUtc>
    <UpdatedDateUtc>2026-09-03T01:50:16.4914279+00:00</UpdatedDateUtc>
    <BluetoothName>sample string 15</BluetoothName>
    <ConnectedDateUtc>2026-09-03T01:50:16.4914279+00:00</ConnectedDateUtc>
    <Description>sample string 5</Description>
    <DeviceGroupId>ced8b33e-52b8-4b96-b305-583d809e6a48</DeviceGroupId>
    <DeviceId>c88a81a5-1985-4e87-a1d5-0e38c339a383</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>d0f8a266-e0b3-42e9-aa78-3c00231437eb</TenantId>
    <VersionInfo>sample string 9</VersionInfo>
  </DeviceRepresentation>
</ArrayOfDeviceRepresentation>