May 19, 2021 WeChat Mini Program Development Document
This document describes messages or events received on the server side, see Message Push for details.
Query the rider's current location information
Property | Type | Description |
---|---|---|
ToUserName | string | Express company small program UserName |
FromUserName | string | WeChat team's OpenID (fixed value) |
CreateTime | number | Event time, Unix timestamp |
MsgType | string | Message type, pinned to event |
Event | string | The event type, fixed to transport_get_agent_pos, is case insensescies |
shopid | string | Merchant id, assigned by a distribution company, can dev_id or appkey |
shop_order_id | string | The ID that uniquely identifies the order and is generated by the merchant |
shop_no | string | Merchant store number, registered on the distribution company side |
waybill_id | string | Delivery order id |
Property | Type | The default | Required | Description |
---|---|---|---|---|
ToUserName | string | Is | Return as is fromUserName in the request | |
FromUserName | string | Is | Express company small program UserName | |
CreateTime | number | Is | Event time, Unix timestamp | |
MsgType | string | Is | Message type, pinned to event | |
Event | string | Is | The event type, fixed to transport_get_agent_pos, is case insensescies | |
resultcode | number | Is | Error code | |
resultmsg | string | Is | The error description | |
Lng | number | Is | Longe, Mars coordinates, accurate to 6 bits after the scale | |
lat | number | Is | Latitude, Mars coordinates, accurate to 6 places after the scale | |
distance | number | Is | And destination distance, picked up in delivery needs to be returned, per meter | |
reach_time | number | Is | Expect how long remaining delivery time, units of seconds, picked up delivery needs to be returned, such as 5 minutes after delivery, fill 300 |