- 公共请求参数
- 公共返回结果
- 接口说明模板
- app-user
- 用户相关接口
- KYC税务表单接口
- 工单相关接口
- 沟通记录相关接口
- 审核相关接口
- KYC资料相关接口
- 通行证相关接口
- 风险等级测评接口
- 银行卡相关接口
- 大额投资者认证接口
- 零售客户行情订阅相关接口
- app-client
- 用户相关接口
- 审核相关接口
- 工单相关接口
- KYC税务表单接口
- 沟通记录相关接口
- KYC资料相关接口(临时保存)
- 通行证相关接口
- 风险等级测评接口
- 银行卡相关接口
- 大额投资者认证接口
- 零售客户行情订阅相关接口
- 交易系统相关接口
- 券商注册
- app-control
- app-report
- app-trading
- app-common
- app-platform
- app-notice
- app-storage
- app-public-fund
- app-order
- app-settle
- app-fund
- notification-center
- app-setting
- app-geography
- 国家地区管理 - 省份相关接口
- 国家地区管理 - 国家相关接口
- 国家地区管理 - 城市相关接口
新增国家
POST
/geography/country
国家地区配置 - 国家相关接口
请求参数
Header 参数
X-Auth-Appid
string
必需
Body 参数application/json
管理后台 - 国家新增 Request VO
appid
string
租户ID
示例值:
app0000001
userId
string
用户ID
示例值:
A1528497
alpha2Code
string
必需
示例值:
CN
alpha3Code
string
必需
示例值:
CHN
digitalCode
string
必需
示例值:
123
currencyCode
string
必需
示例值:
CNY
areaCode
string
必需
示例值:
+86
countryNameEn
string
必需
示例值:
China
countryNameSc
string
必需
示例值:
中国
countryNameTc
string
必需
示例值:
中國
localLanguage
string
必需
示例值:
汉语
status
integer <int32>
可选
示例
{
"appid": "app0000001",
"userId": "A1528497",
"alpha2Code": "CN",
"alpha3Code": "CHN",
"digitalCode": "123",
"currencyCode": "CNY",
"areaCode": "+86",
"countryNameEn": "China",
"countryNameSc": "中国",
"countryNameTc": "中國",
"localLanguage": "汉语",
"status": 0
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/geography/country' \
--header 'X-Auth-Appid;' \
--header 'Content-Type: application/json' \
--data-raw ''
返回响应
🟢200成功
*/*
Body
code
integer <int32>
可选
data
object (ApiCountryCreateRespVO)
可选
id
integer <int32>
可选
alpha2Code
string
可选
alpha3Code
string
可选
digitalCode
string
可选
currencyCode
string
可选
areaCode
string
可选
countryNameEn
string
可选
countryNameSc
string
可选
countryNameTc
string
可选
localLanguage
string
可选
status
integer <int32>
可选
systemDefault
string
可选
creator
string
可选
createTime
string <date-time>
可选
updater
string
可选
updateTime
string <date-time>
可选
msg
string
可选
traceId
string
可选
示例
{
"code": 0,
"data": {
"id": 0,
"alpha2Code": "string",
"alpha3Code": "string",
"digitalCode": "string",
"currencyCode": "string",
"areaCode": "string",
"countryNameEn": "string",
"countryNameSc": "string",
"countryNameTc": "string",
"localLanguage": "string",
"status": 0,
"systemDefault": "string",
"creator": "string",
"createTime": "2019-08-24T14:15:22Z",
"updater": "string",
"updateTime": "2019-08-24T14:15:22Z"
},
"msg": "string",
"traceId": "string"
}
修改于 2025-02-18 06:10:26