菜单

处理记录

基本信息

  • 用途说明:服务工单-处理记录查询接口
  • 请求方式:POST
  • 请求地址:https://api.kingdee.com/weigusoft/wg_cost/loadList?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参数

参数名称 必选 类型 说明
entityName true String 单据标识:wg_deal_record
pageindex true Number 当前页(默认1)
pagesize true Number 每页显示条数
selectProperties
true String
查找字段属性,"billno,wg_reason,wg_scheme,wg_result,emp,dept,feedbackno,
startdate,enddate,mulemp,combofield,workinghours,completionprogress,remark,wg_address,wg_pre_image,wg_after_image"
andQfilters false Array

"andQfilters": [

{

   "property": "sourcebillno",//服务工单编号

    "cp": "=",

    "value": "fwgs-20250714-00000001

"

}], //与条件

orQfilters false Array
"orQfilters": [
        {
            "property": "billno",
            "cp": "like",
            "value": "%CLJL-20250718-00000003%"
        }
    ],

, //或条件

onlyBasic false Boolean

是否只获取基本信息,名称和编码

onlyCount false Boolean

是否只获取数量

haveMatPic false Boolean

是否返回物料图片

srcType false String

上一个页面单据类型

srcId false String

上一个页面单据id

exclude false Boolean

是否有排除的

level false String

基础资料查到哪一层,例:"1"

返回参数

字段名称 类型 说明
id String 单据id
billno String 单据编码
feedbackno String 客户反馈单号
startdate String 处理开始日期
enddate String 处理结束日期
emp String 处理人
dept String 处理部门
mulemp Array 其他处理人
combofield String 维修状态,F:处理中,H:处理完成,G:无法处理
workinghours String 工时
completionprogress String 完成进度%
wg_reason String 问题原因
wg_scheme String 处理方案
wg_result String 处理结果
remark String 处理说明
wg_address String 服务地址
wg_pre_image String 处理前照片
wg_after_image String 处理后照片
billstatus String 单据状态,A:未审核,C:已审核

请求示例

{
    "pageindex": 1,
    "pagesize": 10,
    "entityName": "wg_deal_record",
    "selectProperties": "billno,wg_reason,wg_scheme,wg_result,emp,dept,feedbackno,startdate,enddate,mulemp,combofield,workinghours,completionprogress,remark,wg_address,wg_pre_image,wg_after_image",
    "andQfilters": [
        {
            "cp": "=",
            "property": "sourcebillno",
            "value": "fwgs-20250714-00000001"
        }
    ],
    "orQfilters": [
        {
            "property": "billno",
            "cp": "like",
            "value": "%CLJL-20250718-00000003%"
        }
    ],
    "onlyBasic": false,
    "level": "2"
}

crul:

curl --location --request POST 'https://api.kingdee.com/weigusoft/wg_cost/loadList?access_token=1751589696b6fadec8ca66f4bff7eece&authority_info=80YVhAfnQaOYK7vgQL1NZOCzmT9slfIZW8j01JnRwGPlJhpCXkVtaJW70RN/XQPn' \ --header 'Appuserid: 10102023' \ --header 'X-GW-Router-Addr: https://tf-ek.jdy.com' \ --header 'access_token: 1751589696b6fadec8ca66f4bff7eece' \ --header 'accountId: 1675743896569628608' \ --header 'groupName: ns-isv5' \ --header 'User-Agent: Apifox/1.0.0 (https://apifox.com)' \ --header 'Content-Type: application/json;charset=UTF-8' \ --header 'Accept: */*' \ --header 'Host: api.kingdee.com' \ --header 'Connection: keep-alive' \ --data-raw '{ "pageindex": 1, "pagesize": 10, "entityName": "wg_deal_record", "selectProperties": "billno,wg_reason,wg_scheme,wg_result,emp,dept,feedbackno,startdate,enddate,mulemp,combofield,workinghours,completionprogress,remark,wg_address,wg_pre_image,wg_after_image", "andQfilters": [ { "cp": "=", "property": "sourcebillno", "value": "fwgs-20250714-00000001" } ], "orQfilters": [ { "property": "billno", "cp": "like", "value": "%CLJL-20250718-00000003%" } ], "onlyBasic": false, "level": "2" }'

响应示例

