**请求URL:** - ` http://xx.com/api/Home/addPerson` **请求方式:** - POST **请求类型:** - Content-Type:application/json **body参数:** |参数名|必选|类型|说明| |:---- |:---|:----- |----- | |auth |是 | object [] |权限 | |name |是 |string | 人员姓名 | |idCard |是 |string | 人员身份证 | |pic |是 | string |人员图片 | |telnum1 |是 |string | 人员电话号码 | |rooms |否 |object [] | 房屋信息 | **auth参数说明:** |字段|类型|空|说明| |:---- |:------- |:--- |-- -|------ | |facesluicesid |是 |string |闸机id | |tempCardType |否 |string |临时卡类型 0:永久 1:按时段通行 2:每日时段 3:按次 | |cardValidBegin |否 |string |临时卡开始时间(临时卡类型为1,2时为必填) | |cardValidEnd |否 |string |临时卡结束时间(临时卡类型为1,2时为必填) | |effectNumber |否 |int |通行次数(临时卡类型为3时为必填) | **rooms参数说明:** |字段|类型|空|说明| |:---- |:------- |:--- |-- -|------ | |buildingId |否 |string |二级组织架构id | |unitId |否 |string |三级组织架构id | |roomId |否 |string |四级组织架构id | **请求示例** ``` { "auth":[{"facesluicesid":"5e54c5620c7cc59ccb1745f9"},{"facesluicesid":"5e81973e0c7cc59ccbdb784d"}], "name":"人间小甜瓜","idCard":"430482158845282157","pic":"https://lebopark.oss-cn-shenzhen.aliyuncs.com/faceTest/ae5b46b2-9f3d-488b-938d-76314f98eea6.jpg","telnum1":"15371254845","rooms":[{"buildingId":"5cfdbea020194a43c22ec2f7"}] } ``` **返回示例** ``` { "result": { "retcode": 0, "total": 0, "data": [ { "customId": "ad2cc586e42540b78ce6461fb06829c5", "idCard": "430482158845282157" } ], "message": "成功", "otherobj": null } } ``` **返回data参数说明** |参数名|类型|说明| |:----- |:-----|----- | |customId |string |用户customId | |idCard |string |用户身份证 |