菜单

删除

基本信息

  • 用途说明:产品追溯号录入单据删除接口(单据标识:wg_prd_tranceinput)
  • 请求方式:POST
  • 请求地址:https://api.kingdee.com/weigusoft/wg_cost/deleteBill?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_prd_tranceinput
ids true Array 单据id

请求示例

{
    "ids": [
        "2403850678297431040"
    ],
    "entityName": "wg_prd_tranceinput"
}

响应示例

{
    "data": "操作成功",
    "errorCode": "success",
    "status": true,
    "success": true
}

curl:

curl ^"https://api.kingdee.com/weigusoft/wg_cost/deleteBill?access_token=17667199780d4cbc8ca5cc39910a9df1^&authority_info=MD7Y6R6LmmbAbSDfyZnQmNWqSfaFXo8V+hjbh6AFPd09a8CtKXrcW1zMMOuDg1LZ^" ^
  -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: 17667199780d4cbc8ca5cc39910a9df1^" ^
  -H ^"accountId: 1675743896569628608^" ^
  -H ^"groupName: ns-isv5^" ^
  --data-raw ^"^{^\^"ids^\^":^[^\^"2403850678297431040^\^"^],^\^"entityName^\^":^\^"wg_prd_tranceinput^\^"^}^"

分享文章
最近修改: 2026-01-30