菜单

通用接口查询项目档案列表

基本信息

  • 用途说明:项目档案列表(wg_project_files)
  • 请求方式:POST
  • 请求地址:https://api.kingdee.com/weigusoft/wg_cost/loadList?access_token=&authority_info=

请求参数

  • 所有的接口必须携带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_project_files
pageindex true Number 当前页(默认1)
pagesize true Number 每页显示条数
andQfilters false Array

"andQfilters": [

{

   "property": "name",

    "cp": "=",

    "value": "测试"

}], //与条件

orQfilters false Array

orQfilters": [

{

     "property": "contactperson", //条件字段标识

     "cp": "=", //条件符号

     "value": "test" //条件值,like的要加%

}], //或条件

onlyBasic false Boolean

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

onlyCount false Boolean

是否只获取数量

haveMatPic false Boolean

是否返回物料图片

srcType false String

上一个页面单据类型

srcId false String

上一个页面单据id

exclude false Boolean

是否有排除的

level false String

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

orderBy false String

排序,“number asc”

selectProperties true String

 需要查询的字段属性

请求示例

{
    "pageindex": 1,
    "pagesize": 10,
    "entityName": "wg_project_files",
    "selectProperties": "number,protype.name,creator.name,enable,wg_progressstatus,projectstatus,projectgrou,project_archive_index,hbasedatacustomer",
    "orQfilters": [
        {
            "property": "number",
            "cp": "like",
            "value": "%1031测试项目%"
        },
        {
            "property": "name",
            "cp": "like",
            "value": "%1031测试项目%"
        },
        {
            "property": "hproshortname",
            "cp": "like",
            "value": "%1031测试项目%"
        },
        {
            "property": "hproaddr",
            "cp": "like",
            "value": "%1031测试项目%"
        },
        {
            "property": "contractno",
            "cp": "like",
            "value": "%1031测试项目%"
        },
        {
            "property": "hbusunit",
            "cp": "like",
            "value": "%1031测试项目%"
        },
        {
            "property": "hbasedatacustomer.name",
            "cp": "like",
            "value": "%1031测试项目%"
        }
    ],
    "andQfilters": [
        {
            "property": "enable",
            "cp": "=",
            "value": "1"
        }
    ]
}

响应示例

{
    "currentPageSize": 10,
    "currentPageIndex": 1,
    "totalPages": 1,
    "count": 1,
    "list": [
        {
            "creator_number": "njwgceshi",
            "projectgrou_number": "XMFZ-00000028",
            "protype_number": "XMLX-00000065",
            "hbasedatacustomer_name": "HUDAYOU44",
            "number": "00000349",
            "masterid": "2337870529035397120",
            "hbasedatacustomer_id": "1568901388220498944",
            "enable": "1",
            "projectgrou_name": "秦淮区",
            "protype_id": "2239368649423058944",
            "name": "1031测试项目",
            "creator_id": "10102023",
            "protype_name": "99999",
            "creator_name": "董素敏",
            "wg_progressstatus": "",
            "id": "2337870529035397120",
            "hbasedatacustomer_number": "CRMKH-20221205-0006",
            "projectgrou_id": "1757869857270968320"
        }
    ],
    "qtycount": 0,
    "allamount": 0
}

curl: 

curl ^"https://api.kingdee.com/weigusoft/wg_cost/loadList?access_token=1760924364283f6adb7dfefbfbef875e^&authority_info=CIYfDDssAw86Y+vfCm33aafI9AvN5zgU8yC/a+pog0aK54MR5d/WHtKwz4Yo4xmU^" ^
  -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-ek.jdy.com^" ^
  -H ^"access_token: 1760924364283f6adb7dfefbfbef875e^" ^
  -H ^"accountId: 1675743896569628608^" ^
  -H ^"groupName: ns-isv5^" ^
  --data-raw ^"^{^\^"pageindex^\^":1,^\^"pagesize^\^":10,^\^"entityName^\^":^\^"wg_project_files^\^",^\^"selectProperties^\^":^\^"number,protype.name,creator.name,enable,wg_progressstatus,projectstatus,projectgrou,project_archive_index,hbasedatacustomer^\^",^\^"orQfilters^\^":^[^{^\^"property^\^":^\^"number^\^",^\^"cp^\^":^\^"like^\^",^\^"value^\^":^\^"^%^1031^测^试^项^目^%^\^"^},^{^\^"property^\^":^\^"name^\^",^\^"cp^\^":^\^"like^\^",^\^"value^\^":^\^"^%^1031^测^试^项^目^%^\^"^},^{^\^"property^\^":^\^"hproshortname^\^",^\^"cp^\^":^\^"like^\^",^\^"value^\^":^\^"^%^1031^测^试^项^目^%^\^"^},^{^\^"property^\^":^\^"hproaddr^\^",^\^"cp^\^":^\^"like^\^",^\^"value^\^":^\^"^%^1031^测^试^项^目^%^\^"^},^{^\^"property^\^":^\^"contractno^\^",^\^"cp^\^":^\^"like^\^",^\^"value^\^":^\^"^%^1031^测^试^项^目^%^\^"^},^{^\^"property^\^":^\^"hbusunit^\^",^\^"cp^\^":^\^"like^\^",^\^"value^\^":^\^"^%^1031^测^试^项^目^%^\^"^},^{^\^"property^\^":^\^"hbasedatacustomer.name^\^",^\^"cp^\^":^\^"like^\^",^\^"value^\^":^\^"^%^1031^测^试^项^目^%^\^"^}^],^\^"andQfilters^\^":^[^{^\^"property^\^":^\^"enable^\^",^\^"cp^\^":^\^"=^\^",^\^"value^\^":^\^"1^\^"^}^]^}^"

分享文章
最近修改: 2025-11-04