/erp/sc/routing/data/local_inventory/category{
"operation": {
"method": "POST",
"path": "/erp/sc/routing/data/local_inventory/category"
},
"protocol": "HTTPS",
"host": "https://openapi.lingxing.com",
"rateLimit": {
"tokenBucketCapacity": 1,
"text": ""
},
"requestExample": {
"offset": 0,
"length": 1000,
"ids": [
1,
2,
3
]
},
"responseExample": {
"code": 0,
"message": "success",
"error_details": [],
"request_id": "83FD7703-B573-4BE0-058B-7D34A94EBD4E",
"response_time": "2020-05-18 11:23:47",
"data": [
{
"cid": 1,
"title": "分类1",
"parent_cid": 0,
"category_code": "Bo135152"
},
{
"cid": 2,
"title": "分类2",
"parent_cid": 0,
"category_code": "Bo135152"
}
],
"total": 130
}
}| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | offset | 分页偏移量 | integer | — | 可选 | 分页偏移量,默认0 |
| 2 | length | 分页长度 | integer | — | 可选 | 分页长度,默认1000,上限1000 |
| 3 | data | data | object | — | 可选 | |
| 3.1 | ids | 分类ID | array<any> | — | 可选 | 分类ID |
| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | code | 状态码 | integer | — | 必填 | 状态码,0 成功 |
| 2 | message | 消息提示 | string | success | 必填 | 消息提示 |
| 3 | error_details | 错误信息 | array<any> | — | 必填 | 错误信息 |
| 4 | request_id | 请求链路id | string | 83FD7703-B573-4BE0-058B-7D34A94EBD4E | 必填 | 请求链路id |
| 5 | response_time | 响应时间 | string | 2020-05-18 11:23:47 | 必填 | 响应时间 |
| 6 | data | 返回数据 | array<object> | — | 必填 | 返回数据 |
| 6.1 | cid | 分类ID | integer | 2 | 必填 | 分类ID |
| 6.2 | parent_cid | 父级分类ID | integer | — | 必填 | 父级分类ID |
| 6.3 | title | 分类名称 | string | 111 | 必填 | 分类名称 |
| 6.4 | category_code | 分类简码 | string | Bo135152 | 必填 | 分类简码 |
领星ERP的接口:查询产品分类列表(/erp/sc/routing/data/local_inventory/category),由轻易云数据集成平台 API 资产管理模块整理收纳,并随领星ERP版本更新同步更新。