数据系统项目
  1. 测试接口
数据系统项目
  • dim层接口
  • dwd层接口
  • dws层接口
  • cfg数据表
  • dim层关联表接口
  • 测试接口
    • 获取品牌列表
      GET
    • 获取品牌详情
      GET
    • 获取地区信息
      GET
    • 获取地区信息 - 非查询
      GET
    • 获取品牌的品类
      GET
    • 获取企业list
      GET
    • 获取企业详情数据
      GET
  • ext接口
    • 品牌别名列表接口
      GET
  1. 测试接口

获取地区信息 - 非查询

开发中
GET
api/v1/area/type

请求参数

Query 参数
area_type
string 
必需
country,region,province,city,district 五个固定的值;country国家,region区域,province省,city市,district区/县/镇
示例值:
city
page_size
string 
必需
示例值:
1000
current_page
string 
必需
示例值:
1

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'api/v1/area/type?area_type=city&page_size=1000&current_page=1'

返回响应

🟢200成功
application/json
Body
code
integer 
必需
data
array [object {12}] 
必需
base_area_id
null 
可选
base_city_id
null 
可选
base_province_id
null 
可选
country_area
null 
可选
country_code
string 
可选
country_name
string 
可选
country_population
null 
可选
created_at
string 
可选
deleted_at
null 
可选
id
integer 
可选
status
integer 
可选
updated_at
null 
可选
message
string 
必需
示例
{
  "code": 0,
  "data": [
    {
      "base_area_id": null,
      "base_city_id": null,
      "base_province_id": null,
      "country_area": null,
      "country_code": "2757",
      "country_name": "格林纳达",
      "country_population": null,
      "created_at": "Fri, 23 Oct 2009 07:58:19 GMT",
      "deleted_at": null,
      "id": 10,
      "status": 1,
      "updated_at": null
    }
  ],
  "message": "success"
}
上一页
获取地区信息
下一页
获取品牌的品类
Built with