现存量查询
GET
/api/currentstock/batch_get
适用版本:支持U8V12.0 及更高版本
使用场景:供销存应用
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'https://api.yonyouup.com/api/currentstock/batch_get?from_account&to_account&app_key=&token='
响应示例响应示例
{
"errcode": "string",
"errmsg": "string",
"page_index": "string",
"rows_per_page": "string",
"row_count": "string",
"page_count": "string",
"whcode": "string",
"whname": "string",
"invcode": "string",
"invname": "string",
"invstd": "string",
"invccode": "string",
"invcname": "string",
"free1": "string",
"free2": "string",
"free3": "string",
"free4": "string",
"free5": "string",
"free6": "string",
"free7": "string",
"free8": "string",
"free9": "string",
"free10": "string",
"batch": "string",
"qty": 0,
"stopqty": 0,
"inqty": 0,
"transinqty": 0,
"inqtysum": 0,
"outqty": 0,
"transoutqty": 0,
"outqtysum": 0,
"disableqty": 0,
"availqty": 0,
"mdate": 0,
"vdate": 0,
"massdate": 0,
"massunitname": 0,
"expirationdate": 0,
"expiratdatecalcu": 0,
"batchproperty1": 0,
"batchproperty2": 0,
"batchproperty3": 0,
"batchproperty4": 0,
"batchproperty5": 0,
"batchproperty6": "string",
"batchproperty7": "string",
"batchproperty8": "string",
"batchproperty9": "string",
"batchproperty10": "string"
}
请求参数
Query 参数
from_account
调用方id
to_account
提供方id
app_key
应用编码
token
全局访问唯一识别码
ds_sequence
可选
page_index
页号
rows_per_page
每页行数
whcode_begin
起始仓库编码
whcode_end
结束仓库编码
whname
仓库名称关键字
invcode_begin
起始存货编码
invcode_end
结束存货编码
invname
存货名称关键字
batch
批号