版本:202506
创建省份
POST/openapi/2025-06/areas/country/:country/province
在指定国家/地区下创建新的省份记录。
请求
Path参数
country string必填
省份的省份 ID
- application/json
- 请求体
- 示例
请求体必填
- Array [
- Array [
- Array [
- ]
- ]
- ]
provinces object[]必填
省份的城市列表
namestring必填
名称
cities object[]必填
省份的城市列表
namestring必填
名称
addresses object[]必填
地址列表
namestring必填
名称
address1sstring[]必填
主要地址行列表
{
"provinces": [
{
"name": "string",
"cities": [
{
"name": "string",
"addresses": [
{
"name": "string",
"address1s": [
"string"
]
}
]
}
]
}
]
}
响应
- 200
OK
- application/json
- 数据结构
- 示例
数据结构
codestring
错误码
messagestring
错误信息
data object
object
{
"code": "string",
"message": "string",
"data": {}
}