GET api/Devices/Get?userid={userid}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userid

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of Devices
NameDescriptionTypeAdditional information
device_id

integer

None.

user_id

string

None.

device_data

string

None.

device_model

string

None.

status

integer

None.

Response Formats

application/json, text/json, text/html

Sample:
[
  {
    "device_id": 1,
    "user_id": "sample string 2",
    "device_data": "sample string 3",
    "device_model": "sample string 4",
    "status": 5
  },
  {
    "device_id": 1,
    "user_id": "sample string 2",
    "device_data": "sample string 3",
    "device_model": "sample string 4",
    "status": 5
  }
]

application/xml, text/xml

Sample:
<ArrayOfDevices xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/circularAPI.Models">
  <Devices>
    <device_data>sample string 3</device_data>
    <device_id>1</device_id>
    <device_model>sample string 4</device_model>
    <status>5</status>
    <user_id>sample string 2</user_id>
  </Devices>
  <Devices>
    <device_data>sample string 3</device_data>
    <device_id>1</device_id>
    <device_model>sample string 4</device_model>
    <status>5</status>
    <user_id>sample string 2</user_id>
  </Devices>
</ArrayOfDevices>