基本信息
- 用途说明:费用归集详情(wg_prd_cost_collect)
- 请求方式:POST
- 请求地址:https://api.kingdee.com/weigusoft/wg_cost/loadData?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_cost_collect |
| id | true | String | 单据id |
| level | false | String | 基础资料查到哪一层,例:"1" |
| onlyBasic | false | String | 是否只获取基本信息,名称和编码 |
| selectProperties | true | String | 查询字段属性,空查所有字段 |
请求示例
响应示例
curl:
curl --location --request POST 'https://api.kingdee.com/weigusoft/wg_cost/loadData?access_token=1773538584aefabf5cdc22dbecbea65d&authority_info=5WrG/TIIn2mBi1i5zjz+p+ochGEpV2UCp+eExRSkMnuQmTSvuzxKWR8RRaynxAog' \ --header 'Appuserid: 10102023' \ --header 'X-GW-Router-Addr: https://tf-ek.jdy.com' \ --header 'access_token: 1773538584aefabf5cdc22dbecbea65d' \ --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 '{ "entityName": "wg_prd_cost_collect", "id": "2448081557601245184", "selectProperties": "", "onlyBasic": false, "level": "2" }'