send-message/send-location

Description

  • Send location information

Request URL

  • http://127.0.0.1:8888/api/

Request Method

  • POST

Parameters

Parameter NameRequiredParameter TypeDescription
typeYesintAPI ID
userNameYesstringReceiver's wxid
longitudeYesdoublelongitude
latitudeYesdoublelatitude
labelYesstringGeographic location (large)
poiNameYesstringGeographic location (small)
poiIdYesstringTencent Map ID
isFromPoiListYesboolWhether from poi list

Request Example

 {
  "type": 10022,
  "userName": "filehelper",
  "longitude": 104.56634521484375,
  "latitude": 38.00156021118164,
  "label": "Alashan Zuoqi",
  "poiName": "Qirigeduhuge, Tengger Eliisi Town, Alashan Zuoqi",
  "poiId": "17209047574645427176",
  "isFromPoiList": false
 } 

Return Example

  {
    "data": {
      "status": 0,
      "desc": "",
    }
  }

Return Parameter Description

Parameter NameParameter TypeDescription
error_codeintError code
descriptionstringError Description
datajsonBusiness data

Remark