POST API/Resident/SetMyRoomBindResident

业主给自己是户主的房子下添加家属和租户

Request Information

Parameters

NameDescriptionAdditional information
param

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "Name": "sample string 1",
  "Tel": "sample string 2",
  "ResidentType": 3,
  "RoomId": "sample string 4",
  "Leasedates": "2025-05-09T22:38:13.1781456+08:00",
  "Leasedatee": "2025-05-09T22:38:13.1781456+08:00",
  "CurrentLoginUserId": "sample string 7"
}

application/xml, text/xml

Sample:
<ApiAddResident xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GS.R.API4._0.Models">
  <CurrentLoginUserId>sample string 7</CurrentLoginUserId>
  <Leasedatee>2025-05-09T22:38:13.1781456+08:00</Leasedatee>
  <Leasedates>2025-05-09T22:38:13.1781456+08:00</Leasedates>
  <Name>sample string 1</Name>
  <ResidentType>3</ResidentType>
  <RoomId>sample string 4</RoomId>
  <Tel>sample string 2</Tel>
</ApiAddResident>

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 'ApiAddResident'.