GET api/admin/devicetypes
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
ResultOfDeviceType[]| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | Collection of DeviceType |
None. |
|
| Code | string |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": [
{
"Id": 1,
"Name": "sample string 2",
"SortIndex": 3,
"Inactive": true,
"LastModified": "2026-05-31T02:06:10.4151364+07:00"
},
{
"Id": 1,
"Name": "sample string 2",
"SortIndex": 3,
"Inactive": true,
"LastModified": "2026-05-31T02:06:10.4151364+07:00"
}
],
"Code": "sample string 1",
"Message": "sample string 2"
}
application/xml, text/xml
Sample:
<ResultOfArrayOfDeviceTypeDN9tKhfj xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Vietmap.Common">
<Code>sample string 1</Code>
<Message>sample string 2</Message>
<Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Vietmap.Camera.DataModels">
<d2p1:DeviceType>
<d2p1:Id>1</d2p1:Id>
<d2p1:Inactive>true</d2p1:Inactive>
<d2p1:LastModified>2026-05-31T02:06:10.4151364+07:00</d2p1:LastModified>
<d2p1:Name>sample string 2</d2p1:Name>
<d2p1:SortIndex>3</d2p1:SortIndex>
</d2p1:DeviceType>
<d2p1:DeviceType>
<d2p1:Id>1</d2p1:Id>
<d2p1:Inactive>true</d2p1:Inactive>
<d2p1:LastModified>2026-05-31T02:06:10.4151364+07:00</d2p1:LastModified>
<d2p1:Name>sample string 2</d2p1:Name>
<d2p1:SortIndex>3</d2p1:SortIndex>
</d2p1:DeviceType>
</Data>
</ResultOfArrayOfDeviceTypeDN9tKhfj>