GET api/HTGL/GetXxByXsd?content={content}
获取相似度最高的三个词,出参model是List《Qxtj_dj_ppd》,状态301表示未找到到匹配度超过0.85的词
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| content | string |
Required |
Body Parameters
None.
Response Information
Resource Description
OutPutOfListOfQxtj_dj_ppd| Name | Description | Type | Additional information |
|---|---|---|---|
| ResultStatus | EnumResultStatus |
None. |
|
| Msg | string |
None. |
|
| ResultData | Collection of Qxtj_dj_ppd |
None. |
|
| TotalCount | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"ResultStatus": 200,
"Msg": "sample string 1",
"ResultData": [
{
"yjxx": "sample string 1",
"ppd": 2.0
},
{
"yjxx": "sample string 1",
"ppd": 2.0
}
],
"TotalCount": 2
}
application/xml, text/xml
Sample:
<Qxtj_v.OutPutOfArrayOfQxtj_v.Qxtj_dj_ppd2hGjyaJv xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ViewModels.Screen">
<Msg>sample string 1</Msg>
<ResultData>
<Qxtj_v.Qxtj_dj_ppd>
<ppd>2</ppd>
<yjxx>sample string 1</yjxx>
</Qxtj_v.Qxtj_dj_ppd>
<Qxtj_v.Qxtj_dj_ppd>
<ppd>2</ppd>
<yjxx>sample string 1</yjxx>
</Qxtj_v.Qxtj_dj_ppd>
</ResultData>
<ResultStatus>Success</ResultStatus>
<TotalCount>2</TotalCount>
</Qxtj_v.OutPutOfArrayOfQxtj_v.Qxtj_dj_ppd2hGjyaJv>