api/v1/devices/{id}/device
Method: GET https://simportal-api-staging.azurewebsites.net/api/v1/devices/{id}/device
Summary
Get a single device
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The unique id of a device |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
DeviceModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| CustomerId | globally unique identifier |
None. |
|
| SerialNumber | string |
None. |
|
| Manufacturer | string |
None. |
|
| Model | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": "b91c0605-577c-46e2-b8b4-f5b98433cfd9",
"CustomerId": "25a4603e-27d5-40e2-9af6-b700ad2b9ed2",
"SerialNumber": "sample string 3",
"Manufacturer": "sample string 4",
"Model": "sample string 5"
}
application/xml, text/xml
Sample:
<DeviceModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SimPortalApi.Controllers"> <CustomerId>25a4603e-27d5-40e2-9af6-b700ad2b9ed2</CustomerId> <Id>b91c0605-577c-46e2-b8b4-f5b98433cfd9</Id> <Manufacturer>sample string 4</Manufacturer> <Model>sample string 5</Model> <SerialNumber>sample string 3</SerialNumber> </DeviceModel>