POST api/BTMobile/ValidateUser
(Input Params = UserName, Password) (Result 1 = Success, Result 0 = Failed) (ErrorType 1 = Invalid Username or Password, ErrorType 2 = Server Error)
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
Model | No documentation available. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{ "UserID": 1, "RoleID": 1, "UserName": "sample string 2", "Password": "sample string 3", "Name": "sample string 4", "FatherName": "sample string 5", "Gender": "sample string 6", "Email": "sample string 7", "Mobile": "sample string 8", "ErrorType": 9, "Result": 10 }
application/xml, text/xml
Sample:
<MBTLoginModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/crmData.Models"> <ErrorType>9</ErrorType> <Result>10</Result> <Email>sample string 7</Email> <FatherName>sample string 5</FatherName> <Gender>sample string 6</Gender> <Mobile>sample string 8</Mobile> <Name>sample string 4</Name> <Password>sample string 3</Password> <RoleID>1</RoleID> <UserID>1</UserID> <UserName>sample string 2</UserName> </MBTLoginModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
No documentation available.
Response body formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.