接口URL:https://api.kingdee.com/weigusoft/wg_prd/wg_prdplanlist?access_token=
Content-Type:application/json
请求方式:post
接口备注:暂无描述
请求头参数:
- 所有的接口必须携带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 |
请求体参数:
|
参数名 |
示例值 |
参数类型 |
是否必填 |
参数描述 |
|
bdate |
20250108 |
String |
是 |
开始日期 |
|
billclosestate |
C |
String |
是 |
工单状态 |
|
billenable |
10 |
String |
是 |
暂无描述 |
|
billstatus |
是 |
暂无描述 |
||
|
colourlabelid |
1991255018258335745 |
String |
否 |
颜色标签id |
|
deptid |
2117379270442498048 |
String |
是 |
车间id |
|
edate |
20250209 |
String |
是 |
结束时间 |
|
fmateriel |
2013179462274891776 |
String |
是 |
产品名称传id |
|
pageindex |
1 |
Number |
否 |
分页 |
|
pagesize |
10 |
Number |
是 |
分页 |
|
parentid |
2134368043663374336 |
String |
是 |
商品类别 |
|
productline |
2093455785227981825 |
String |
是 |
产品线 |
|
search |
|
String |
否 |
查询字段 |
|
srcbillno |
|
String |
否 |
源单编号 |
|
wgcustomer |
1916792682206867456 |
String |
是 |
客户 |
请求示例:
{"bdate":"20250108","edate":"20250209","search":"","pageindex":1,"pagesize":10,"deptid":"","billstatus":"","billenable":"","billclosestate":"C","colourlabelid":"","fmateriel":"","parentid":"","wgcustomer":"","productline":"","srcbillno":""}
相应示例:(成功200,失败201)
{
"data": {
"count": 1,
"prdData": [
{
"currentUserPermit": 0,
"serial": 10,
"id": "2134984844143322112",
"number": "GXJH-20250124-0002",
"billStatus": "已审核",
"billCloseState": "C",
"billDate": "2025-01-24 00:00:00",
"processRouteId": "GYLX-0255",
"processRouteName": "准备路线",
"scrwBillNo": "SCJG-WG-20250124-00001",
"xsBillNo": "",
"xsBillNum": "0",
"materialId": "1999983375552644096",
"materialNumber": "00009",
"materialName": "成品",
"specName": "456666",
"unitName": "个",
"unitId": "1",
"qty": 1,
"sccjId": "1697221606960547840",
"sccjName": "车间1",
"sfsxjg": "否",
"planStartDate": "2025-01-24 17:13",
"planEndDate": "2025-01-24 17:43",
"auditDate": "2025-01-24 17:13:47",
"outQty": 0.00,
"inQty": 0.00,
"remark": "",
"customerId": "0",
"productlineId": "0",
"srcbillno": "SCJG-WG-20250124-00001",
"groupName": "星蝶测试",
"auxpropId": "0",
"billDetail": [
{
"num": "10",
"gxName": "准备工序",
"procedureRatio": "0",
"relyProcedureRatio": "0",
"relyNumProcedureRatio": 0,
"rowclosestate": "C",
"gproNum": "0",
"bproNum": "0",
"proPlanNum": 1.0000000000,
"isOverdue": false,
"processTaskId": "2134984846911561732",
"processTaskNo": "GXJH-20250124-000210",
"outsource": false
}
],
"colourLabelId": "0",
"picUrl": "/jdyattachmentimage/1683187060740048426/791275939898/1683187060740048426/202410/1e538e/pulic/imageList/DGOeoueHVgjGoBwlzD/001.jpg",
"cusomFiled1": "",
"cusomfiled2": "",
"cusomfiled3": ""
}
]
},
"errorCode": "success",
"status": true,
"success": true
}