开放平台
简要描述
  • 获取通过云排版排版后的排版用量数据 (手动保存至历史或下载NC文件是自动保存至历史)

请求地址
  • https://ggtools.thinkerx.com/open-api/layout_count

请求方式
  • POST

请求参数
参数名必选类型说明
app_keystring平台签发 key
timestampstring时间戳, 精确到秒
order_idint柜柜订单 id
响应示例
{
    "status": 1,
    "msg": "请求失败",
    "data": [
        {
            "category": "多层实木",
            "color": "T01",
            "thick": 18.0,
            "width": 1000.0,
            "height": 1800.0,
            "plank_type": "surplus",
            "layout_num": 3
        },
        {
            "category": "多层实木",
            "color": "T01",
            "thick": 18.0,
            "width": 1220.0,
            "height": 2440.0,
            "plank_type": "normal",
            "layout_num": 3
        },
        {
            "category": "多层实木",
            "color": "T01",
            "thick": 18.0,
            "width": 1220.0,
            "height": 2700.0,
            "plank_type": "big_plank",
            "layout_num": 3
        },
        {
            "category": "多层实木",
            "color": "T01",
            "thick": 5.0,
            "width": 1220.0,
            "height": 2440.0,
            "plank_type": "normal",
            "layout_num": 3
        }
    ]
}
响应参数说名
参数名类型说明
statusint响应状态
msgstring响应信息
dataarray[paiban_object]按板材分类的排版用量数据
paiban_object
参数名类型说明
categorystring大板材质
colorstring颜色
thickfloat大板厚度
widthfloat大板宽度
heightfloat大板高度
plank_typestring大板类型, normal: 常规版, surplus: 预料板, big_plank: 超大板
layout_numint当前板材的排版用量
失败请求示例
  1. 订单未参与排版, 或前一次是和其他订单批量排版

    { "status": 0, "msg": "该订单未参与排版"}
  2. 查询参数列表未传柜柜订单号 order_id 参数

    { "status": 0, "msg": "order_id"}
  3. 未传有效的订单号 (0 或空字符串)

    { "status": 0, "msg": "请求传递有效的订单号"}
  4. 柜柜订单不存在

    { "status": 0, "msg": "该订单不存在"}



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

客服热线

联系电话:400-1567-080

微信咨询

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

公众号

扫一扫
关注官方公众号

抖音号

扫一扫
关注官方抖音号