POST api/OAuth2/GetTokenWithEmailPassword

Request Information

URI Parameters

None.

Body Parameters

MSTEmployee
NameDescriptionTypeAdditional information
EmployeeId

integer

None.

EmployeeCode

string

String length: inclusive between 0 and 50

Username

string

String length: inclusive between 0 and 500

NameTh

string

String length: inclusive between 0 and 500

NameEn

string

String length: inclusive between 0 and 500

Email

string

String length: inclusive between 0 and 100

IsActive

boolean

None.

PositionId

integer

None.

DepartmentId

integer

None.

ReportToEmpCode

string

String length: inclusive between 0 and 50

SignPicPath

string

None.

Lang

string

String length: inclusive between 0 and 2

AccountId

integer

None.

CreatedDate

date

None.

CreatedBy

string

String length: inclusive between 0 and 500

ModifiedDate

date

None.

ModifiedBy

string

String length: inclusive between 0 and 500

ADTitle

string

String length: inclusive between 0 and 500

DivisionId

integer

None.

mstUserPermissionList

Collection of MSTUserPermission

None.

password

string

None.

Userid_Line

string

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 'MSTEmployee' with type 'WolfApprove.Model.MSTEmployee'. Path 'mstUserPermissionList[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 'MSTEmployee' with type 'WolfApprove.Model.MSTEmployee'. Path 'mstUserPermissionList[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 'WolfApprove.Model.MSTUserPermission' 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 'WolfApprove.Model.MSTUserPermission' 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 'MSTEmployee'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.