POST api/User/Login

Request Information

URI Parameters

None.

Body Parameters

LoginViewModel
NameDescriptionTypeAdditional information
substatus

string

None.

elementjsonstr

string

None.

bizaccessjsonstr

string

None.

bizaccessjson

Object

None.

elementjson

Object

None.

staffinfoid

integer

None.

merchantinfoid

integer

None.

logininfoid

integer

None.

companyid

integer

None.

companyname

string

None.

username

string

None.

password

string

None.

roletype

string

None.

rolecode

string

None.

rolename

string

None.

roleid

integer

None.

token

string

None.

isexist

boolean

None.

companystateid

integer

None.

stateid

integer

None.

statename

string

None.

emailid

string

None.

phoneno

string

None.

firstname

string

None.

lastname

string

None.

short_url

string

None.

status

string

None.

istemppassword

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "substatus": "sample string 1",
  "elementjsonstr": "sample string 2",
  "bizaccessjsonstr": "sample string 3",
  "bizaccessjson": {},
  "elementjson": {},
  "staffinfoid": 6,
  "merchantinfoid": 7,
  "logininfoid": 8,
  "companyid": 9,
  "companyname": "sample string 10",
  "username": "sample string 11",
  "password": "sample string 12",
  "roletype": "sample string 13",
  "rolecode": "sample string 14",
  "rolename": "sample string 15",
  "roleid": 16,
  "token": "sample string 17",
  "isexist": true,
  "companystateid": 19,
  "stateid": 20,
  "statename": "sample string 21",
  "emailid": "sample string 22",
  "phoneno": "sample string 23",
  "firstname": "sample string 24",
  "lastname": "sample string 25",
  "short_url": "sample string 26",
  "status": "sample string 27",
  "istemppassword": true
}

application/xml, text/xml

Sample:
<LoginViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/referralmap_api.Models">
  <bizaccessjson />
  <bizaccessjsonstr>sample string 3</bizaccessjsonstr>
  <companyid>9</companyid>
  <companyname>sample string 10</companyname>
  <companystateid>19</companystateid>
  <elementjson />
  <elementjsonstr>sample string 2</elementjsonstr>
  <emailid>sample string 22</emailid>
  <firstname>sample string 24</firstname>
  <isexist>true</isexist>
  <istemppassword>true</istemppassword>
  <lastname>sample string 25</lastname>
  <logininfoid>8</logininfoid>
  <merchantinfoid>7</merchantinfoid>
  <password>sample string 12</password>
  <phoneno>sample string 23</phoneno>
  <rolecode>sample string 14</rolecode>
  <roleid>16</roleid>
  <rolename>sample string 15</rolename>
  <roletype>sample string 13</roletype>
  <short_url>sample string 26</short_url>
  <staffinfoid>6</staffinfoid>
  <stateid>20</stateid>
  <statename>sample string 21</statename>
  <status>sample string 27</status>
  <substatus>sample string 1</substatus>
  <token>sample string 17</token>
  <username>sample string 11</username>
</LoginViewModel>

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/referralmap_api.Models">
  <data />
  <errorCode>4</errorCode>
  <message>sample string 2</message>
  <status>true</status>
</HttpResultViewModel>