Electronic single face api interface, docking Raiders (rookie, SF, courier birds, fight a lot)

At present a single face of China's electronic interfaces There are four main ways, namely electronic courier companies face a single interface to express single face birds electronic interfaces, electronic face rookie single interface, and a lot of fight side single electronic interface.

About Electronic single face:

       Electronic surface by a thermal paper by a paper printout stream side single service stream. By thermally induced lift 4-6 times the display of text, print the print speed faster than conventional needle. Embedded in a single interface to electronic surface to form their own system, on the website, you can print e-operate in their own side single platform.

Electronic applications including surface single-side single electronic content and electronic interfaces single face services, optimization services through the integration platform, can reduce the limitations on electronic surface by the application of electronic plane ticket wider use of more convenient and high-quality. Electronic surface by a single number is the seller of the courier companies to buy. The courier company will give to a paragraph, then the seller in this segment of the number, you can play a single operation on the computer.

Electronic side single style:

At present a single face of China's electronic interfaces There are four main ways, namely electronic courier companies face a single interface to electronic courier birds face a single interface rookie single electronic interface and the fight face a lot of electronic surface Single Interface:

1, Express Interface

The interface developed by each individual courier company, for business. Merchant account application must first register butt, birds and express delivery company to determine the appropriate network and specific information and express delivery companies to embrace the pieces, but every business contact a courier company on the need for a docking. The process is simple, but slightly restricted range of applications, using different business courier company, courier companies need to apply for various docking.

2, a single plane interface to the electronic novice

Rookie interface when using a butt of a four-way, EMS, home delivery, Debon fifteen courier companies, but can not dock with SF. Businesses launched on the Web to apply for docking rookie, rookie to transfer service requests to the appropriate courier company, courier companies and then contact the merchant to confirm the specific details of the cooperation, thermal printing paper provided by the courier company, the printer can also be made by the merchants buy their own corresponding outlets provided. After completion of the electronic printing surface by surface number produced from a single print network novice, Express embrace the corresponding point for delivery member.

3, Express birds face a single electronic interfaces

Bird Express Interface is also support for more than 30 courier companies (up to a four-way, BES, postal, SF, Nadu, etc.), and can interface with SF, SF can choose to use electronic surface by courier service or birds when docking with SF the electronic side single service. Express birds face a single electronic interface independent electricity suppliers, warehousing and logistics platform, customers choose express delivery company in the network and the birds online delivery. After receiving the delivery birds data obtained by courier, the courier company notifies the corresponding appropriate outlets Lanshou be delivered. After the success of the next single, express courier birds can also be monitored path, enabling customers to view.

4, a lot of electronic fight side single Interface

Fight fight a lot of the interface is a lot of 2019 the newly developed logistics business (mainly to fight against a lot of business), has now reached a three-way access (tact, Shen Tong, Tong, rhyme), BES, postal services. A lot of businesses on the network launched to fight docking application, a lot of fight to transfer service requests to the appropriate courier company, courier companies and then contact the merchant to confirm the specific details of the cooperation.

Rookie and express the birds for a wide range of electronic single-interface platform surface, eliminating the need for each individual docking courier company when businesses use various courier companies face a single electronic cumbersome, overlapping their business both have their own outstanding features and applicability, provide the appropriate courier service for the different needs of customers.

Interface definition and description

Because the current electronic delivery of birds support surface with respect to a single interface to other family has certain advantages; so the following major expansion in order to express the birds as an example described them out. Api interface request Address: Express birds

Request mode: POST 

Encoding: UTF-8

System-level parameters (public parameters)

Example Request:

{
                          "OrderCode": "012657018199",
                          "ShipperCode": "SF",
                          "PayType": 1,
                          "MonthCode": "1234567890",
                          "ExpType": 1,
                          "Cost": 1.0,
                          "OtherCost": 1.0,
                          "Sender": {
                            "Company": "LV",
                            "Name": "Taylor",
                            "Mobile": "15018442396",
                            "ProvinceName ":" Shanghai ", 
                            " ExpAreaName ":" Qingpu District "
                            " the CityName ":" Shanghai ",
                            " Address ":" Pearl Road "
                          },
                          "Receiver": {
                            "Company": "GCCUI",
                            "Name": "Yann",
                            "Mobile": "15018442396",
                            "ProvinceName": "北京",
                            "CityName": "北京市",
                            "ExpAreaName": "朝阳区",
                            "Address": "三里屯街道"
                          },
                          "Commodity": [
                            {
                              "GoodsName": "鞋子",
                              "GoodsQuantity": 1,
                              "GoodsWeight": 1.0
                        },
                        {
                           "GoodsName": "衣服",
                           "GoodsQuantity": 1,
                           "GoodsWeight": 1.0
                        },
                          ],
                          "AddService": [
                            {
                              "Name": " INSURE ",
                              "Value": "1000"
                        },
                            {
                              "Name": "COD",
                              "Value": "1020"
                        " CustomerID ": "1234567890"
                            }
                          ],
                          "Weight": 1.0,
                          "Quantity": 1,
                          "Volume": 0.0,
                          "Remark": "小心轻放"
                        }

  Returning to the example:

失败:
                           {
                              "EBusinessID": "1237100",
                              "ResultCode": "106",
                              "Reason": "该订单号已下单成功",
                              "UniquerRequestNumber":"5e66486b-8fbc-4131-b875-9b13d2ad1354"
                          }

                  成功:
                         {
                            "EBusinessID": "1237100",
                            "Order": {
                              "OrderCode": "012657700387",
                              "ShipperCode": "HTKY",
                              "LogisticCode": "50002498503427",
                              "MarkDestination": "Beijing - Chaoyang (Beijing -1)" 
                              "OriginCode": "200000", 
                              "OriginName": "Shanghai distribution center", 
                              "PackageCode": "Beijing" 
                            }, 
                            "PrintTemplate": "Here Print template HTML content omitted ", 
                            " EstimatedDeliveryTime ":" 2016-03-06 ", 
                            " success ": to true, 
                            " ResultCode ":" 100 ", 
                            " Reason ":" success " 
                          }

  More demo can log courier birds inquiry

Guess you like

Origin www.cnblogs.com/kdn2019/p/11413038.html