batchproperty/batch_get


目录

[隐藏]

1.接口说明

1.1接口描述

     批次档案

1.2适用版本

     支持U8V12.0 及更高版本

2.使用场景

其他

3.接口调用说明

3.1请求说明

url https://api.yonyouup.com/api/batchproperty/batch_get
格式 JSON
https请求方式 GET
编码类型 UTF-8


3.2url参数说明

参数 是否必填 类型 描述
from_account string 调用方id
to_account string 提供方id
app_key string 应用编码
token string 全局访问唯一识别码
ds_sequence number 数据源序号(默认取应用的第一个数据源)
page_index string 页号
rows_per_page string 每页行数
invCode string 存货编码
batch string 批号
property_guid string GUID

3.3请求示例

GET https://api.yonyouup.com/api/batchproperty/batch_get?from_account=openapi_dev&to_account=openapi_ent&app_key=opa6fdd4bea98b95ad7&token=843d03f66e6544e19707ccec11030296&tradeid=c0f7288e77b811e591c702004c4f4f50


3.4返回参数说明

参数说明 类型 参数路径 描述
errcode string   错误码,0 为正常。
errmsg string   错误信息。
page_index string   页号
rows_per_page string   每页行数
row_count string   总行数
page_count string   页数
property_guid string GUID
cBatchProperty1 number 属性1
cBatchProperty1 number 属性2
cBatchProperty2 number 属性3
cFree1 string 自由项1
cFree2 string 自由项2
cFree3 string 自由项3
cFree4 string 自由项4
cInvCode string 存货编码
pubufts string 时间戳

3.5正确返回示例

JSON示例:

application/json;charset=UTF-8
{
	"errmsg":"",
	"errcode":"0",
	"page_count":"1",
	"row_count":"1",
	"page_index":"1",
	"rows_per_page":"20",
	"batchproperty":[
		{
			"property_guid":"F98D835E-6778-4609-AB67-A447BD7CA2A4",
			"cBatchProperty1":"100.00000000",
			"cBatchProperty2":"100.00000000",
			"cFree8":"8",
			"cInvCode":"1",
			"cFree3":"3",
			"cBatch":"1000",
			"cFree9":"9",
			"cFree7":"7",
			"cBatchProperty3":"100.00000000",
			"cFree1":"1",
			"cFree6":"6",
			"cFree10":"10",
			"cFree4":"4",
			"pubufts":"0000000014B6E21B",
			"cFree2":"2",
			"cFree5":"5"
		}
	]
}

3.6错误返回示例

application/json;charset=UTF-8
{
	"errcode" : "30021",
	"errmsg" : "此应用未上线"
} 

4.API测试

API测试 SDK下载