Check INUBIT application health

This endpoint is designed to provide status information about the internal server state such as:

  • Application status [OK | ERROR]

  • Maintenance mode [0 | 1]

  • Current time stamp

The response of this endpoint indicates that the Tomcat application server has started and INUBIT application has been loaded successfully. It does not give any indication of possible problems within the INUBIT application.

Request

URL: /healthcheck

Method: GET

Authorization: none

GET /ibis/rest/healthcheck HTTP/1.1
Accept: application/json
Host: localhost:8080

Response

HTTP/1.1 200 OK
Content-Tye: application/json

{
  "status":"OK",
  "maintenancemode":0,
  "timestamp":"Thu Jul 29 11:32:03 IST 2021"
}

Errors

Server Error (500)

Execution on the INUBIT server failed. Have a look into the response message, otherwise access to the INUBIT log is required to retrieve further information.

Service Unavailable (503)

In maintenance mode the INUBIT server endpoint will not respond to incoming requests but return this error response. Once the maintenance mode is switched off the endpoint will respond normally.