GET api/Device/Type/ActionMap/Query/ByTypeId/{typeid}
以不分页的方式,查询某个型号拥有的动作的清单(T_Dev_Type_ActionMap)。
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| typeid |
型号ID。 |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
以不分页的方式,查询某个型号拥有的动作的清单(T_Dev_Type_ActionMap)。
CommonOperationResultWithTagOfIEnumerableOfDev_Type_ActionMapTableItem| Name | Description | Type | Additional information |
|---|---|---|---|
| errcode | integer |
None. |
|
| errmsg | string |
None. |
|
| tag | Collection of 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"
},
{
"TypeID": "sample string 1",
"ActionCode": 2,
"ActionName": "sample string 3",
"DoActionValue": "sample string 4",
"UnDoActionValue": "sample string 5"
}
]
}
application/xml, text/xml
Sample:
<CommonOperationResultWithTagOfArrayOfDev_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:Dev_Type_ActionMapTableItem>
<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>
</d2p1:Dev_Type_ActionMapTableItem>
<d2p1:Dev_Type_ActionMapTableItem>
<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>
</d2p1:Dev_Type_ActionMapTableItem>
</tag>
</CommonOperationResultWithTagOfArrayOfDev_Type_ActionMapTableItemnMA5lUge>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.