开放平台

简要描述:

  • 仓库-材料列表

请求URL:

  • 配件 http://lbl-open.thinkerx.com/api/lbl/warehouses/wh-addons

  • 板材 http://lbl-open.thinkerx.com/api/lbl/warehouses/wh-panels

  • 玻璃纱网 http://lbl-open.thinkerx.com/api/lbl/warehouses/wh-glasses

  • 其他 http://lbl-open.thinkerx.com/api/lbl/warehouses/wh-others

  • 型材 http://lbl-open.thinkerx.com/api/lbl/warehouses/wh-bars



请求方式:

  • GET

参数:


参数名
必选类型说明
login_tokenstring通行证
factory_idstring单库工厂必填id
user_idstring操作人
namestring筛选条件:名称
page
int筛选条件:页数
per_page
int筛选条件:每页数量


请求示例


{
    "factory_id": "1",
    "login_token": "ae7e508eaf2511f0bb7c00163e18d113",
    "user_id": "1"
}

返回示例

{
    "status": 0,          // 接口状态
    "message": "ok",      // 提示信息
    "data": {             // 数据主体
        "list": [         // 配件列表
            {
                "id": 28,                          // 主键ID
                "factory_id": 1,                   // 工厂id
                "list_id": null,                   // 列表ID
                "wh_id": 0,                        // 仓位ID
                "name": "G型拉手",                 // 名称
                "color": null,                     // 颜色
                "spec": null,                      // 规格
                "unit": "个",                      // 单位
                "origin": "0",                     // 产地
                "profile_thumb_url": null,         // 型材缩略图地址
                "profile_file_url": null,          // 型材文件地址
                "min_inventory": "0.0",            // 最小库存
                "warning_inventory": "0.0",        // 预警库存
                "max_inventory": "0.0",            // 最高库存
                "rejects_inventory": "0.000",      // 不良品数量
                "freeze_inventory": "0.00",        // 冻结库存
                "cost_price": null,                // 成本价
                "sale_price": null,                // 销售价
                "kg_cost_price": null,             // 公斤成本价
                "kg_sale_price": null,             // 公斤销售价
                "wholesale_price": null,           // 批发价
                "retail_price": null,              // 零售价
                "client_price": null,              // 客户价
                "inventory": "0.000",              // 当前库存
                "can_warning_inventory": "0.0",    // 可用库存安全库存值
                "check_inventory_time": null,      // 盘点时间
                "bom_code": null,                  // BOM编码
                "color_code": "0000",              // 颜色编码
                "purchase_quantity": 0,           // 采购数量
                "photo_data": null,                // 框型图用于打印提取
                "note": "无",                      // 备注
                "barcode": null,                   // 扫描专用条码
                "update_time": null,               // 最近一次修改时间
                "inOut_time": "0000-00-00 00:00:00", // 最近一次出入库操作时间
                "out_time": null,                  // 最近一次出库时间
                "check": 0,                        // 清点标示0未1是
                "counting": 0,                     // 是否处于清点中 1代表是
                "is_component": 0,                 // 是否为构件构成1为是
                "is_forbidden": 0,                 // 是否禁用
                "is_semi": 0,                      // 是否为半成品;0否,1是
                "pattern": null,                   // 花型、材质
                "thick": "0.000",                  // 厚度
                "length": "0.000",                // 长度
                "width": "0.000",                 // 宽度
                "quality": null,                   // 材质
                "is_billet": 0,                    // 是否是坯料,0:否;1是
                "is_exempt_check": 0,              // 是否免检;0否1是
                "over_purchase_ratio": "0.00",    // 采购超收率
                "purchase_date": 7,               // 采购周期
                "purchase_unit": null,             // 采购单位
                "conversion_quantity": "1.00",    // 换算值:采购单位*换算值=单位
                "brand_name": null,                // 品牌
                "model": null,                     // 型号
                "raw_price": 0,                    // 原始单价
                "purchase_confirm": 0,             // 是否已经审核采购类单价
                "plan_freeze_inventory": null,      // 领料冻结库存
                "t_bom_code": null,                // T+存货编码
                "t_warehouse_code": null,          // T+仓库编码
                "last_purchase_supplier_id": 0,   // 最后一次采购供应商
                "t_class_code": null,              // T+存货分类编码
                "ready_in_inventory": "0.00",      // 待审核入库数
                "third_party_code": null,          // 配件对接金蝶软件的编码
                "third_party_fid": null,           // 配件对接金蝶软件绑定的id
                "unit_code": null,                 // 对接金蝶软件的单位编码
                "purchase_reference_price": "0.00", // 采购参考价
                "material_id": null,               // 基础物料id
                "purchase_unit_code": null,        // 对接金蝶软件的采购单位编码
                "third_party_unit_id": null,       // 型材对接金蝶软件绑定的单位换算关系id
                "forbidden_time": null             // 禁用时间:最后一次禁用时间
            }
        ],
        "count": 23       // 总条数
    }
}

返回参数说明

参数名
类型描述
statusint状态码 0成功 1失败
messagestr返回信息
dataarray























新格尔累计为
7368555
位用户提供服务

客服热线

联系电话:400-1567-080

微信咨询

扫码在线咨询
企微官网客服在线随时答复

公众号

扫一扫
关注官方公众号

抖音号

扫一扫
关注官方抖音号