Authenticate User
POST/authenticateUser
This API call can be used to authenticate the user in SSM
The Authorization
must have Bearer
followed by Token
Mandatory Params:
username
,
password
Request
- multipart/form-data
Body
password string
username string
Responses
- 200
Authenticate User Failure / Authenticate User Success
Response Headers
Date
string
Server
string
Set-Cookie
string
Transfer-Encoding
string
X-Frame-Options
string
- application/json
- Schema
- Example (from schema)
- Authenticate User Failure
- Authenticate User Success
Schema
errorCode string
message string
{
"errorCode": "1",
"message": "Authentication Failed"
}
{
"errorCode": "1",
"message": "Authentication Failed"
}
{
"errorCode": "0",
"message": "Authentication Successful"
}
Loading...