POST API/Account/Logon

登录 platfrom 的值为 Android 或者IOS 返回值:{"Status":true,"Code":"","Data":{"Valid":true,"Message":"","Obj":{"UserId":"e05006c6014140f48d02a7ebb1f463b4","UserName":"江洋大盗","UserPhone":"18789494364","UserPassword":"123456","UserThumbnail":"c351051e95e443629d73cdbf95a1bbd6","PropertyId":"","PropertyName":"","PropertyThumbnail":"","HouseId":"","HouseName":"","CommunityId":"bdf68c9462b2443a9822276386516d14","CommuntiyName":"郝佳城市花园","CommuntiyAddress":"城南城南纬二街","CommuntiyLatitude":"34.218933","CommuntiyLongitude":"108.933884"}}}

Request Information

Parameters

NameDescriptionAdditional information
logon

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "UserName": "sample string 1",
  "Password": "sample string 2",
  "PlatForm": "sample string 3"
}

application/xml, text/xml

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

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