api/v1/devices
Method: GET https://developers.mobilemanager.co.uk/api/v1/devices?skip={skip}&take={take}
Summary
Get a list of devices that belongs to a customer. Parameters are completely optional
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| skip |
The number of records to skip |
integer |
None. |
| take |
The number of records to take |
integer |
Default value is 100 |
Body Parameters
None.
Response Information
Resource Description
Collection of 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": "42b0e05a-d232-467b-8d32-7931167c7a34",
"CustomerId": "fc8b39a2-7592-4df7-b862-1bfd0dadfc06",
"SerialNumber": "sample string 3",
"Manufacturer": "sample string 4",
"Model": "sample string 5"
},
{
"Id": "42b0e05a-d232-467b-8d32-7931167c7a34",
"CustomerId": "fc8b39a2-7592-4df7-b862-1bfd0dadfc06",
"SerialNumber": "sample string 3",
"Manufacturer": "sample string 4",
"Model": "sample string 5"
}
]
application/xml, text/xml
Sample:
<ArrayOfDeviceModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SimPortalApi.Controllers">
<DeviceModel>
<CustomerId>fc8b39a2-7592-4df7-b862-1bfd0dadfc06</CustomerId>
<Id>42b0e05a-d232-467b-8d32-7931167c7a34</Id>
<Manufacturer>sample string 4</Manufacturer>
<Model>sample string 5</Model>
<SerialNumber>sample string 3</SerialNumber>
</DeviceModel>
<DeviceModel>
<CustomerId>fc8b39a2-7592-4df7-b862-1bfd0dadfc06</CustomerId>
<Id>42b0e05a-d232-467b-8d32-7931167c7a34</Id>
<Manufacturer>sample string 4</Manufacturer>
<Model>sample string 5</Model>
<SerialNumber>sample string 3</SerialNumber>
</DeviceModel>
</ArrayOfDeviceModel>