GET api/Devices

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Device
NameDescriptionTypeAdditional information
GUID

string

None.

MACaddress

string

None.

name

string

None.

type

string

None.

locationGUID

string

None.

archived

boolean

None.

sampleRate

integer

None.

transmissionPeriod

integer

None.

channels

Collection of Channel

None.

isSelected

boolean

None.

flowRate

integer

None.

Location

string

None.

Channel1Name

string

None.

Channel2Name

string

None.

GroupName

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "GUID": "sample string 1",
    "MACaddress": "sample string 2",
    "name": "sample string 3",
    "type": "sample string 4",
    "locationGUID": "sample string 5",
    "archived": true,
    "sampleRate": 7,
    "transmissionPeriod": 8,
    "channels": [
      {
        "alarmSettings": {
          "alarmHold": true,
          "alarmTriggerDelay": 2,
          "highAlarmLevel": 1.1,
          "highAlarmOn": true,
          "lowAlarmLevel": 1.1,
          "lowAlarmOn": true
        },
        "decimalPlaces": 1,
        "label": "sample string 2",
        "probeType": {
          "id": 1,
          "text": "sample string 2"
        },
        "type": "sample string 3",
        "typeId": 4,
        "unit": {
          "id": 1,
          "text": "sample string 2",
          "symbol": "sample string 3"
        }
      },
      {
        "alarmSettings": {
          "alarmHold": true,
          "alarmTriggerDelay": 2,
          "highAlarmLevel": 1.1,
          "highAlarmOn": true,
          "lowAlarmLevel": 1.1,
          "lowAlarmOn": true
        },
        "decimalPlaces": 1,
        "label": "sample string 2",
        "probeType": {
          "id": 1,
          "text": "sample string 2"
        },
        "type": "sample string 3",
        "typeId": 4,
        "unit": {
          "id": 1,
          "text": "sample string 2",
          "symbol": "sample string 3"
        }
      }
    ],
    "isSelected": true,
    "flowRate": 10,
    "Location": "sample string 11",
    "Channel1Name": "sample string 12",
    "Channel2Name": "sample string 13",
    "GroupName": "sample string 14"
  },
  {
    "GUID": "sample string 1",
    "MACaddress": "sample string 2",
    "name": "sample string 3",
    "type": "sample string 4",
    "locationGUID": "sample string 5",
    "archived": true,
    "sampleRate": 7,
    "transmissionPeriod": 8,
    "channels": [
      {
        "alarmSettings": {
          "alarmHold": true,
          "alarmTriggerDelay": 2,
          "highAlarmLevel": 1.1,
          "highAlarmOn": true,
          "lowAlarmLevel": 1.1,
          "lowAlarmOn": true
        },
        "decimalPlaces": 1,
        "label": "sample string 2",
        "probeType": {
          "id": 1,
          "text": "sample string 2"
        },
        "type": "sample string 3",
        "typeId": 4,
        "unit": {
          "id": 1,
          "text": "sample string 2",
          "symbol": "sample string 3"
        }
      },
      {
        "alarmSettings": {
          "alarmHold": true,
          "alarmTriggerDelay": 2,
          "highAlarmLevel": 1.1,
          "highAlarmOn": true,
          "lowAlarmLevel": 1.1,
          "lowAlarmOn": true
        },
        "decimalPlaces": 1,
        "label": "sample string 2",
        "probeType": {
          "id": 1,
          "text": "sample string 2"
        },
        "type": "sample string 3",
        "typeId": 4,
        "unit": {
          "id": 1,
          "text": "sample string 2",
          "symbol": "sample string 3"
        }
      }
    ],
    "isSelected": true,
    "flowRate": 10,
    "Location": "sample string 11",
    "Channel1Name": "sample string 12",
    "Channel2Name": "sample string 13",
    "GroupName": "sample string 14"
  }
]

application/xml, text/xml

