/erp/sc/routing/storage/wareHouseBin/create{
"operation": {
"method": "POST",
"path": "/erp/sc/routing/storage/wareHouseBin/create"
},
"protocol": "HTTPS",
"host": "https://openapi.lingxing.com",
"rateLimit": {
"tokenBucketCapacity": 1,
"text": ""
},
"requestExample": {
"wid": 1599,
"code": "Charon",
"type": 5
},
"responseExample": {
"code": 0,
"message": "success",
"error_details": {
"is_error": 0
},
"request_id": "9CF2D7AE-E452-1556-3C24-B3AE29BE4567",
"response_time": "2024-07-31 14:46:34",
"data": {
"code": 1,
"msg": "操作成功",
"succ_count": 1,
"error_list": []
},
"total": 0
}
}| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | wid | 仓库id | integer | — | 必填 | 仓库id |
| 2 | code | 仓位名称 | string | — | 必填 | 仓位名称 |
| 3 | type | 仓位类型 | integer | — | 必填 | 仓位类型: 5 可用 6 次品 |
| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | code | 状态码 | integer | 0 | 必填 | 状态码,0 成功 |
| 2 | message | 消息提示 | string | success | 必填 | 消息提示 |
| 3 | error_details | 错误信息 | array<any> | — | 必填 | 错误信息 |
| 4 | request_id | 请求链路id | string | FFE89896-B9C5-1634-5589-6E0F89F0E4A2 | 必填 | 请求链路id |
| 5 | response_time | 响应时间 | string | 2020-04-30 17:33:32 | 必填 | 响应时间 |
| 6 | data | data | array<any> | | 必填 |
领星ERP的接口:添加仓位(/erp/sc/routing/storage/wareHouseBin/create),由轻易云数据集成平台 API 资产管理模块整理收纳,并随领星ERP版本更新同步更新。