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

获取品牌详情

开发中
GET
api/v1/brand

请求参数

Query 参数
brand_id
string 
可选
brand_type
integer 
0品牌,1供应商
必需
示例值:
1
brand_name
string 
可选

示例代码

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/brand?brand_id&brand_type=1&brand_name'

返回响应

🟢200成功
application/json
Body
code
integer 
必需
data
object 
必需
background_color
null 
必需
background_img
null 
必需
brand_logo
null 
必需
brand_primary
integer 
必需
brand_rank
string 
必需
brand_type
integer 
必需
categories
array [object {4}] 
必需
city_id
integer 
必需
city_level_id
integer 
必需
company_info
object 
必需
country_id
integer 
必需
created_at
string 
必需
deleted_at
string 
必需
description
string 
必需
district_id
integer 
必需
establish_time
integer 
必需
id
integer 
必需
is_authenticate
integer 
必需
name
string 
必需
province_id
integer 
必需
region_id
integer 
必需
remark
null 
必需
status
integer 
必需
updated_at
string 
必需
message
string 
必需
示例
{
  "code": 0,
  "data": {
    "background_color": null,
    "background_img": null,
    "brand_logo": null,
    "brand_primary": 0,
    "brand_rank": "",
    "brand_type": 1,
    "categories": [
      {
        "master_category_id": 6,
        "master_category_name": "Jonathan Sanchez",
        "second_category_id": 64,
        "second_category_name": "袁岚"
      }
    ],
    "city_id": 802,
    "city_level_id": 7,
    "company_info": {
      "approval_date": null,
      "business_reg_code": null,
      "business_term": null,
      "category_type": null,
      "city_id": 940,
      "company_address": "1-7-20 Saidaiji Akodacho",
      "company_contact_phone": "70-4228-9331",
      "company_email": null,
      "company_en_name": "Yuning Consultants Company Limited",
      "company_former_name": null,
      "company_industry": null,
      "company_license_number": null,
      "company_owner": null,
      "company_register_time": "Tue, 29 Dec 2009 21:44:58 GMT",
      "company_scope": null,
      "company_url": null,
      "country_id": 8,
      "description": "Navicat Monitor can be installed on any local computer or virtual machine and does not require any software installation on the servers being monitored.",
      "district_id": 2550,
      "enterprise_scale": null,
      "id": 29727,
      "imp_exp_enterprise_code": null,
      "industry_detail": null,
      "insured_persion": null,
      "main_member_info": null,
      "name": "Ka Fai Food Limited",
      "organization_code": null,
      "paid_up_capital": null,
      "personne_size": null,
      "province_id": 51,
      "reg_authorities": null,
      "region_id": 25,
      "register_capital": null,
      "remark": null,
      "shareholder_info": null,
      "status": 1,
      "taxpayer_code": null,
      "taxpayer_qualification": null
    },
    "country_id": 5,
    "created_at": "Fri, 22 Dec 2023 10:40:30 GMT",
    "deleted_at": "Wed, 17 Nov 2010 12:04:37 GMT",
    "description": "Man's Limited",
    "district_id": 2971,
    "establish_time": 1990,
    "id": 2,
    "is_authenticate": 1,
    "name": "朱家強",
    "province_id": 10,
    "region_id": 21,
    "remark": null,
    "status": 1,
    "updated_at": "Fri, 14 Jan 2005 05:04:53 GMT"
  },
  "message": "success"
}
上一页
获取品牌列表
下一页
获取地区信息
Built with