POST api/auth/login

Request Information

URI Parameters

None.

Body Parameters

LoginVM
NameDescriptionTypeAdditional information
UserName

string

None.

Password

string

None.

Request Formats

application/json, text/json

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

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

Response Information

Resource Description

ResponseOfObject
NameDescriptionTypeAdditional information
IsSuccess

ResponseStatus

None.

Message

string

None.

ID

integer

None.

ResponseData

Object

None.

ShowAlert

boolean

None.

Response Formats

application/json, text/json

Sample:

Sample not available.