Sample:
<ArrayOfDevice xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AlexaTestApp.Models">
  <Device>
    <Channel1Name>sample string 12</Channel1Name>
    <Channel2Name>sample string 13</Channel2Name>
    <GUID>sample string 1</GUID>
    <GroupName>sample string 14</GroupName>
    <Location>sample string 11</Location>
    <MACaddress>sample string 2</MACaddress>
    <archived>true</archived>
    <channels>
      <Channel>
        <alarmSettings>
          <alarmHold>true</alarmHold>
          <alarmTriggerDelay>2</alarmTriggerDelay>
          <highAlarmLevel>1.1</highAlarmLevel>
          <highAlarmOn>true</highAlarmOn>
          <lowAlarmLevel>1.1</lowAlarmLevel>
          <lowAlarmOn>true</lowAlarmOn>
        </alarmSettings>
        <decimalPlaces>1</decimalPlaces>
        <label>sample string 2</label>
        <probeType>
          <id>1</id>
          <text>sample string 2</text>
        </probeType>
        <type>sample string 3</type>
        <typeId>4</typeId>
        <unit>
          <id>1</id>
          <symbol>sample string 3</symbol>
          <text>sample string 2</text>
        </unit>
      </Channel>
      <Channel>
        <alarmSettings>
          <alarmHold>true</alarmHold>
          <alarmTriggerDelay>2</alarmTriggerDelay>
          <highAlarmLevel>1.1</highAlarmLevel>
          <highAlarmOn>true</highAlarmOn>
          <lowAlarmLevel>1.1</lowAlarmLevel>
          <lowAlarmOn>true</lowAlarmOn>
        </alarmSettings>
        <decimalPlaces>1</decimalPlaces>
        <label>sample string 2</label>
        <probeType>
          <id>1</id>
          <text>sample string 2</text>
        </probeType>
        <type>sample string 3</type>
        <typeId>4</typeId>
        <unit>
          <id>1</id>
          <symbol>sample string 3</symbol>
          <text>sample string 2</text>
        </unit>
      </Channel>
    </channels>
    <flowRate>10</flowRate>
    <isSelected>true</isSelected>
    <locationGUID>sample string 5</locationGUID>
    <name>sample string 3</name>
    <sampleRate>7</sampleRate>
    <transmissionPeriod>8</transmissionPeriod>
    <type>sample string 4</type>
  </Device>
  <Device>
    <Channel1Name>sample string 12</Channel1Name>
    <Channel2Name>sample string 13</Channel2Name>
    <GUID>sample string 1</GUID>
    <GroupName>sample string 14</GroupName>
    <Location>sample string 11</Location>
    <MACaddress>sample string 2</MACaddress>
    <archived>true</archived>
    <channels>
      <Channel>
        <alarmSettings>
          <alarmHold>true</alarmHold>
          <alarmTriggerDelay>2</alarmTriggerDelay>
          <highAlarmLevel>1.1</highAlarmLevel>
          <highAlarmOn>true</highAlarmOn>
          <lowAlarmLevel>1.1</lowAlarmLevel>
          <lowAlarmOn>true</lowAlarmOn>
        </alarmSettings>
        <decimalPlaces>1</decimalPlaces>
        <label>sample string 2</label>
        <probeType>
          <id>1</id>
          <text>sample string 2</text>
        </probeType>
        <type>sample string 3</type>
        <typeId>4</typeId>
        <unit>
          <id>1</id>
          <symbol>sample string 3</symbol>
          <text>sample string 2</text>
        </unit>
      </Channel>
      <Channel>
        <alarmSettings>
          <alarmHold>true</alarmHold>
          <alarmTriggerDelay>2</alarmTriggerDelay>
          <highAlarmLevel>1.1</highAlarmLevel>
          <highAlarmOn>true</highAlarmOn>
          <lowAlarmLevel>1.1</lowAlarmLevel>
          <lowAlarmOn>true</lowAlarmOn>
        </alarmSettings>
        <decimalPlaces>1</decimalPlaces>
        <label>sample string 2</label>
        <probeType>
          <id>1</id>
          <text>sample string 2</text>
        </probeType>
        <type>sample string 3</type>
        <typeId>4</typeId>
        <unit>
          <id>1</id>
          <symbol>sample string 3</symbol>
          <text>sample string 2</text>
        </unit>
      </Channel>
    </channels>
    <flowRate>10</flowRate>
    <isSelected>true</isSelected>
    <locationGUID>sample string 5</locationGUID>
    <name>sample string 3</name>
    <sampleRate>7</sampleRate>
    <transmissionPeriod>8</transmissionPeriod>
    <type>sample string 4</type>
  </Device>
</ArrayOfDevice>