Login Service

The various details of the Login REST services are explained in this section. You must specify the username, password, and enterprise name as a request JSON body.

HTTP Method

POST

Endpoint URL

See Endpoint.

Resource

/login/userinfo

Request Model

Media Type: application/json.

{
  "username": "string",
  "password": "string",
  "enterprise": "string"
}

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 the 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 .