基本信息
- 用途说明:服务工单-处理接口
- 请求方式:POST
- 请求地址:https://api.kingdee.com/weigusoft/wg_crm/wg_handleBillBusinessApi?access_token=&authority_info=
headers参数
- 所有的接口必须携带header参数
| 参数名称 | 参数示例 | 是否必填 | 参数说明 |
|---|---|---|---|
| Content-Type | application/json | true | 固定传:application/json |
| groupName | ns-v7g6 | true | 分组名称,获取授权信息时返回的groupName |
| accountId | 16xxxxxxxxxxxx | true | 账套ID,获取授权信息时返回的accountId |
| X-GW-Router-Addr | https://tf.jdy.com | true | IDC域名,获取授权信息时返回的domain |
| Appuserid | 10102023 | true | 当前登录用户id |
params参数
| 参数名称 | 参数类型 | 是否必填 | 参数说明 |
|---|---|---|---|
| access_token | string | true | 金蝶云通行证token |
| authority_info | string | true | 见文档authority_info参数说明 |
body参数
| 参数名称 | 必选 | 类型 | 说明 |
|---|---|---|---|
| entity | true | String | 单据标识,默认空 |
| flag | true | String | handle-order |
| id | true | String | 服务工单单据id |
| pageindex | true | Number | 当前页(默认1) |
| pagesize | true | Number | 每页显示条数 |
| body | true | String | body参数 |
| clfaid | true | String | 处理方案 |
| cljgid | true | String | 处理结果 |
| clsmid | false | String | 处理说明 |
| combofield | true | String | 维修状态,F:处理中,H:处理完成,G:无法处理 |
| diff | false | Number | 工时(小时) |
| handleAddress | false | String | 地址 |
| handledeptid | true | String | 部门 |
| handleedate | true | String | 处理结束日期 |
| handlemanid | true | String | 处理人 |
| handlesdate | true | String | 处理开始日期 |
| labs | false | Array |
其他处理人, "labs": [ |
| lat | false | String | 纬度 |
| lgt | false | String | 经度 |
| orderNo | true | String | 服务工单单据编码 |
| processid | true | String | 完成进度,不能小于0 |
| wtyyid | true | String | 问题原因 |
| wxztid | true | String | 维修状态,F:处理中,H:处理完成,G:无法处理 |
| attmentInforspre | false | Array | 处理前照片 |
| attmentInforsafter | false | Array | 处理后照片 |
请求示例
{
"entity": "",
"id": "2230413444614467584",
"flag": "handle-order",
"body_": {
"orderNo": "fwgs-20250605-00000001",
"handlesdate": "2025-07-17 08:11:41",
"handleedate": "2025-07-17 18:11:41",
"handlemanid": "1697009251337127936",
"handledeptid": "1697221606960547840",
"wxztid": "F",
"combofield": "F",
"diff": 10,
"processid": "2",
"wtyyid": "1895123256688528389",
"clfaid": "1895123523051994117",
"cljgid": "2028468841138471936",
"clsmid": "处理说明",
"labs": [
{
"id": "2234984992394486784"
}
],
"lat": "",
"lgt": "",
"handleAddress": "",
"attmentInforspre": [
{
"url": "https://tf.jdy.com/ierp/tempfile/download.do?configKey=redis.serversForCache.tempfile&id=tempfile-d216cbc4-c434-42a1-87ec-3b10341d306a",
"name": "-01353.png"
}
],
"attmentInforsafter": [
{
"url": "https://tf.jdy.com/ierp/tempfile/download.do?configKey=redis.serversForCache.tempfile&id=tempfile-a814cf4c-c040-4e7a-9e31-550d67b766f1",
"name": "背景图.png"
}
]
}
}
响应示例
{
"data": "操作成功",
"errorCode": "success",
"status": true,
"success": true
}
curl:
curl ^"https://api.kingdee.com/weigusoft/wg_crm/wg_handleBillBusinessApi?access_token=1751589696b6fadec8ca66f4bff7eece^&authority_info=80YVhAfnQaOYK7vgQL1NZOCzmT9slfIZW8j01JnRwGPlJhpCXkVtaJW70RN/XQPn^" ^
-H ^"Accept: */*^" ^
-H ^"Accept-Language: zh-CN,zh;q=0.9^" ^
-H ^"Appuserid: 10102023^" ^
-H ^"Connection: keep-alive^" ^
-H ^"Content-Type: application/json;charset=UTF-8^" ^
-H ^"Origin: http://localhost:5173^" ^
-H ^"Referer: http://localhost:5173/^" ^
-H ^"Sec-Fetch-Dest: empty^" ^
-H ^"Sec-Fetch-Mode: cors^" ^
-H ^"Sec-Fetch-Site: cross-site^" ^
-H ^"User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1^" ^
-H ^"X-GW-Router-Addr: https://tf.jdy.com^" ^
-H ^"access_token: 1751589696b6fadec8ca66f4bff7eece^" ^
-H ^"accountId: 1683187060740048426^" ^
-H ^"groupName: ns-f51c^" ^
--data-raw ^"^{^\^"entity^\^":^\^"^\^",^\^"id^\^":^\^"2230413444614467584^\^",^\^"flag^\^":^\^"handle-order^\^",^\^"body_^\^":^{^\^"orderNo^\^":^\^"fwgs-20250605-00000001^\^",^\^"handlesdate^\^":^\^"2025-07-17 08:11:41^\^",^\^"handleedate^\^":^\^"2025-07-17 18:11:41^\^",^\^"handlemanid^\^":^\^"1697009251337127936^\^",^\^"handledeptid^\^":^\^"1697221606960547840^\^",^\^"wxztid^\^":^\^"F^\^",^\^"combofield^\^":^\^"F^\^",^\^"diff^\^":10,^\^"processid^\^":^\^"2^\^",^\^"wtyyid^\^":^\^"1895123256688528389^\^",^\^"clfaid^\^":^\^"1895123523051994117^\^",^\^"cljgid^\^":^\^"2028468841138471936^\^",^\^"clsmid^\^":^\^"^处^理^说^明^\^",^\^"labs^\^":^[^{^\^"id^\^":^\^"2234984992394486784^\^"^}^],^\^"lat^\^":^\^"^\^",^\^"lgt^\^":^\^"^\^",^\^"handleAddress^\^":^\^"^\^",^\^"attmentInforspre^\^":^[^{^\^"url^\^":^\^"https://tf.jdy.com/ierp/tempfile/download.do?configKey=redis.serversForCache.tempfile^&id=tempfile-d216cbc4-c434-42a1-87ec-3b10341d306a^\^",^\^"name^\^":^\^"-01353.png^\^"^}^],^\^"attmentInforsafter^\^":^[^{^\^"url^\^":^\^"https://tf.jdy.com/ierp/tempfile/download.do?configKey=redis.serversForCache.tempfile^&id=tempfile-a814cf4c-c040-4e7a-9e31-550d67b766f1^\^",^\^"name^\^":^\^"^背^景^图.png^\^"^}^]^}^}^"