
# 更新问题答案（updateQuestionAnswer）
#### 场景描述
调用该接口，更新问题答案。
#### 接口方法
POST
#### 接口URI
https://域名/apiaccess/v1/scriptAnswer/updateQuestionAnswer，例如域名是service.besclouds.com
#### 请求说明
表1请求头参数 
| 序号 | 名称            | 参数类型   | 是否必选 | 说明                                                            |
|:---|:---|:---|:---|:---|
| 2  | Authorization | string | True | 鉴权字段，内容格式为: Bearer +tokenByAKSK接口的返回值中AccessToken（Bearer后有空格） |
| 3  | x-app-key     | string | True | appKey字段，用户标识，请联系运营人员获取appKey                                 |
   
表2请求体参数 
| 序号 | 名称               | 参数类型           | 是否必选  | 说明         |
|:---|:---|:---|:---|:---|
| 1  | questionAnswerId | String         | True  | 问题答案ID     |
| 2  | answerText       | String         | False | 答案内容       |
| 3  | voiceScore       | DECIMAL (11，2) | False | 语音得分       |
| 4  | operScore        | DECIMAL (11，2) | False | 操作得分       |
| 5  | costTime         | int            | False | 问题耗时，单位：秒。 |
   
#### 响应说明
- **响应状态码: 200**
  表3响应体参数 
  | 序号 | 名称         | 参数类型   | 是否必选 | 说明        |
  |:---|:---|:---|:---|:---|
  | 1  | resultCode | string | True | 接口返回码     |
  | 2  | resultDesc | string | True | 接口返回消息描述。 |
     
  
- **响应状态码: 400**
  错误的请求：请检查请求路径及参数
  
- **响应状态码: 401**
  未授权：1. 请确认是否购买了相关服务。 2. 请联系客服人员检查您账号的当前状态。
  
- **响应状态码: 403**
  鉴权失败
  
- **响应状态码: 404**
  请求的内容未找到：请检查请求的路径
  
- **响应状态码: 500**
  业务失败：请依次确认您请求中各参数的取值。
  
 
#### 错误码
- 无
 
#### 报文样例
请求头:
```
{
    "x-app-key": ********************
    "Authorization": Bearer ************************
}
```
请求参数:
```
{
    "questionAnswerId": "123456789",
    "answerText": "你好",
    "voiceScore": 50.00,
    "operScore": 20.52,
    "costTime": 12
}
```
响应参数:
```
{
    "resultCode": "1203000",
    "resultDesc": "Opration Successful."
}
```
