基本信息
- 用途说明:查询生产领料(单据标识:wg_new_inv_pick_bill)
- 请求方式:POST
- 请求地址:https://api.kingdee.com/weigusoft/wg_prd/wg_productionManagementCommonApi?access_token=
请求参数
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 |
body参数
| 参数名称 | 必选 | 类型 | 说明 |
|---|---|---|---|
| api_name | true | String | 接口标识,默认-PRD_PICK |
| api_method_name | true | String | 默认-LIST |
| pageindex | true | Number | 当前页(默认1) |
| pagesize | true | Number | 每页显示条数(默认10,最大100) |
| search | true | String | 模糊搜索-单号/领料部门/物料编码/物料名称/规格 |
| deptid | true | String | 部门 |
| bdate | true | String | 单据日期开始时间 |
| edate | true | String | 单据日期结束时间 |
| creatorid | true | String | 制单人id |
| billstatus | true | String | 审核状态,Z:未审核 C:已审核 |
| billstockid | true | String | 仓库 |
| empid | true | String | 领料人 |
请求示例
{
"api_name": "PRD_PICK",
"api_method_name": "LIST",
"pageindex": 1,
"pagesize": 10,
"search": "",//模糊搜索
"deptid": "",//部门
"bdate": "2025-02-01",//单据日期开始时间
"edate": "2025-02-28",//单据日期结束时间
"creatorid": "",//制单人
"billstatus": "Z",//审核状态,Z:未审核 C:已审核
"billstockid": "",//仓库
"empid": ""//领料人,
}
响应示例
{
"countQty": 1,
"data": [
{
"id": "2147238060570468352",
"billNo": "SCLLN-WG-20250210-000001",//单据编号
"billDate": "2025-02-10 00:00:00.0",//单据日期
"billStatus": "Z",//单据状态
"billSource": "SCM",//单据来源
"billStatusName": "未审核",
"billSourceName": "WEB录入",
"llrId": "2112328019375832064",
"llrName": "测试人员",//领料人
"deptId": "1822372816251631616",
"deptName": "总仓",//部门
"storeName": "",//仓库
"cgyId": "",
"cgyName": "",//仓管员
"zdrId": "6688114",
"zdrName": "isv渠道",//制单人
"shrName": "",//审核人
"kinds": "1",//种类
"qtys": "14"//数量
}
],
"count": 1,
"sumcost": "0"
}