POST API/Resident/UpdateResident

更新业主头像和昵称 正确返回结果:{"status":"true","mesg":""}

Request Information

Parameters

NameDescriptionAdditional information
resident

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "Id": "sample string 1",
  "nickName": "sample string 2",
  "img": "sample string 3"
}

application/xml, text/xml

Sample:
<Residentinfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GS.R.API4._0.Models">
  <Id>sample string 1</Id>
  <img>sample string 3</img>
  <nickName>sample string 2</nickName>
</Residentinfo>

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