GET api/HealthCheck/Status

Checks the database connectivity by making db call.

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

The db health check status model.

ESignSystems.SmartSAFE.Models.HealthCheck.HealthCheckModel
NameDescriptionTypeAdditional information
Status

Gets or sets the DB Status.

string

None.

ErrorMessage

Gets or sets the error message in case of failure.

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": "sample string 1",
  "ErrorMessage": "sample string 2"
}

application/xml, text/xml

Sample:
<HealthCheckModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ESignSystems.SmartSAFE.Models.HealthCheck">
  <ErrorMessage>sample string 2</ErrorMessage>
  <Status>sample string 1</Status>
</HealthCheckModel>