GET   checks/{checkId}/results?fromUtc={fromUtc}&toUtc={toUtc}&detail_level={detail_level}

Gets check results between two dates.

URL Parameters

NameDescription
checkId

Check identifier. Type: numeric.

fromUtc

Timestamp in UTC format. Example: 2013-08-20T13:32:08.

toUtc

Timestamp in UTC format. Example: 2013-08-20T13:32:08.

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-08-21T12:30:31",
    "severity": "sample string 3",
    "value": 1,
    "unit": "sample string 4"
  },
  {
    "check_id": 1,
    "timestamp_utc": "2019-08-21T12:30:31",
    "severity": "sample string 3",
    "value": 1,
    "unit": "sample string 4"
  },
  {
    "check_id": 1,
    "timestamp_utc": "2019-08-21T12:30:31",
    "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": "51636418-c409-44c3-8ea9-115280a5785f",
    "attempts": 2,
    "result_code": 1,
    "check_id": 3,
    "timestamp_utc": "2019-08-21T12:30:31",
    "severity": "sample string 5",
    "value": 1,
    "unit": "sample string 6"
  },
  {
    "message": "sample string 1",
    "identifier": "51636418-c409-44c3-8ea9-115280a5785f",
    "attempts": 2,
    "result_code": 1,
    "check_id": 3,
    "timestamp_utc": "2019-08-21T12:30:31",
    "severity": "sample string 5",
    "value": 1,
    "unit": "sample string 6"
  },
  {
    "message": "sample string 1",
    "identifier": "51636418-c409-44c3-8ea9-115280a5785f",
    "attempts": 2,
    "result_code": 1,
    "check_id": 3,
    "timestamp_utc": "2019-08-21T12:30:31",
    "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.