- 属地要素
- 属地行政
- 人员
- 监控设备管理
- 区域
- 税收汇总
- 安全生产
- 资讯管理
- 经济IOC
- 事件工单
- 党建公告
- 协商公告
- 议题
- 在线投票
- 志愿者信息
- 志愿服务团体
- 志愿者活动管理
- 排行榜管理
- 大屏总览
- 设备管理
- 万物互联大屏
- 表彰奖励
- 培训课程
- 码上办
- 办事指南
- 心愿墙
- 公益服务
- 人文关怀
- 留言
- 事件工单截止日期配置
- 大屏城市管理
- 好邻居PC端首页
- 大屏总览第二版
- 社区关怀
- 统计分析
- 民情走访
- 民情走访日记
- 特殊人体台账
- 我的
- 安全隐患记录
- 安全巡检目录
- 安全巡检计划
- 安全巡检任务
- 获取tokenPOST
- 文件上传POST
- 同步文件上传请求POST
- 异步文件上传请求POST
- 获取完整url路径GET
- 获取token微信POST
新增
开发中
POST
/territoriality/population
请求参数
Header 参数
Authorization
string
可选
默认值:
eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VyX2tleSI6ImNiMDgwYmRiLWY3ODEtNDkxNC05ZjM0LTdhN2IxMDM4ODRlMiIsInVzZXJuYW1lIjoiYWRtaW4ifQ.ikxj18opIH-fQVKbwcgXNK_fxDp5NGcoAsakyxG3W2O9D-syAR3kBdrqKbOnE7OGIDS2tc1qZKFpu2QAegI2aA
Body 参数application/json
employmentInformation
object
必需
employmentAddress
string
必需
employmentCode
string
必需
employmentCommunity
string
必需
employmentPolice
string
必需
employmentRoom
string
必需
employmentStreet
string
必需
employmentUnit
string
必需
latitude
integer
必需
longitude
integer
必需
guardianInformationList
array [object {4}]
必需
idNumber
string
可选
idType
string
可选
name
string
可选
telephone
string
可选
habitation
object
必需
address
string
必需
area
integer
必需
building
string
必需
community
string
必需
latitude
integer
必需
longitude
integer
必需
police
string
必需
policeRoom
string
必需
remark
string
必需
room
string
必需
street
string
必需
type
string
必需
unit
string
必需
village
string
必需
populationInformation
object
必需
address
string
必需
age
integer
必需
attributionType
string
必需
birthday
string
必需
country
string
必需
education
string
必需
idNumber
string
必需
idType
string
必需
market
string
必需
name
string
必需
nation
string
必需
oldName
string
必需
politicalOutlook
string
必需
populationStatus
string
必需
province
string
必需
remark
string
必需
sex
string
必需
specialPerson
string
必需
status
string
必需
street
string
必需
studentStatus
string
必需
telephone
string
必需
platformFileList
array [object {3}]
必需
studyInformation
object
必需
latitude
string
必需
longitude
string
必需
remark
string
必需
school
string
必需
studyAddress
string
必需
studyCode
string
必需
studyCommunity
string
必需
studyStreet
string
必需
示例
{
"employmentInformation": {
"employmentAddress": "1",
"employmentCode": "1",
"employmentCommunity": "1",
"employmentPolice": "1",
"employmentRoom": "1",
"employmentStreet": "1",
"employmentUnit": "1",
"latitude": 0,
"longitude": 0
},
"guardianInformationList": [
{
"idNumber": "1",
"idType": "1",
"name": "1",
"telephone": "123456"
}
],
"habitation": {
"address": "11",
"area": 0,
"building": "1",
"community": "1",
"latitude": 0,
"longitude": 0,
"police": "1",
"policeRoom": "1",
"remark": "1",
"room": "1",
"street": "1",
"type": "1",
"unit": "1",
"village": "1"
},
"populationInformation": {
"address": "1",
"age": 0,
"attributionType": "1",
"birthday": "2024-7-30",
"country": "1",
"education": "1",
"idNumber": "1",
"idType": "1",
"market": "1",
"name": "1",
"nation": "1",
"oldName": "1",
"politicalOutlook": "1",
"populationStatus": "1",
"province": "1",
"remark": "1",
"sex": "1",
"specialPerson": "1",
"status": "1",
"street": "1",
"studentStatus": "1",
"telephone": "1",
"platformFileList":[
{
"name": "2_20240813100914A004.jpg",
"url": "/smart/2024/08/13/2_20240813100914A004.jpg",
"type": "1"
}
]
},
"studyInformation": {
"latitude": "0",
"longitude": "0",
"remark": "",
"school": "1",
"studyAddress": "1",
"studyCode": "1",
"studyCommunity": "1",
"studyStreet": "1"
}
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://192.168.2.15:8080/territoriality/population' \
--header 'Authorization: eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VyX2tleSI6ImNiMDgwYmRiLWY3ODEtNDkxNC05ZjM0LTdhN2IxMDM4ODRlMiIsInVzZXJuYW1lIjoiYWRtaW4ifQ.ikxj18opIH-fQVKbwcgXNK_fxDp5NGcoAsakyxG3W2O9D-syAR3kBdrqKbOnE7OGIDS2tc1qZKFpu2QAegI2aA' \
--header 'Content-Type: application/json' \
--data-raw '{
"employmentInformation": {
"employmentAddress": "1",
"employmentCode": "1",
"employmentCommunity": "1",
"employmentPolice": "1",
"employmentRoom": "1",
"employmentStreet": "1",
"employmentUnit": "1",
"latitude": 0,
"longitude": 0
},
"guardianInformationList": [
{
"idNumber": "1",
"idType": "1",
"name": "1",
"telephone": "123456"
}
],
"habitation": {
"address": "11",
"area": 0,
"building": "1",
"community": "1",
"latitude": 0,
"longitude": 0,
"police": "1",
"policeRoom": "1",
"remark": "1",
"room": "1",
"street": "1",
"type": "1",
"unit": "1",
"village": "1"
},
"populationInformation": {
"address": "1",
"age": 0,
"attributionType": "1",
"birthday": "2024-7-30",
"country": "1",
"education": "1",
"idNumber": "1",
"idType": "1",
"market": "1",
"name": "1",
"nation": "1",
"oldName": "1",
"politicalOutlook": "1",
"populationStatus": "1",
"province": "1",
"remark": "1",
"sex": "1",
"specialPerson": "1",
"status": "1",
"street": "1",
"studentStatus": "1",
"telephone": "1",
"platformFileList":[
{
"name": "2_20240813100914A004.jpg",
"url": "/smart/2024/08/13/2_20240813100914A004.jpg",
"type": "1"
}
]
},
"studyInformation": {
"latitude": "0",
"longitude": "0",
"remark": "",
"school": "1",
"studyAddress": "1",
"studyCode": "1",
"studyCommunity": "1",
"studyStreet": "1"
}
}'
返回响应
🟢200成功
application/json
Body
object {0}
示例
{}
修改于 2024-08-29 01:24:18