https://developers.weixin.qq.com/doc/store/API/ewaybill/add_suborder.html
问题描述
1、按平台接口文档 ewaybill_order_id使用 Uint64类型请求平台,平台提示:EWaybill Order ID 的数据内容是Uint64,用字符串传递参数,请确认是否正确。
{"WaybillResponseInfo":"{\"errcode\":10025020,\"errmsg\":\"EWaybill Order ID 的数据内容是Uint64,用字符串传递参数,请确认是否正确 rid: 67c194d6-43a0c742-5d52d5c8\",\"waybill_id_list\":[]}","GetPrintDataResponseInfo":null,"DefaultResponseInfo":"{\"errcode\":0,\"errmsg\":\"ok\",\"ewaybill_order_id\":\"3878012001699676166\"}"}
把ewaybill_order_id 调整为 字符串类型,平台提示:does't expect a string value。
{"WaybillResponseInfo":"{\"errcode\":47001,\"errmsg\":\"data format error, field \\\"ewaybill_order_id\\\" does't expect a string value \\\"3878004481849704448\\\" rid: 67c19316-15606bce-27ca8c89\"}","GetPrintDataResponseInfo":null,"DefaultResponseInfo":"{\"errcode\":0,\"errmsg\":\"ok\",\"ewaybill_order_id\":\"3878004481849704448\"}"}
ewaybill_order_id使用 Uint64类型没有问题。这里报错的原因是3878012001699676166电子面单号不存在。追加的前提是这个电子面单号已经取号