GET api/Devices/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
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" }
application/xml, text/xml
Sample:
<Device xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iBasement.Models"> <Id>1</Id> <MacAddress>sample string 2</MacAddress> <Name>sample string 3</Name> </Device>