GET api/Devices
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of DeviceName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
MacAddress | string |
None. |
|
Name | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Id": 1, "MacAddress": "sample string 2", "Name": "sample string 3" }, { "Id": 1, "MacAddress": "sample string 2", "Name": "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/iBasement.Models"> <Device> <Id>1</Id> <MacAddress>sample string 2</MacAddress> <Name>sample string 3</Name> </Device> <Device> <Id>1</Id> <MacAddress>sample string 2</MacAddress> <Name>sample string 3</Name> </Device> </ArrayOfDevice>