/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
}
}| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | offset | 分页偏移量 | integer | — | Optional | 分页偏移量,默认0 |
| 2 | length | 分页长度 | integer | — | Optional | 分页长度,默认1000,上限1000 |
| 3 | data | data | object | — | Optional | |
| 3.1 | ids | 分类ID | array<any> | — | Optional | 分类ID |
| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | code | 状态码 | integer | — | Required | 状态码,0 成功 |
| 2 | message | 消息提示 | string | success | Required | 消息提示 |
| 3 | error_details | 错误信息 | array<any> | — | Required | 错误信息 |
| 4 | request_id | 请求链路id | string | 83FD7703-B573-4BE0-058B-7D34A94EBD4E | Required | 请求链路id |
| 5 | response_time | 响应时间 | string | 2020-05-18 11:23:47 | Required | 响应时间 |
| 6 | data | 返回数据 | array<object> | — | Required | 返回数据 |
| 6.1 | cid | 分类ID | integer | 2 | Required | 分类ID |
| 6.2 | parent_cid | 父级分类ID | integer | — | Required | 父级分类ID |
| 6.3 | title | 分类名称 | string | 111 | Required | 分类名称 |
| 6.4 | category_code | 分类简码 | string | Bo135152 | Required | 分类简码 |
The 查询产品分类列表 API (/erp/sc/routing/data/local_inventory/category) of 领星ERP is curated by the API asset management module of the Qeasy Cloud data integration platform and kept in sync with 领星ERP version updates.
Qeasy ships with prebuilt adaptation for this API — contact us to start configuring data integration.