版本比较

标识

  • 该行被添加。
  • 该行被删除。
  • 格式已经改变。

接口名称

查询国家(地区)列表

接口地址

代码块
nonenone
/api/platform/v1/sysCountry/query

请求方式

none
代码块
none
GET

请求头

参数

类型

必填

说明

sessionId

String

登录会话ID

language

String

语言

...

说明

zh_CN

中文

en_US

英文

请求参数

请求示例

代码块
bashbash
curl 'https://tracking-qa.etowertech.com/api/platform/v1/sysCountry/query' \
  -H 'sessionId: MuETuXqSzpU_QQFiSD-dbQ' \
  -H 'language: en_US'

返回示例

json
代码块
json
{
  "success": true,
  "code": "0",
  "data": [
    {
      "code": "AU",
      "active": true,
      "name": "Australia",
      "nameCn": "澳大利亚",
      "capital": "Canberra",
      "currencyCode": "AUD",
      "currencyName": "Dollar",
      "telephoneCode": "61",
      "code3": "AUS",
      "codeNumber": 36
    }
  ],
  "errors": []
}

...