POST API/Resident/ResidentBindCommunity

业主绑定小区 2016年后发布的版本不用该接口 返回值:{"Status":true,"Message":"","Data":{ Valid = false/true, Message = ""}}

Request Information

Parameters

NameDescriptionAdditional information
bindCommunity

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "ResidentId": "sample string 1",
  "CommunityName": "sample string 2",
  "Address": "sample string 3",
  "Longitude": "sample string 4",
  "Latitude": "sample string 5",
  "Uid": "sample string 6",
  "IfUpdateStatus": 7,
  "CityCode": "sample string 8",
  "AreaId": 9
}

application/xml, text/xml

Sample:
<BindCommunity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GS.R.API4._0.Models">
  <Address>sample string 3</Address>
  <AreaId>9</AreaId>
  <CityCode>sample string 8</CityCode>
  <CommunityName>sample string 2</CommunityName>
  <IfUpdateStatus>7</IfUpdateStatus>
  <Latitude>sample string 5</Latitude>
  <Longitude>sample string 4</Longitude>
  <ResidentId>sample string 1</ResidentId>
  <Uid>sample string 6</Uid>
</BindCommunity>

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