POST api/Questions/QuestionSend
問答記錄會員回覆
Request Information
URI Parameters
None.
Body Parameters
QuestionSend_Input| Name | Description | Type | Additional information |
|---|---|---|---|
| Ticket |
身份票據 |
string |
Required |
| userId |
會員帳號 |
string |
Required |
| qaId |
問答記錄ID |
globally unique identifier |
Required |
| content |
訊息內容 |
string |
Required |
| time |
發送時間 YYYY/MM/DD hh:mm |
string |
None. |
| image |
副件圖片 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Ticket": "sample string 1",
"userId": "sample string 2",
"qaId": "a31afb0c-5c37-46d9-a58e-71ed74845297",
"content": "sample string 4",
"time": "sample string 5",
"image": "sample string 6"
}
text/html
Sample:
{"Ticket":"sample string 1","userId":"sample string 2","qaId":"a31afb0c-5c37-46d9-a58e-71ed74845297","content":"sample string 4","time":"sample string 5","image":"sample string 6"}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
問答記錄會員回覆
QuestionSend_Output| Name | Description | Type | Additional information |
|---|---|---|---|
| ticketVerified |
驗證是否通過 |
boolean |
None. |
| status |
修改狀態(0:系統錯誤 1:新增成功) |
integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"ticketVerified": true,
"status": 2
}
text/html
Sample:
{"ticketVerified":true,"status":2}