# 转交审批任务

审批任务当前审批人可以在当前审批节点转交新的人来审批



**标签**：`审批任务` 


## 请求说明
| 字段          | 值                  |
|--------------|---------------------|
| **<div style="white-space: nowrap;">请求地址</div>**  | https://openapi.wps.cn/v7/workflow/approval_tasks/{id}/transfer          |
| **<div style="white-space: nowrap;">HTTP 方法</div>** | `POST`    |
| **<div style="white-space: nowrap;">接口描述</div>**  | 审批任务当前审批人可以在当前审批节点转交新的人来审批 |
| **<div style="white-space: nowrap;">签名方式</div>**  | [KSO-1](https://open.wps.cn/documents/app-integration-dev/wps365/server/api-description/signature-description) |
| **<div style="white-space: nowrap;">限频策略</div>** | 无 |
| **<div style="white-space: nowrap;">权限要求</div>** | <div><div>操作审批任务(应用授权) `kso.workflow_approval_task.readwrite`</div><div style="margin-top: 5px;"></div><div>操作审批任务(用户授权) `kso.workflow_approval_task.readwrite`</div></div> |


## 请求头 (Headers)
| 属性名 | 类型 | 是否必填 | 描述 | 可选值 |
|-------|------|------|-------|-------|
| <div style="white-space: nowrap;">X-Kso-Id-Type</div> | `string` | 否 | 类型<br>  * **internal** - 内部<br>  * **external** - 外部<br> | `internal`, `external` 



## 路径参数 (Path)
| 属性名 | 类型 | 是否必填 | 描述 | 可选值 |
|-------|------|------|-------|-------|
| <div style="white-space: nowrap;">id</div> | `string` | 是 | 任务id | - 





## 请求体(Body)
**请求体格式:** `application/json`
<OpenapiRenderTable  dataSource='[{"key":"comment","name":"comment","deprecated":false,"type":"string","required":"是","enum":[],"xEnum":[],"description":"<p>审批意见</p>\n","children":[]},{"key":"instance_id","name":"instance_id","deprecated":false,"type":"string","required":"是","enum":[],"xEnum":[],"description":"<p>所在实例id</p>\n","children":[]},{"key":"operator","name":"operator","deprecated":false,"type":"string","required":"是","enum":[],"xEnum":[],"description":"<p>任务操作人</p>\n","children":[]},{"key":"transfer_user_id","name":"transfer_user_id","deprecated":false,"type":"string","required":"是","enum":[],"xEnum":[],"description":"<p>转交人userid</p>\n","children":[]}]' />

## 请求体示例
```json
{
  "comment": "string",
  "instance_id": "string",
  "operator": "string",
  "transfer_user_id": "string"
}
```

## 响应体(Response)
**HTTP状态码:** `200`<br/>
**响应体格式:** `application/json`
<OpenapiRenderTable hideHeaderKeys='required' dataSource='[{"key":"code","name":"code","deprecated":false,"type":"integer","required":"是","enum":[],"xEnum":[],"description":"-","children":[]},{"key":"msg","name":"msg","deprecated":false,"type":"string","required":"是","enum":[],"xEnum":[],"description":"<p>人可阅读的文本信息，可能会按不同的语言或地区返回不同的文本信息。</p>\n","children":[]}]' />

## 响应体示例
```json
{
  "code": 0,
  "msg": "string"
}
```