POST api/AjaxAccount/Login

Documentation for 'Login'.

Request Information

Parameters

NameDescriptionAdditional information
model
Documentation for 'model'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "userName": "sample string 1",
  "password": "sample string 2",
  "rememberMe": true
}

application/xml, text/xml

Sample:
<LoginViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Zac.Crm.Web.Models">
  <Password>sample string 2</Password>
  <RememberMe>true</RememberMe>
  <UserName>sample string 1</UserName>
</LoginViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Response body formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />