POST API/EntranceGuard/EGBind

修改用户与房屋绑定关系中的门禁信息状态

Request Information

Parameters

NameDescriptionAdditional information
Approve
门禁审核信息

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "residentId": "sample string 1",
  "roomId": "sample string 2",
  "ownerid": "sample string 3",
  "leaseDateS": "2025-04-28T11:52:24.7830116+08:00",
  "leaseDateE": "2025-04-28T11:52:24.7830116+08:00",
  "residentType": 0
}

application/xml, text/xml

Sample:
<EGApprove xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GS.R.API4._0.Controllers">
  <leaseDateE>2025-04-28T11:52:24.7830116+08:00</leaseDateE>
  <leaseDateS>2025-04-28T11:52:24.7830116+08:00</leaseDateS>
  <ownerid>sample string 3</ownerid>
  <residentId>sample string 1</residentId>
  <residentType>RESIDENT</residentType>
  <roomId>sample string 2</roomId>
</EGApprove>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'EGApprove'.