基本信息

Item Info
URL /nsc/v1/online-business-city
Method GET

接口输入参数

  • 其他必传参数请参考接口规范
参数名 必选 类型 说明
channel string 渠道,系统会对 channel 和 app_id 做相关性校验
business string 业务,当前只支持 PE, 默认 PE
service string 服务,当前只支持 NIO_CHARGE, 默认 NIO_CHARGE

备注:business 和 service 可以不传,但是如果传入 service 必须要传 business

返回示例

{
   "result_code":"success",
   "data":{
      "business_city_info":{
         "PE":{
            "NIO_CHARGE":[
               {
                  "name":"合肥市",
                  "city_code":"340100",
                  "status":0,
                  "service_level":0
               }
            ]
         }
      },
      "request_id":"0a6f981aj9xvewih_23",
      "server_time":1510558306
   }
}

返回参数说明

类型 说明
request_id string 见 API 规范
result_code string 见 API 规范
message string 见 API 规范
data object 见 API 规范
-- business_city_info object 业务城市信息, 最外层业务(对应传入参数中的 business ),中间是服务名称(对应传入参数中的 service ),内部是上线城市信息
---- status int 0: 未上线, 1: 已上线
---- service_level int 0: A级城市, 1: B级城市

results matching ""

    No results matching ""