GET api/v3/Health/GetCurrent

Returns all the call priorities (including deleted ones) for a department

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Array of CallPriorityResult objects for each call priority in the department

HealthResult
NameDescriptionTypeAdditional information
SiteId

Site\Location of this API

string

None.

ServicesVersion

The Version of the Services

string

None.

ApiVersion

Gets the current API version

string

None.

DatabaseOnline

Can the API services talk to the database

boolean

None.

CacheOnline

Can the API services talk to the cache

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "SiteId": "sample string 1",
  "ServicesVersion": "sample string 2",
  "ApiVersion": "sample string 3",
  "DatabaseOnline": true,
  "CacheOnline": true
}

application/xml, text/xml

Sample:
<HealthResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Resgrid.Web.Services.Controllers.Version3.Models.Health">
  <ApiVersion>sample string 3</ApiVersion>
  <CacheOnline>true</CacheOnline>
  <DatabaseOnline>true</DatabaseOnline>
  <ServicesVersion>sample string 2</ServicesVersion>
  <SiteId>sample string 1</SiteId>
</HealthResult>