GET api/ValidateUser
Retrieve if username and password are valid
Request Information
URI Parameters
None.
Body Parameters
ValidateUserReqName | Description | Type | Additional information |
---|---|---|---|
Company |
The company code |
string |
Required String length: inclusive between 0 and 6 |
Username |
The username |
string |
Required String length: inclusive between 0 and 10 |
Password |
The user password |
string |
Required |
Request Formats
application/json, text/json
Sample:
{ "Company": "EPM", "Username": "username", "Password": "password" }
Response Information
Resource Description
ValidateUserResName | Description | Type | Additional information |
---|---|---|---|
msgControl |
Message control - Will contain information about the response. |
MsgControl |
None. |
Login |
Αre username and password valid? |
boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "msgControl": { "result": 0, "Message": "Corresponding success and error message", "MethodName": "api/<Request Name>", "AppName": "EsoftWebApi", "EsoftUser": "Web API", "User": "Username", "Password": "Password", "SystemDate": "2019-12-25T00:00:00", "GenList": [], "GenMsg1": "", "GenMsg2": "", "GenMsg3": "" }, "Login": true }