Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Using java to realize automatic Identification api Interface for docking Express order number query

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly explains the "use of java to achieve automatic identification of express order number query api interface", the content of the article is simple and clear, easy to learn and understand, the following please follow the editor's ideas slowly in depth, together to study and learn "using java to achieve automatic identification api interface for docking express order number query" bar!

Application scenario

(1) when the PC application, mobile application or website application integrates the waybill logistics information query function, you only need to enter the order number to complete the query, and there is no need for the user to enter the express company.

(2) when the e-commerce website wants to query or subscribe to the waybill, it can identify the logistics company through the order number, and then subscribe to the express bird.

API parameter

I. Interface description / description

(1) the interface only identifies the waybill number and identifies one or more express companies to which it may belong.

(2) the API does not return the logistics trajectory, and users can query and subscribe to the logistics track by combining the instant query API and the subscription query interface.

(3) the interface identification will be returned to one or more express companies, and the returned data will be sorted according to the analysis results of big data.

(4) if the recognition fails, the matching result returned by the express bird is empty.

(5) the message receiving method supported by the API is HTTP POST.

(6) request address: express bird

Request system-level parameters:

Remarks: r-required (Required), O-optional (Optional), C-message this parameter can be selected under certain conditions (Conditional)

II. Interface parameters

Request content field definition:

Return parameter definition:

III. Examples

Request sample JSON

{"EBusinessID": "1109259", "Traces": [], "OrderCode": "", "ShipperCode": "SF", "LogisticCode": "118461988807", "Success": false, "Reason": null} {"EBusinessID": "1109259" with logistics trajectory "OrderCode": "," ShipperCode ":" SF "," LogisticCode ":" 118461988807 "," Success ": true," State ": 3," Reason ": null," Traces ": [{" AcceptTime ":" 08:05:37 on 2019-06-25 "," AcceptStation ":" delivery is in progress. (sender: Deng Yufu, Tel: 18718866310) [Shenzhen], "Remark": null}, {"AcceptTime": "04:01:28 on 2019-06-25", "AcceptStation": "Express is in Shenzhen distribution center, ready to be delivered to the next station Shenzhen [Shenzhen]", "Remark": null} {"AcceptTime": "01:41:06 on 2019-06-25", "AcceptStation": "Express at Shenzhen Distribution Center [Shenzhen]", "Remark": null}, {"AcceptTime": "20:18:58 on 2019-06-24", "AcceptStation": "received [Shenzhen]", "Remark": null} {"AcceptTime": "20:55:28 on 2019-06-24", "AcceptStation": "Express is in Shenzhen, ready to be delivered to Shenzhen Distribution Center [Shenzhen]", "Remark": null}, {"AcceptTime": "10:23:03 on 2019-06-25", "AcceptStation": "delivery has been signed [Shenzhen]" "Remark": null}, {"AcceptTime": "10:23:03 on 2019-06-25", "AcceptStation": "signed by [Shenzhen]", "Remark": null}]} Thank you for your reading The above is the content of "using java to realize automatic identification of express order number query api interface". After the study of this article, I believe you have a deeper understanding of the problem of using java to achieve automatic identification of express order number query api interface, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report