简要描述:

  • 物料信息标准接口

请求URL:

  • api/v1/get-materials

请求方式:

  • GET

参数:

参数名必选类型说明
login_tokenstr通行证
start_datedate开始时间(示例:2023-01-01)
end_datedate结束时间(示例:2023-03-01)
wh_typestr类型(型材:wh_bar,玻璃:wh_glass,配件:wh_addon)

返回示例

{    "status": 0,    
    "message": "ok",    
    "data": [
        {            
        "id": 2,            
        "name": "凹弧锁",            
        "bom_code": "bm-0101",            
        "color": "银拉丝",            
        "spec": "xxxx",            
        "unit": "",            
        "inventory": "31977.000",            
        "note": ""
        }
    ]
}

返回参数说明

参数名类型说明
codeint状态码 0成功 1失败
messagestr返回信息
dataarray客户数据

型材

参数名类型说明
idint物料id
namestr物料名称
bom_codestr物料编码
colorstr颜色
thickstr厚度
lengthstr长度
unitstr单位
inventorystr库存数量
notestr备注

玻璃

参数名类型说明
idint物料id
namestr物料名称
bom_codestr物料编码
colorstr颜色
specstr规格
lengthstr长度
widthstr宽度
inventorystr库存数量
notestr备注

配件

参数名类型说明
idint物料id
namestr物料名称
bom_codestr物料编码
colorstr颜色
specstr规格
unitstr单位
inventorystr库存数量
notestr备注



永利·集团累计为
7368555
位用户提供服务

客服热线

联系电话:400-1567-080

微信咨询

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

公众号

扫一扫
关注官方公众号

抖音号

扫一扫
关注官方抖音号