获取代码表配置项集合

URL地址:api/IPR/CodeItem/GetCodeItem

请求方式:GET

传递参数

None.

传递对象

CodeItemQuery (检索条件对象)
名   称描   述参数类型附加信息
fIdQuery

标识列

integer

None.

fCodeTypeIDQuery

代码表类型ID

integer

None.

fValueQuery

数值

string

None.

fTextQuery

文本

string

None.

fRemarkQuery

备注

string

None.

fSortQuery

integer

None.

application/json, text/json

Sample:
{
  "fIdQuery": 1,
  "fCodeTypeIDQuery": 2,
  "fValueQuery": "sample string 3",
  "fTextQuery": "sample string 4",
  "fRemarkQuery": "sample string 5",
  "fSortQuery": 6
}

application/xml, text/xml

Sample:
<CodeItemQuery xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WeChat.Api.Models">
  <fCodeTypeIDQuery>2</fCodeTypeIDQuery>
  <fIdQuery>1</fIdQuery>
  <fRemarkQuery>sample string 5</fRemarkQuery>
  <fSortQuery>6</fSortQuery>
  <fTextQuery>sample string 4</fTextQuery>
  <fValueQuery>sample string 3</fValueQuery>
</CodeItemQuery>

application/x-www-form-urlencoded

Sample:

Sample not available.

返回对象

HttpResultMessageOfIListOfCodeItemEntity (代码表配置项集合)
名   称描   述参数类型附加信息
StatusCode

HttpStatusCode

None.

Errors

Dictionary of string [key] and string [value]

None.

Msg

string

None.

message

string

None.

Result

Collection of CodeItemEntity

None.

返回对象格式

application/json, text/json

Sample:
{
  "StatusCode": 100,
  "Errors": {
    "sample string 1": "sample string 2",
    "sample string 3": "sample string 4"
  },
  "Msg": "sample string 1",
  "message": "sample string 2",
  "Result": [
    {
      "fId": 1,
      "fCodeTypeID": 2,
      "fValue": "sample string 3",
      "fText": "sample string 4",
      "fRemark": "sample string 5",
      "fSort": 6
    },
    {
      "fId": 1,
      "fCodeTypeID": 2,
      "fValue": "sample string 3",
      "fText": "sample string 4",
      "fRemark": "sample string 5",
      "fSort": 6
    }
  ]
}

application/xml, text/xml

Sample:
<HttpResultMessageOfArrayOfCodeItemEntityj2mLa_SCg xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WeChat.Api.Models">
  <Errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>sample string 1</d2p1:Key>
      <d2p1:Value>sample string 2</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>sample string 3</d2p1:Key>
      <d2p1:Value>sample string 4</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
  </Errors>
  <Msg>sample string 1</Msg>
  <Result>
    <CodeItemEntity>
      <fCodeTypeID>2</fCodeTypeID>
      <fId>1</fId>
      <fRemark>sample string 5</fRemark>
      <fSort>6</fSort>
      <fText>sample string 4</fText>
      <fValue>sample string 3</fValue>
    </CodeItemEntity>
    <CodeItemEntity>
      <fCodeTypeID>2</fCodeTypeID>
      <fId>1</fId>
      <fRemark>sample string 5</fRemark>
      <fSort>6</fSort>
      <fText>sample string 4</fText>
      <fValue>sample string 3</fValue>
    </CodeItemEntity>
  </Result>
  <StatusCode>Continue</StatusCode>
  <message>sample string 2</message>
</HttpResultMessageOfArrayOfCodeItemEntityj2mLa_SCg>