/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
}
}| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | wid | 仓库id | string | — | 必填 | 仓库id |
| 2 | whbCode | 仓位名称 | string | — | 必填 | 仓位名称 |
| 3 | status | 仓位状态 | integer | — | 必填 | 仓位状态:0 禁用,1 启用 |
| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | code | 状态码 | integer | 0 | 必填 | 状态码,0 成功 |
| 2 | message | 信息提示 | string | success | 必填 | 信息提示 |
| 3 | error_details | 错误信息 | array<object> | — | 必填 | 错误信息 |
| 3.1 | errorMsg | 错误信息 | string | 1:失败,: | 必填 | 错误信息 |
| 3.2 | is_error | 是否失败 | string | 1:失败,0:操作成功 | 必填 | 是否失败 |
| 3.3 | ids | 失败的仓位id | array<any> | 1:失败,: | 必填 | 失败的仓位id |
| 4 | request_id | 请求链路id | string | D17B0688-C52D-1BA9-1BCC-50AA00058A3F | 必填 | 请求链路id |
| 5 | response_time | 响应时间 | string | 2022-08-23 16:56:31 | 必填 | 响应时间 |
| 6 | data | data | array<object> | — | 必填 | |
| 6.1 | successMsg | 成功信息 | string | 1:失败, | 必填 | 成功信息 |
领星ERP的接口:启用、禁用仓位(/erp/sc/routing/storage/wareHouseBin/switchStatus),由轻易云数据集成平台 API 资产管理模块整理收纳,并随领星ERP版本更新同步更新。