GET api/Device/Type/Table/Query/Simple?typeid={typeid}&typecode={typecode}&typename={typename}

查询型号主要数据的清单,用于绑定到各种下拉列表或选择框。

Request Information

URI Parameters

NameDescriptionTypeAdditional information
typeid

设备ID(左匹配)。

string

Default value is

typecode

型号代码(左匹配)。

string

Default value is

typename

型号名称(左匹配)。

string

Default value is

Body Parameters

None.

Response Information

Resource Description

查询型号主要数据的清单,用于绑定到各种下拉列表或选择框。

CommonOperationResultWithTagOfIEnumerableOfDev_TypeSimpleTableItem
NameDescriptionTypeAdditional information
errcode

integer

None.

errmsg

string

None.

tag

Collection of Dev_TypeSimpleTableItem

None.

Response Formats

application/json, text/json

Sample:
{
  "errcode": 1,
  "errmsg": "sample string 2",
  "tag": [
    {
      "TypeID": "sample string 1",
      "TypeCode": "sample string 2",
      "TypeName": "sample string 3"
    },
    {
      "TypeID": "sample string 1",
      "TypeCode": "sample string 2",
      "TypeName": "sample string 3"
    }
  ]
}

application/xml, text/xml

Sample:
<CommonOperationResultWithTagOfArrayOfDev_TypeSimpleTableItemnMA5lUge 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_TypeSimpleTableItem>
      <d2p1:TypeCode>sample string 2</d2p1:TypeCode>
      <d2p1:TypeID>sample string 1</d2p1:TypeID>
      <d2p1:TypeName>sample string 3</d2p1:TypeName>
    </d2p1:Dev_TypeSimpleTableItem>
    <d2p1:Dev_TypeSimpleTableItem>
      <d2p1:TypeCode>sample string 2</d2p1:TypeCode>
      <d2p1:TypeID>sample string 1</d2p1:TypeID>
      <d2p1:TypeName>sample string 3</d2p1:TypeName>
    </d2p1:Dev_TypeSimpleTableItem>
  </tag>
</CommonOperationResultWithTagOfArrayOfDev_TypeSimpleTableItemnMA5lUge>

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.