POST api/Login/Authenticate

Request Information

URI Parameters

None.

Body Parameters

LoginVM
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

UserName

string

Required

Password

string

Required

Data type: Password

RememberMe

boolean

None.

Returnurl

string

None.

IsMobileConfirmed

boolean

None.

IsSystemAccount

boolean

None.

Isf

boolean

None.

TwoFactorEnabled

boolean

None.

MobileNumber

string

None.

ValidationMessage

ValidationMessageVm

None.

ProductId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "6ed05e23-64e4-49f1-ab36-a3c87b165b77",
  "UserName": "sample string 1",
  "Password": "sample string 2",
  "RememberMe": true,
  "Returnurl": "sample string 4",
  "IsMobileConfirmed": true,
  "IsSystemAccount": true,
  "Isf": true,
  "TwoFactorEnabled": true,
  "MobileNumber": "sample string 9",
  "ValidationMessage": {
    "<IsValid>k__BackingField": true,
    "<Message>k__BackingField": "sample string 2",
    "<Model>k__BackingField": {}
  },
  "ProductId": 1
}

application/xml, text/xml

Sample:
<LoginVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SevenSystem.ViewModel.Admin.Account">
  <Id>6ed05e23-64e4-49f1-ab36-a3c87b165b77</Id>
  <IsMobileConfirmed>true</IsMobileConfirmed>
  <IsSystemAccount>true</IsSystemAccount>
  <Isf>true</Isf>
  <MobileNumber>sample string 9</MobileNumber>
  <Password>sample string 2</Password>
  <ProductId>1</ProductId>
  <RememberMe>true</RememberMe>
  <Returnurl>sample string 4</Returnurl>
  <TwoFactorEnabled>true</TwoFactorEnabled>
  <UserName>sample string 1</UserName>
  <ValidationMessage xmlns:d2p1="http://schemas.datacontract.org/2004/07/SevenSystem.ViewModel.ComponentVm.Alerts">
    <d2p1:_x003C_IsValid_x003E_k__BackingField>true</d2p1:_x003C_IsValid_x003E_k__BackingField>
    <d2p1:_x003C_Message_x003E_k__BackingField>sample string 2</d2p1:_x003C_Message_x003E_k__BackingField>
    <d2p1:_x003C_Model_x003E_k__BackingField />
  </ValidationMessage>
</LoginVM>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.