POST api/HTGL/AddOrChangeCkxx
新增或修改词库信息
Request Information
URI Parameters
None.
Body Parameters
Qxtj_Ckwh| Name | Description | Type | Additional information |
|---|---|---|---|
| CKSN |
词库SN,传空表示新增 |
string |
None. |
| SRY |
输入语 |
string |
None. |
| ZT |
状态,1表示开启,0表示关闭 |
string |
None. |
| SORT |
排序码 |
decimal number |
None. |
| gjc_list |
关键词list |
Collection of Qxtj_Ckwh_Gjc |
None. |
Request Formats
application/json, text/json
Sample:
{
"CKSN": "sample string 1",
"SRY": "sample string 2",
"ZT": "sample string 3",
"SORT": 1.0,
"gjc_list": [
{
"CKSN": "sample string 1",
"GJCSN": "sample string 2",
"GJCNR": "sample string 3",
"SORT": 1.0
},
{
"CKSN": "sample string 1",
"GJCSN": "sample string 2",
"GJCNR": "sample string 3",
"SORT": 1.0
}
]
}
application/xml, text/xml
Sample:
<Qxtj_v.Qxtj_Ckwh xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ViewModels.Screen">
<CKSN>sample string 1</CKSN>
<SORT>1</SORT>
<SRY>sample string 2</SRY>
<ZT>sample string 3</ZT>
<gjc_list>
<Qxtj_v.Qxtj_Ckwh_Gjc>
<CKSN>sample string 1</CKSN>
<GJCNR>sample string 3</GJCNR>
<GJCSN>sample string 2</GJCSN>
<SORT>1</SORT>
</Qxtj_v.Qxtj_Ckwh_Gjc>
<Qxtj_v.Qxtj_Ckwh_Gjc>
<CKSN>sample string 1</CKSN>
<GJCNR>sample string 3</GJCNR>
<GJCSN>sample string 2</GJCSN>
<SORT>1</SORT>
</Qxtj_v.Qxtj_Ckwh_Gjc>
</gjc_list>
</Qxtj_v.Qxtj_Ckwh>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
OutPut| Name | Description | Type | Additional information |
|---|---|---|---|
| ResultStatus |
输出状态 |
string |
None. |
| Msg |
输出信息提示 |
string |
None. |
| ResultData |
输出的数据列表 |
Collection of Object |
None. |
| RecordSn |
记录流水号 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"ResultStatus": "sample string 1",
"Msg": "sample string 2",
"ResultData": [
{},
{}
],
"RecordSn": "sample string 3"
}
application/xml, text/xml
Sample:
<Qxtj_v.OutPut xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ViewModels.Screen">
<Msg>sample string 2</Msg>
<RecordSn>sample string 3</RecordSn>
<ResultData xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:anyType />
<d2p1:anyType />
</ResultData>
<ResultStatus>sample string 1</ResultStatus>
</Qxtj_v.OutPut>