Get User Profile Service

The various details whether the user is currently logged in or not to the enterprise is explained in this section. You must set the cookie in header to get session details.

HTTP Method

GET

Endpoint URL

See Endpoint.

Resource

/login/userinfo/{enterprise}

Request Parameters

You must specify the enterprise name.

Name Description Type Data Type
Enterprise Specify the enterprise name. path string
Cookie Specify the cookie name. Header string

Request Model

Media Type: application/json.

Cookie: JSESSIONID=No3sfvH6doYk-4VLWBcbyI95; 

Response Model

The server sends response 200 OK with HTTP status code for each successfully completed request. The success response format is as follows:

{
  "sessionId": "string",
  "errorCode": "string",
  "errorMessage": "string",
  "result": {
    "severity": "string",
    "code": "string",
    "desciption": {
      "lang": "string",
      "message": "string"
    }
  }
}

If response is unsuccessful, either of the following error code is displayed:

  • 400 Bad Request
  • 404 Not Found
  • 500 Internal Server Error

For error code response, see Error Handling.