GET api/Devices
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of Device| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| DeviceId | string |
Required |
|
| UserName | string |
Required |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"DeviceId": "sample string 2",
"UserName": "sample string 3"
},
{
"Id": 1,
"DeviceId": "sample string 2",
"UserName": "sample string 3"
}
]
application/xml, text/xml
Sample:
<ArrayOfDevice xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KemuriSF.Models">
<Device>
<DeviceId>sample string 2</DeviceId>
<Id>1</Id>
<UserName>sample string 3</UserName>
</Device>
<Device>
<DeviceId>sample string 2</DeviceId>
<Id>1</Id>
<UserName>sample string 3</UserName>
</Device>
</ArrayOfDevice>