POST api/QA/ListQA
選擇主類別次類別後列出問答清單
Request Information
URI Parameters
None.
Body Parameters
The qasearch.
QASearch| Name | Description | Type | Additional information |
|---|---|---|---|
| MainType |
QA主類別 |
string |
None. |
| SubType |
QA次類別 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"MainType": "sample string 1",
"SubType": "sample string 2"
}
application/xml, text/xml
Sample:
<QASearch xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iMOE_Back_End.Controllers"> <MainType>sample string 1</MainType> <SubType>sample string 2</SubType> </QASearch>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of QAList| Name | Description | Type | Additional information |
|---|---|---|---|
| 問題 | string |
None. |
|
| 答案 | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"問題": "sample string 1",
"答案": "sample string 2"
},
{
"問題": "sample string 1",
"答案": "sample string 2"
}
]
application/xml, text/xml
Sample:
<ArrayOfQAList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iMOE_Back_End.Controllers">
<QAList>
<問題>sample string 1</問題>
<答案>sample string 2</答案>
</QAList>
<QAList>
<問題>sample string 1</問題>
<答案>sample string 2</答案>
</QAList>
</ArrayOfQAList>