获取类似读音字形表集合

URL地址:api/IPR/CharSpell/GetCharSpell

请求方式:GET

传递参数

None.

传递对象

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

主键

integer

None.

ChineseCharQuery

简体中文

string

None.

Big5CharQuery

大五码字符

string

None.

ChineseSpellQuery

中文拼音

string

None.

ChineseToneQuery

中文拼音音调

string

None.

application/json, text/json

Sample:
{
  "CharIDQuery": 1,
  "ChineseCharQuery": "sample string 2",
  "Big5CharQuery": "sample string 3",
  "ChineseSpellQuery": "sample string 4",
  "ChineseToneQuery": "sample string 5"
}

application/xml, text/xml

Sample:
<CharSpellQuery xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WeChat.Api.Models">
  <Big5CharQuery>sample string 3</Big5CharQuery>
  <CharIDQuery>1</CharIDQuery>
  <ChineseCharQuery>sample string 2</ChineseCharQuery>
  <ChineseSpellQuery>sample string 4</ChineseSpellQuery>
  <ChineseToneQuery>sample string 5</ChineseToneQuery>
</CharSpellQuery>

application/x-www-form-urlencoded

Sample:

Sample not available.

返回对象

HttpResultMessageOfIListOfCharSpellEntity (类似读音字形表集合)
名   称描   述参数类型附加信息
StatusCode

HttpStatusCode

None.

Errors

Dictionary of string [key] and string [value]

None.

Msg

string

None.

message

string

None.

Result

Collection of CharSpellEntity

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": [
    {
      "CharID": 1,
      "ChineseChar": "sample string 2",
      "Big5Char": "sample string 3",
      "ChineseSpell": "sample string 4",
      "ChineseTone": "sample string 5"
    },
    {
      "CharID": 1,
      "ChineseChar": "sample string 2",
      "Big5Char": "sample string 3",
      "ChineseSpell": "sample string 4",
      "ChineseTone": "sample string 5"
    }
  ]
}

application/xml, text/xml

Sample:
<HttpResultMessageOfArrayOfCharSpellEntityj2mLa_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>
    <CharSpellEntity>
      <Big5Char>sample string 3</Big5Char>
      <CharID>1</CharID>
      <ChineseChar>sample string 2</ChineseChar>
      <ChineseSpell>sample string 4</ChineseSpell>
      <ChineseTone>sample string 5</ChineseTone>
    </CharSpellEntity>
    <CharSpellEntity>
      <Big5Char>sample string 3</Big5Char>
      <CharID>1</CharID>
      <ChineseChar>sample string 2</ChineseChar>
      <ChineseSpell>sample string 4</ChineseSpell>
      <ChineseTone>sample string 5</ChineseTone>
    </CharSpellEntity>
  </Result>
  <StatusCode>Continue</StatusCode>
  <message>sample string 2</message>
</HttpResultMessageOfArrayOfCharSpellEntityj2mLa_SCg>