接口名称
查询国家(地区)列表
接口地址
| 代码块 | ||
|---|---|---|
| none | none | /api/platform/v1/sysCountry/query |
请求方式
| 代码块 | none | none
|---|
GET |
请求头
参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
sessionId | String | 是 | 登录会话ID |
language | String | 是 | 语言 |
...
值 | 说明 |
|---|---|
zh_CN | 中文 |
en_US | 英文 |
请求参数
无
请求示例
| 代码块 | ||
|---|---|---|
| bash | bash | 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": []
}
|
...