批量获取计量单位信息
GET
/api/unit/batch_get
适用版本:支持U8V12.0 及更高版本
使用场景:基础数据同步或前端展示
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'https://api.yonyouup.com/api/unit/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",
"code": "string",
"name": "string",
"group_code": "string",
"main_flag": true,
"changerate": 0,
"timestamp": 0
}
请求参数
Query 参数
from_account
调用方id
to_account
提供方id
app_key
应用编码
token
全局访问唯一识别码
ds_sequence
可选
page_index
页号
rows_per_page
每页行数
code_begin
起始编码
code_end
结束编码
name
名称关键字
timestamp_begin
起始时间戳
timestamp_end
结束时间戳
返回响应
修改于 2021-11-15 13:06:26