库存查询Json

账面库存余额查询

ParamKey字段: GoodsStocks

ParamJson字段:

参数名必选类型说明
PageSize是int每页返回个数 最大200
PageIndex是int页码
PUserCode否string存货编号 支持模糊查询
PFullName否string存货全名 支持模糊查询
KUserCode否string仓库编号 支持模糊查询
KFullName否string仓库全名 支持模糊查询
PUserCodeStr否string多个存货编号英文逗号分割 支持模糊查询
PFullNameStr否string多个存货全名英文逗号分割 支持模糊查询

Note

当库存为0时,不会返回数据。

接口状态

已完成

接口URL

http://localhost:45100/api/GraspServer/Processopen in new window

请求方式

POST

Content-Type

urlencoded

认证方式

noauth

预执行脚本

暂无预执行脚本

后执行脚本

暂无后执行脚本

成功响应示例

{
	"code": "0",
	"message": "",
	"pagecount": 1,
	"response": [
		{
			"RowNum": "行号",
			"PtypeId": "存货唯一标识",
			"KtypeID": "仓库唯一标识",
			"BlockNo": "批号",
			"ProDate": "到期日期",
			"Custom1": "存货自定义1唯一标识",
			"Custom2": "存货自定义2唯一标识",
			"Custom3": "存货自定义3",
			"Custom4": "存货自定义4",
			"Qty": "库存数量",
			"QtyOther": "库存副单位数量",
			"PUserCode": "存货编号",
			"PFullName": "存货全名",
			"KUserCode": "仓库编号",
			"KFullName": "仓库全名",
			"C1UserCode": "存货自定义1编号",
			"C1FullName": "存货自定义1全名",
			"C2UserCode": "存货自定义2编号",
			"C2FullName": "存货自定义2全名"
		}
	]
}

委托库存余额查询

ParamKey字段: CommissionStock

ParamJson字段:

参数名必选类型说明
PageSize是int每页返回个数 最大200
PageIndex是int页码
PUserCode否string存货编号 支持模糊查询
PFullName否string存货全名 支持模糊查询
BUserCode否string客户编号 支持模糊查询
BFullName否string客户全名 支持模糊查询

接口状态

已完成

接口URL

http://localhost:45100/api/GraspServer/Processopen in new window

请求方式

POST

Content-Type

urlencoded

认证方式

noauth

预执行脚本

暂无预执行脚本

后执行脚本

暂无后执行脚本

成功响应示例

{
	"code": "0",
	"message": "",
	"pagecount": 1,
	"response": [
		{
			"RowNum": "行号",
			"PtypeId": "存货唯一标识",
			"BtypeID": "客户唯一标识",
			"BlockNo": "批号",
			"ProDate": "到期日期",
			"Custom1": "存货自定义1唯一标识",
			"Custom2": "存货自定义2唯一标识",
			"Custom3": "存货自定义3",
			"Custom4": "存货自定义4",
			"Qty": "库存数量",
			"PUserCode": "存货编号",
			"PFullName": "存货全名",
			"BUserCode": "客户编号",
			"BFullName": "客户全名",
			"C1UserCode": "存货自定义1编号",
			"C1FullName": "存货自定义1全名",
			"C2UserCode": "存货自定义2编号",
			"C2FullName": "存货自定义2全名"
		}
	]
}

车间库存余额查询

ParamKey字段: GoodsStocksSC

ParamJson字段:

参数名必选类型说明
PageSize是int每页返回个数 最大200
PageIndex是int页码
PUserCode否string存货编号 支持模糊查询
PFullName否string存货全名 支持模糊查询
WUserCode否string车间编号 支持模糊查询
WFullName否string车间全名 支持模糊查询

接口状态

已完成

接口URL

http://localhost:45100/api/GraspServer/Processopen in new window

请求方式

POST

Content-Type

urlencoded

认证方式

noauth

预执行脚本

暂无预执行脚本

后执行脚本

暂无后执行脚本

成功响应示例

{
	"code": "0",
	"message": "",
	"pagecount": 1,
	"response": [
		{
			"RowNum": "行号",
			"PtypeId": "存货唯一标识",
			"WtypeID": "车间唯一标识",
			"BlockNo": "批号",
			"ProDate": "到期日期",
			"Custom1": "存货自定义1唯一标识",
			"Custom2": "存货自定义2唯一标识",
			"Custom3": "存货自定义3",
			"Custom4": "存货自定义4",
			"Qty": "库存数量",
			"PUserCode": "存货编号",
			"PFullName": "存货全名",
			"WUserCode": "车间编号",
			"WFullName": "车间全名",
			"C1UserCode": "存货自定义1编号",
			"C1FullName": "存货自定义1全名",
			"C2UserCode": "存货自定义2编号",
			"C2FullName": "存货自定义2全名"
		}
	]
}

委外库存余额查询

ParamKey字段: ConsignStock

ParamJson字段:

参数名必选类型说明
PageSize是int每页返回个数 最大200
PageIndex是int页码
PUserCode否string存货编号 支持模糊查询
PFullName否string存货全名 支持模糊查询
BUserCode否string加工单位编号 支持模糊查询
BFullName否string加工单位全名 支持模糊查询

接口状态

已完成

接口URL

http://localhost:45100/api/GraspServer/Processopen in new window

请求方式

POST

Content-Type

urlencoded

认证方式

noauth

预执行脚本

暂无预执行脚本

后执行脚本

暂无后执行脚本

成功响应示例

