文档中心 > 超级品牌-CPFR样例文档

补货单满足方式生产过程更新

更新时间:2019/07/11 访问次数:386

商家推送当前补货单满足方式生产过程更新到ASCP

ASCP_PRODUCE_REPLENISHMENT_PLAN_ORDER_CALLBACK

XML格式请求报文如下:

<request>
    <gmt_create>2019-07-04 14:34:30</gmt_create>
    <biz_type>70000</biz_type>
    <repl_order_no>BH190704000011966223</repl_order_no>
    <supplier_id>89347397</supplier_id>
    <to_produce_quantity>10</to_produce_quantity>
    <producing_quantity>10</producing_quantity>
    <onhand_quantity>20</onhand_quantity>
    <canceled_quantity>10</canceled_quantity>
    <unique_code>1.0</unique_code>
</request>

成功响应报文:

<response><success>true</success></response>

失败响应报文:

<response>
    <success>false</success>
    <errorCode>S0005</errorCode>
    <errorMsg>参数错误:生产进度幂等重复性检查失败,重复键:1.0</errorMsg>
</response>

JSON格式请求报文如下:

{
    "gmt_create": "2019-07-04 14:34:30",
    "biz_type": "70000",
    "repl_order_no": "BH190704000011966223",
    "supplier_id": "89347397",
    "to_produce_quantity": "10",
    "producing_quantity": "10",
    "onhand_quantity": "20",
    "canceled_quantity": "10",
    "unique_code": "1.0"
  }

成功响应报文:

{"success":"true"}

失败响应报文:

{
    "success": "false",
    "errorCode": "S0005",
    "errorMsg": "参数错误:生产进度幂等重复性检查失败,重复键:1.0"
}

FAQ

关于此文档暂时还没有FAQ
返回
顶部