GET api/Device/Type/ActionMap/Query/ById/{typeid}/{actionid}
查询某一个T_Dev_Type_ActionMap记录。
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| typeid |
型号ID。 |
string |
Required |
| actionid |
动作ID。 |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
查询某一个T_Dev_Type_ActionMap记录。
CommonOperationResultWithTagOfDev_Type_ActionMapTableItem| Name | Description | Type | Additional information |
|---|---|---|---|
| errcode | integer |
None. |
|
| errmsg | string |
None. |
|
| tag | Dev_Type_ActionMapTableItem |
None. |
Response Formats
application/json, text/json
Sample:
{
"errcode": 1,
"errmsg": "sample string 2",
"tag": {
"TypeID": "sample string 1",
"ActionCode": 2,
"ActionName": "sample string 3",
"DoActionValue": "sample string 4",
"UnDoActionValue": "sample string 5"
}
}
application/xml, text/xml
Sample:
<CommonOperationResultWithTagOfDev_Type_ActionMapTableItemnMA5lUge 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:ActionCode>2</d2p1:ActionCode>
<d2p1:ActionName>sample string 3</d2p1:ActionName>
<d2p1:DoActionValue>sample string 4</d2p1:DoActionValue>
<d2p1:TypeID>sample string 1</d2p1:TypeID>
<d2p1:UnDoActionValue>sample string 5</d2p1:UnDoActionValue>
</tag>
</CommonOperationResultWithTagOfDev_Type_ActionMapTableItemnMA5lUge>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.