{
	"code": "0",
	"message": "",
	"pagecount": 1,
	"response": [
		{
			"RowNum": "行号",
			"PtypeId": "存货唯一标识",
			"BtypeID": "加工单位唯一标识",
			"BlockNo": "批号",
			"ProDate": "到期日期",
			"Custom1": "存货自定义1唯一标识",
			"Custom2": "存货自定义2唯一标识",
			"Custom3": "存货自定义3",
			"Custom4": "存货自定义4",
			"Qty": "库存数量",
			"PUserCode": "存货编号",
			"PFullName": "存货全名",
			"BUserCode": "加工单位编号",
			"BFullName": "加工单位全名",
			"C1UserCode": "存货自定义1编号",
			"C1FullName": "存货自定义1全名",
			"C2UserCode": "存货自定义2编号",
			"C2FullName": "存货自定义2全名"
		}
	]
}

实物仓库库存余额查询

ParamKey字段: FactGoodsStocks

ParamJson字段:

参数名必选类型说明
PageSize是int每页返回个数 最大200
PageIndex是int页码
PUserCode否string存货编号 支持模糊查询
PFullName否string存货全名 支持模糊查询
KUserCode否string仓库编号 支持模糊查询
KFullName否string仓库全名 支持模糊查询

接口状态

已完成

接口URL

http://localhost:45100/api/GraspServer/Processopen in new window

请求方式

POST

Content-Type

urlencoded

认证方式

noauth

预执行脚本

暂无预执行脚本

后执行脚本

暂无后执行脚本

成功响应示例

{
	"code": "0",
	"message": "",
	"pagecount": 1,
	"response": [
		{
			"RowNum": "行号",
			"PtypeId": "存货唯一标识",
			"KtypeID": "仓库唯一标识",
			"BlockNo": "批号",
			"ProDate": "到期日期",
			"Custom1": "存货自定义1唯一标识",
			"Custom2": "存货自定义2唯一标识",
			"Custom3": "存货自定义3",
			"Custom4": "存货自定义4",
			"Qty": "库存数量",
			"QtyOther": "库存副单位数量",
			"PUserCode": "存货编号",
			"PFullName": "存货全名",
			"KUserCode": "仓库编号",
			"KFullName": "仓库全名",
			"C1UserCode": "存货自定义1编号",
			"C1FullName": "存货自定义1全名",
			"C2UserCode": "存货自定义2编号",
			"C2FullName": "存货自定义2全名",
			"PSUserCode": "货位编号",
			"PSFullName": "货位全名",
		}
	]
}

序列号账面库存余额查询

ParamKey字段: GoodsStocksSN

ParamJson字段:

参数名必选类型说明
PageSize是int每页返回个数 最大200
PageIndex是int页码
PUserCode否string存货编号 支持模糊查询
PFullName否string存货全名 支持模糊查询
KUserCode否string仓库编号 支持模糊查询
KFullName否string仓库全名 支持模糊查询

接口状态

已完成

接口URL

http://localhost:45100/api/GraspServer/Processopen in new window

请求方式

POST

Content-Type

urlencoded

认证方式

noauth

预执行脚本

暂无预执行脚本

后执行脚本

暂无后执行脚本

成功响应示例

{
	"code": "0",
	"message": "",
	"pagecount": 1,
	"response": [
		{
			"RowNum": "行号",
			"PtypeId": "存货唯一标识",
			"KtypeID": "仓库唯一标识",
			"BlockNo": "批号",
			"ProDate": "到期日期",
			"Custom1": "存货自定义1唯一标识",
			"Custom2": "存货自定义2唯一标识",
			"Custom3": "存货自定义3",
			"Custom4": "存货自定义4",			
			"PUserCode": "存货编号",
			"PFullName": "存货全名",
			"KUserCode": "仓库编号",
			"KFullName": "仓库全名",
			"C1UserCode": "存货自定义1编号",
			"C1FullName": "存货自定义1全名",
			"C2UserCode": "存货自定义2编号",
			"C2FullName": "存货自定义2全名",
			"SN":"序列号",
			"Comment":"序列号备注"

		}
	]
}

序列号实物仓库余额查询

ParamKey字段: FactGoodsStocksSN

ParamJson字段:

参数名必选类型说明
PageSize是int每页返回个数 最大200
PageIndex是int页码
PUserCode否string存货编号 支持模糊查询
PFullName否string存货全名 支持模糊查询
KUserCode否string仓库编号 支持模糊查询
KFullName否string仓库全名 支持模糊查询

接口状态

已完成

接口URL

http://localhost:45100/api/GraspServer/Processopen in new window

请求方式

POST

Content-Type

urlencoded

认证方式

noauth

预执行脚本

暂无预执行脚本

后执行脚本

暂无后执行脚本

成功响应示例

{
	"code": "0",
	"message": "",
	"pagecount": 1,
	"response": [
		{
			"RowNum": "行号",
			"PtypeId": "存货唯一标识",
			"KtypeID": "仓库唯一标识",
			"BlockNo": "批号",
			"ProDate": "到期日期",
			"Custom1": "存货自定义1唯一标识",
			"Custom2": "存货自定义2唯一标识",
			"Custom3": "存货自定义3",
			"Custom4": "存货自定义4",			
			"PUserCode": "存货编号",
			"PFullName": "存货全名",
			"KUserCode": "仓库编号",
			"KFullName": "仓库全名",
			"C1UserCode": "存货自定义1编号",
			"C1FullName": "存货自定义1全名",
			"C2UserCode": "存货自定义2编号",
			"C2FullName": "存货自定义2全名",
			"PSUserCode": "货位编号",
			"PSFullName": "货位全名",
			"SN":"序列号",
			"Comment":"序列号备注"
		}
	]
}