## 任务回调

**接口地址** `/api/open/editorPlugin/task/taskFinishCallback`


**请求方式** `POST`


**consumes** `["application/json"]`


**produces** `["*/*"]`


**接口描述** `phone ,openid,unionid,audid 四个参数至少传一个`

**请求参数**

| 参数名称         | 参数说明     |     请求类型 |  是否必须      |  数据类型   |  schema  |
| ------------ | -------------------------------- |-----------|--------|----|--- |
| X-Token         |      	自建应用访问token   |     header        |      true      | string   |      |
| param         |      param   |     body        |       true      | CbTaskDto   | CbTaskDto     |
            



**schema属性说明**
  
**CbTaskDto**

| 参数名称         | 参数说明     |     请求类型 |  是否必须      |  数据类型   |  schema  |
| ------------ | -------------------------------- |-----------|--------|----|--- |
| appId  | 作品id |   body    |   true   |string  |       |
| appInstanceId  | 应用实例ID |   body    |   false   |integer(int64)  |       |
| audid  | 客户id |   body    |   false   |string  |       |
| cnlDeptId  | 传播的部门ID |   body    |   false   |string  |       |
| cnlId  | 传播渠道Id |   body    |   false   |string  |       |
| nonce  | 6位随机字符串 |   body    |   true   |string  |       |
| openId  | wx open id |   body    |   false   |string  |       |
| orgId  | 企业ID |   body    |   false   |string  |       |
| phone  | 手机号 |   body    |   false   |string  |       |
| taskId  | 任务id |   body    |   false   |string  |       |
| timestamp  | unix时间戳(毫秒) |   body    |   true   |integer(int64)  |       |
| unionId  | wx union id |   body    |   false   |string  |       |





**响应状态**

| 状态码         | 说明                             |    schema                         |
| ------------ | -------------------------------- |---------------------- |
| 200         | OK                        |ApiResponse«Void»                          |
| 201         | Created                        |                          |
| 401         | Unauthorized                        |                          |
| 403         | Forbidden                        |                          |
| 404         | Not Found                        |                          |
| 100107         | 参数少传了audid,phone,openId,unionId 至少要传一个                        |                          |




**响应参数**

| 参数名称         | 参数说明                             |    类型 |  schema |
| ------------ | -------------------|-------|----------- |
| code     |      |    string   |       |
| errorCode     |      |    string   |       |
| msg     |      |    string   |       |
            




**响应示例**


```json
{
	"code": "",
	"errorCode": "",
	"msg": ""
}
```