POST api/User/CustomerLogin

Request Information

URI Parameters

None.

Body Parameters

UserViewModel
NameDescriptionTypeAdditional information
userlogininfoid

integer

None.

customerinfoid

integer

None.

isactive

integer

None.

customername

string

None.

phonenumber

string

None.

Request Formats

application/json, text/json

Sample:
{
  "userlogininfoid": 1,
  "customerinfoid": 2,
  "isactive": 3,
  "customername": "sample string 4",
  "phonenumber": "sample string 5"
}

application/xml, text/xml

Sample:
<UserViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/housingbookapi.Models">
  <customerinfoid>2</customerinfoid>
  <customername>sample string 4</customername>
  <isactive>3</isactive>
  <phonenumber>sample string 5</phonenumber>
  <userlogininfoid>1</userlogininfoid>
</UserViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResultViewModel
NameDescriptionTypeAdditional information
status

boolean

None.

message

string

None.

data

Object

None.

errorCode

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "status": true,
  "message": "sample string 2",
  "data": {},
  "errorCode": 4
}

application/xml, text/xml

Sample:
<HttpResultViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/housingbookapi.Models">
  <data />
  <errorCode>4</errorCode>
  <message>sample string 2</message>
  <status>true</status>
</HttpResultViewModel>