PUT api/qbarquestions/{qid}/answers/{id}
【问吧】新增问吧问题的回答
请求信息
URI 参数
| Name | Description | Type | Additional information |
|---|---|---|---|
| qid | integer |
Required |
|
| id | integer |
Required |
Body 请求体 参数
QBarAnswerAddDto| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| qid | integer |
None. |
|
| cont | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"qid": 2,
"cont": "sample string 3"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
image/png
Sample:
Sample not available.
image/jpg
Sample:
Sample not available.
响应消息
内容 描述
CxccApiMsg| Name | Description | Type | Additional information |
|---|---|---|---|
| code | integer |
None. |
|
| msg | string |
None. |
响应示例
application/json, text/json
Sample:
{
"code": 1,
"msg": "sample string 2"
}
image/png
Sample:
Sample not available.
image/jpg
Sample:
Sample not available.