GET api/Device/GetById/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
Device| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| DeviceNumber | string |
None. |
|
| Location | string |
None. |
|
| CustomerCode | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": "c6137dda-5a41-4888-8a52-193fc4f59568",
"DeviceNumber": "sample string 2",
"Location": "sample string 3",
"CustomerCode": "sample string 4"
}
application/xml, text/xml
Sample:
<Device xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CashAutomation.Entities.ApiModels"> <CustomerCode>sample string 4</CustomerCode> <DeviceNumber>sample string 2</DeviceNumber> <Id>c6137dda-5a41-4888-8a52-193fc4f59568</Id> <Location>sample string 3</Location> </Device>