GET api/Device/Type/QuerySingleDevType?typeId={typeId}
查询单个设备型号信息
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| typeId | string |
Required |
Body Parameters
None.
Response Information
Resource Description
查询单个设备型号信息
CommonOperationResultWithTagOfDev_TypeViewItem| Name | Description | Type | Additional information |
|---|---|---|---|
| errcode | integer |
None. |
|
| errmsg | string |
None. |
|
| tag | Dev_TypeViewItem |
None. |
Response Formats
application/json, text/json
Sample:
{
"errcode": 1,
"errmsg": "sample string 2",
"tag": {
"CtrlCount": 1,
"GHourseCount": 2,
"ActionMapDesc": "sample string 3",
"StatusMapDesc": "sample string 4",
"DataMapDesc": "sample string 5",
"Reserve1": "sample string 6",
"Reserve2": "sample string 7",
"StatusTrigger": "sample string 8",
"TypeID": "sample string 9",
"TypeCode": "sample string 10",
"TypeName": "sample string 11"
}
}
application/xml, text/xml
Sample:
<CommonOperationResultWithTagOfDev_TypeViewItemnMA5lUge xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer">
<errcode>1</errcode>
<errmsg>sample string 2</errmsg>
<tag xmlns:d2p1="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.CleverFarmer">
<d2p1:TypeCode>sample string 10</d2p1:TypeCode>
<d2p1:TypeID>sample string 9</d2p1:TypeID>
<d2p1:TypeName>sample string 11</d2p1:TypeName>
<d2p1:Reserve1>sample string 6</d2p1:Reserve1>
<d2p1:Reserve2>sample string 7</d2p1:Reserve2>
<d2p1:StatusTrigger>sample string 8</d2p1:StatusTrigger>
<d2p1:ActionMapDesc>sample string 3</d2p1:ActionMapDesc>
<d2p1:CtrlCount>1</d2p1:CtrlCount>
<d2p1:DataMapDesc>sample string 5</d2p1:DataMapDesc>
<d2p1:GHourseCount>2</d2p1:GHourseCount>
<d2p1:StatusMapDesc>sample string 4</d2p1:StatusMapDesc>
</tag>
</CommonOperationResultWithTagOfDev_TypeViewItemnMA5lUge>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.