Skip to content
On this page

5.1 获取一级地址 (废弃)

接口说明:

MethodURLContentType
GET/api/restful/area/provincesapplication/json

返回结果说明:

参数类型说明描述
idstring区域编号
namestring区域名称

请求参数示例:

/api/restful/area/provinces

返回数据示例:

json
{
    "result": [{
        "id": "110000",
        "name": "北京"
    }, {
        "id": "120000",
        "name": "天津"
    }, {
        "id": "130000",
        "name": "河北省"
    }],
    "success": true,
    "errormsg": "",
    "errorcode": "0",
    "requestId": "fb1411daf4f5413abe93d5c29e416331"
}