/erp/sc/routing/storage/wareHouseBin/switchStatus{
"operation": {
"method": "POST",
"path": "/erp/sc/routing/storage/wareHouseBin/switchStatus"
},
"protocol": "HTTPS",
"host": "https://openapi.lingxing.com",
"rateLimit": {
"tokenBucketCapacity": 1,
"text": ""
},
"requestExample": {
"wid": 1678,
"whbCode": "Charon",
"status": 1
}
}| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | wid | 仓库id | string | — | Required | 仓库id |
| 2 | whbCode | 仓位名称 | string | — | Required | 仓位名称 |
| 3 | status | 仓位状态 | integer | — | Required | 仓位状态:0 禁用,1 启用 |
| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | code | 状态码 | integer | 0 | Required | 状态码,0 成功 |
| 2 | message | 信息提示 | string | success | Required | 信息提示 |
| 3 | error_details | 错误信息 | array<object> | — | Required | 错误信息 |
| 3.1 | errorMsg | 错误信息 | string | 1:失败,: | Required | 错误信息 |
| 3.2 | is_error | 是否失败 | string | 1:失败,0:操作成功 | Required | 是否失败 |
| 3.3 | ids | 失败的仓位id | array<any> | 1:失败,: | Required | 失败的仓位id |
| 4 | request_id | 请求链路id | string | D17B0688-C52D-1BA9-1BCC-50AA00058A3F | Required | 请求链路id |
| 5 | response_time | 响应时间 | string | 2022-08-23 16:56:31 | Required | 响应时间 |
| 6 | data | data | array<object> | — | Required | |
| 6.1 | successMsg | 成功信息 | string | 1:失败, | Required | 成功信息 |
The 启用、禁用仓位 API (/erp/sc/routing/storage/wareHouseBin/switchStatus) 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.