POST city/v3/QualifiedMattersH5/GetRegionByToNautica

通过经纬度获取地区 [v2.0.8]

Request

URI Params

None.

Body Params

经纬度

RangeWWModel
字段名字段说明字段类型附加信息
Longitude

经度

decimal number

None.

Latitude

纬度

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "Longitude": 1.1,
  "Latitude": 2.1
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'RangeWWModel'.

Response

APITResultOfRegionAppModel
字段名字段说明字段类型附加信息
Data

RegionAppModel

None.

Ret

返回结果(0-成功;>0-失败) ret=0 成功返回/ret=1 参数错误/ret=2 频率受限 /ret=3 Token无效 /ret=4 服务器内部错误 /ret=5 用户操作错误 / ret=6 停机维护 / ret=7 身份失效

integer

None.

ErrCode

错误代码,因功能而异

integer

None.

Msg

返回信息

string

None.

SeqId

请求序列

integer

None.

InfoMsg

API附加信息

string

None.

application/json, text/json

Sample:
{
  "Data": {
    "CityID": "1",
    "CityName": "sample string 2",
    "CountyID": "3",
    "CountyName": "sample string 4",
    "TownID": "5",
    "TownName": "sample string 6",
    "VillageID": "7",
    "VillageName": "sample string 8",
    "WorkGridID": "9",
    "WorkGridName": "sample string 10",
    "BaseGridID": "11",
    "BaseGridName": "sample string 12"
  },
  "Ret": 1,
  "ErrCode": 2,
  "Msg": "sample string 3",
  "SeqId": 4,
  "InfoMsg": "sample string 5"
}