Authentication with jsessionId

Returns a token when you give it a jsession ID.

Request

POST http://{hostname}/api/v1/auth/jsession

Response Class (Status 200)

OK

Model

{
  "jsessiondata":"12345abcd"
}

Example

{
  "data": {},"error": {
    "description": "string",
    "errorCode": "string"
  },
  "status": "OK",
  "token": "string",
}

Parameters

Parameter Description Parameter Type Data Type Model Data Type Example
User User to authenticate body LoginDTO {
  password (string),
  username ( string)
}
{
  "password": "password1234",
  "username": "testuser"
}

Response Messages

HTTP Status Code Reason Response Model Response Example
401 username or password did not match {
 "description": "string",
 "errorCode": "string"
}
ApiError {
  description (string, optional),
  errorCode(string, optional)
}

Support | About ELB Learning
© ELB Learning 2022