POST api/user/Login

Request Information

URI Parameters

None.

Body Parameters

User
NameDescriptionTypeAdditional information
UserId

integer

None.

FirstName

string

None.

LastName

string

None.

RoleId

integer

None.

Email

string

None.

Password

string

None.

FacebookId

string

None.

IsEmailVerified

boolean

None.

IsDeleted

boolean

None.

IsBlocked

boolean

None.

CreatedAt

date

None.

UpdatedAt

date

None.

CreatedBy

integer

None.

UpdatedBy

integer

None.

LastVisibleDate

date

None.

ContactAdmins

Collection of ContactAdmin

None.

ReportAdmins

Collection of ReportAdmin

None.

UserContacts

Collection of UserContact

None.

UserProfiles

Collection of UserProfile

None.

UserRequests

Collection of UserRequest

None.

UserVerificationLinks

Collection of UserVerificationLink

None.

Request Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected for property 'User' with type 'VillJaSES.Business.EntityModel.User'. Path 'ContactAdmins[0]'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected for property 'User' with type 'VillJaSES.Business.EntityModel.User'. Path 'ContactAdmins[0]'.

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'VillJaSES.Business.EntityModel.ContactAdmin' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'VillJaSES.Business.EntityModel.ContactAdmin' contains cycles and cannot be serialized if reference tracking is disabled.

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.