{
    "data": {
        "currentPageSize": 10,
        "currentPageIndex": 1,
        "totalPages": 1,
        "count": 1,
        "list": [
            {
                "wg_scheme_creator_masterid": "0",
                "wg_reason_creator_name": "孙其珍",
                "wg_scheme_creator_id": "11698420",
                "wg_scheme_modifier_number": "u15952142417",
                "wg_reason_modifier_number": "u15952142417",
                "startdate": "2025-07-18 00:07:32",
                "wg_scheme_status": "C",
                "dept_number": "BM00002",
                "wg_reason_creator_number": "u15952142417",
                "wg_reason_modifytime": "2024-02-27 18:55:15",
                "wg_scheme_wg_scheme": "222",
                "id": "2261606313089940482",
                "wg_reason_creator_id": "11698420",
                "wg_result_modifier_id": "11698420",
                "wg_scheme_name": "方案2",
                "wg_result_creator_id": "11698420",
                "wg_result_creator_masterid": "0",
                "wg_result_createtime": "2024-02-27 18:41:53",
                "mulemp": [],
                "wg_result_id": "1894403788916282373",
                "wg_result_modifier_masterid": "0",
                "wg_result_wg_result": "已换新",
                "wg_reason_name": "问题3",
                "wg_result_creator_name": "孙其珍",
                "enddate": "2025-07-18 10:07:32",
                "wg_result_number": "cljg-20240227-00000001",
                "wg_reason_id": "1894410352599388165",
                "wg_scheme_modifier_masterid": "0",
                "dept_longnumber": "100000!BM00002",
                "wg_result_enable": "1",
                "billno": "CLJL-20250718-00000003",
                "wg_reason_status": "C",
                "wg_scheme_creator_name": "孙其珍",
                "wg_scheme_modifier_id": "11698420",
                "wg_scheme_modifier_name": "孙其珍",
                "wg_reason_modifier_name": "孙其珍",
                "wg_reason_enable": "1",
                "completionprogress": "7",
                "emp_name": "董素敏",
                "wg_result_name": "换新",
                "emp_number": "ZY00004",
                "wg_reason_creator_masterid": "0",
                "remark": "处理说明",
                "wg_result_modifytime": "2024-02-27 18:42:13",
                "feedbackno": "",
                "wg_result_masterid": "1894403788916282373",
                "wg_reason_masterid": "1894410352599388165",
                "wg_after_image": [
                    {
                        "creator_number": "njwgceshi",
                        "creator_masterid": "0",
                        "createtime": "2025-07-18 10:08:02",
                        "previewurl": "",
                        "modifytime": "2025-07-18 10:08:02",
                        "tempfile": "1",
                        "description": "",
                        "type": "png",
                        "url": "https://tf-ek.jdy.com/ierp//attachment/download.do?path=/jdyattachmentimage/1675743896569628608/796196029114386/1675743896569628608/202507/attachmentupload/E8838CE699AFE59BBE.png",
                        "filesource": "0",
                        "number": "f8ad2ee6-a2d0-4db0-b3d9-0ba103642dce",
                        "masterid": "0",
                        "uid": "tempfile-de959310-4680-438d-8cd8-38df147746f6",
                        "size": "0",
                        "name": "背景图.png",
                        "creator_id": "10102023",
                        "creator_name": "董素敏",
                        "id": "2261606311848429568",
                        "status": "B"
                    }
                ],
                "wg_address": "",
                "wg_result_modifier_number": "u15952142417",
                "wg_reason_number": "wtyy-20240227-00000004",
                "wg_scheme_createtime": "2024-02-27 18:56:31",
                "dept_masterid": "1358532443941896192",
                "wg_result_status": "C",
                "combofield": "F",
                "wg_reason_wg_reason": "333",
                "wg_scheme_number": "clfa-20240227-00000003",
                "wg_result_creator_number": "u15952142417",
                "dept_name": "测试部门",
                "wg_result_modifier_name": "孙其珍",
                "wg_pre_image": [
                    {
                        "creator_number": "njwgceshi",
                        "creator_masterid": "0",
                        "createtime": "2025-07-18 10:08:01",
                        "previewurl": "",
                        "modifytime": "2025-07-18 10:08:01",
                        "tempfile": "1",
                        "description": "",
                        "type": "png",
                        "url": "https://tf-ek.jdy.com/ierp//attachment/download.do?path=/jdyattachmentimage/1675743896569628608/796196029114386/1675743896569628608/202507/attachmentupload/-01353.png",
                        "filesource": "0",
                        "number": "5b1922fb-fe5a-44c0-a5ef-51328c881e9c",
                        "masterid": "0",
                        "uid": "tempfile-1aaa1050-30c2-45cc-850a-865837df469a",
                        "size": "0",
                        "name": "-01353.png",
                        "creator_id": "10102023",
                        "creator_name": "董素敏",
                        "id": "2261606303560484864",
                        "status": "B"
                    }
                ],
                "wg_scheme_creator_number": "u15952142417",
                "wg_scheme_masterid": "1894411057124961286",
                "wg_reason_modifier_id": "11698420",
                "wg_scheme_modifytime": "2024-02-27 18:56:39",
                "wg_reason_createtime": "2024-02-27 18:55:05",
                "workinghours": "10",
                "dept_id": "1358532443941896192",
                "wg_scheme_id": "1894411057124961286",
                "wg_scheme_enable": "1",
                "wg_reason_modifier_masterid": "0",
                "emp_id": "1394084520470297600"
            }
        ],
        "qtycount": 0,
        "allamount": 0
    },
    "errorCode": "success",
    "status": true,
    "success": true
}
分享文章
最近修改: 2025-07-18