GET   checks/{checkId}/results?mostrecent={mostrecent}&detail_level={detail_level}

Gets the most recent check results.

URL Parameters

NameDescription
checkId

Check identifier. Type: numeric.

mostrecent

Number of most recent results. Type: numeric.

detail_level

Result detalization level. Allowed values: 0, 1. Default value: 0.

Remarks

The default context for the route is the user context. To enable customer context (if it's allowed for the user) use the request query parameter customer_context=1.

Responses

Response body model examples and descriptions

When result detalization level is 0

[
  {
    "check_id": 1,
    "timestamp_utc": "2019-12-14T04:46:39",
    "severity": "sample string 3",
    "value": 1,
    "unit": "sample string 4"
  },
  {
    "check_id": 1,
    "timestamp_utc": "2019-12-14T04:46:39",
    "severity": "sample string 3",
    "value": 1,
    "unit": "sample string 4"
  },
  {
    "check_id": 1,
    "timestamp_utc": "2019-12-14T04:46:39",
    "severity": "sample string 3",
    "value": 1,
    "unit": "sample string 4"
  }
]
NameType Description
check_id Integer

No documentation available.

timestamp_utc DateTime

No documentation available.

severity String

No documentation available.

value Integer

No documentation available.

unit String

No documentation available.

When result detalization level is 1

[
  {
    "message": "sample string 1",
    "identifier": "d25ad97d-f1f3-4e62-82de-a6121b1eee8d",
    "attempts": 2,
    "result_code": 1,
    "check_id": 3,
    "timestamp_utc": "2019-12-14T04:46:39",
    "severity": "sample string 5",
    "value": 1,
    "unit": "sample string 6"
  },
  {
    "message": "sample string 1",
    "identifier": "d25ad97d-f1f3-4e62-82de-a6121b1eee8d",
    "attempts": 2,
    "result_code": 1,
    "check_id": 3,
    "timestamp_utc": "2019-12-14T04:46:39",
    "severity": "sample string 5",
    "value": 1,
    "unit": "sample string 6"
  },
  {
    "message": "sample string 1",
    "identifier": "d25ad97d-f1f3-4e62-82de-a6121b1eee8d",
    "attempts": 2,
    "result_code": 1,
    "check_id": 3,
    "timestamp_utc": "2019-12-14T04:46:39",
    "severity": "sample string 5",
    "value": 1,
    "unit": "sample string 6"
  }
]
NameType Description
message String

No documentation available.

identifier Guid

No documentation available.

attempts Integer

No documentation available.

result_code Integer

No documentation available.

check_id Integer

No documentation available.

timestamp_utc DateTime

No documentation available.

severity String

No documentation available.

value Integer

No documentation available.

unit String

No documentation available.