WMS 调用该接口,通过 OAID 查询解密后的收件人信息
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
request | Request | 可选 | |||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
response | Response | ||
|
1 2 3 4 5 6 7 8 9 10 11 | QimenClient client = new DefaultQimenClient(url, appkey, secret); ReceiverinfoQueryRequest req = new ReceiverinfoQueryRequest(); req.setCustomerId( "stub-cust-code" ); req.setVersion( "2.0" ); req.setOaid( "订单收件人 ID, string (50)" ); req.setDeliveryOrderCode( "出库单号, string (50) , 必填" ); req.setOwnerCode( "货主ID, string (50)" ); req.setWarehouseCode( "WS1231,string (64)" ); req.setScene( "使用场景, string(10),必填" ); ReceiverinfoQueryResponse rsp = client.execute(req); System.out.println(rsp.getBody()); |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | < response > < flag >success|failure,必填</ flag > < code >响应码</ code > < message >响应信息</ message > < oaid >订单收件人 ID, string (50)</ oaid > < deliveryOrderCode >出库单号, string (50) , 必填</ deliveryOrderCode > < receiverInfo > < oaid >订单收件人 ID, string (50)</ oaid > < name >姓名, string (50) , 必填</ name > < tel >固定电话, string (50)</ tel > < mobile >移动电话, string (50) , 必填</ mobile > < countryCode >国家二字码,string(50)</ countryCode > < province >省份, string (50) , 必填</ province > < detailAddress >详细地址, string (200) , 必填</ detailAddress > < city >杭州</ city > < district >余杭区</ district > < town >五常街道</ town > </ receiverInfo > </ response > |
1 2 3 4 5 6 | < error_response > < code >50</ code > < msg >Remote service error</ msg > < sub_code >isv.invalid-parameter</ sub_code > < sub_msg >非法参数</ sub_msg > </ error_response > |
错误码 | 错误描述 | 解决方案 |
---|