POST   checks/desktopapp/{checkId}/results

Get Desktop App check results in json format.

URL Parameters

NameDescription
checkId

Check identifier. Type: numeric.

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.

Request example and description

curl --request POST "https://api-asm1.apica.io/v3/checks/desktopapp/12345/results?auth_ticket=C471ADC4-19B4-4219-BBF4-671A97EC653E" --header "Content-Type: application/json" --data-raw "{
  \"include\": {
    \"steps\": {
      \"commands\": {
        \"only_with_screenshots\": true,
        \"arguments\": {}
      }
    }
  },
  \"filter\": {
    \"range\": {
      \"mostrecent\": 10,
      \"milliseconds_utc\": [
        1376980667000,
        1376980667001
      ],
      \"period\": {
        \"from_utc\": \"2013-08-20T13:32:08\",
        \"to_utc\": \"2013-08-21T13:32:08\"
      },
      \"result_ids\": [
        \"69d34b69-e4ed-4afa-84c7-555ca596b82d\",
        \"13c5841a-a5a6-4d7b-be27-30befa59c692\",
        \"58c6dd0a-14bf-4521-a00e-5f2c51ee6591\"
      ]
    }
  }
}"
NameType Required Description
include Object No

The include section defines additional Desktop App check results information to include into the response (if it exists and can be retrieved). If this section omitted or empty, the response will only contain basic data.

steps Object No

Specify the steps section to include data from steps. For including, use values: {} or true. For not including do not specify this section or use value: false.

commands Object No

Specify the commands section to include data from commands. For including, use values: {} or true. For not including do not specify this section or use value: false.

only_with_screenshots Boolean No

The only_with_screenshots flag indicates that information about commands should be included only for commands with screenshots. Default value: false.

arguments Object No

Specify the arguments section to include data from arguments. For including, use values: {} or true. For not including do not specify this section or use value: false.

filter Object Yes

The filter section defines the criteria for selecting the check results.

range Object Yes

This section allows to define the aggregate range of the results by combining different filters. It must contain at least one filter.

mostrecent Integer No

Number of most recent results.

milliseconds_utc Array No

Array of timestamps associated with results. Each item is represented by a UNIX Epoch timestamp (milliseconds after 1970).

period Object No

The period section defines the date range to obtain results for.

from_utc DateTime Yes

Starting timestamp (in UTC) for the date range.

to_utc DateTime Yes

Ending timestamp (in UTC) for the date range.

result_ids Array No

Array of result identifiers to specific results.

Response body model example and description

[
  {
    "summary": {
      "result_id": "90b5de3f-a2d2-40e4-93b8-ad052547eaf5",
      "total_execution_time_ms": 2342,
      "total_step_time_ms": 2745,
      "started_utc": "2024-11-21T15:32:36",
      "stopped_utc": "2024-11-21T15:32:36",
      "message": "OK",
      "severity": "I"
    },
    "steps": [
      {
        "title": "startStep",
        "command_count": 10,
        "started_utc": "2024-11-21T15:32:36",
        "stopped_utc": "2024-11-21T15:32:36",
        "duration_ms": 3,
        "commands": [
          {
            "name": "startApplication",
            "started_utc": "2024-11-21T15:32:36",
            "stopped_utc": "2024-11-21T15:32:36",
            "elapsed_ms": 4563,
            "ignore_timing": true,
            "screenshot_id": "408b07ee-XXXX-XXXX-XXXX-afb20a4c7352",
            "error_message": "Path not found.",
            "arguments": [
              {
                "name": "stepName",
                "value": "initialStep"
              },
              {
                "name": "template",
                "value": "C:\\Windows\\System32\\*"
              },
              {
                "name": "template",
                "value": "C:\\Windows\\System32\\*"
              }
            ]
          },
          {
            "name": "pause",
            "started_utc": "2024-11-21T15:32:36",
            "stopped_utc": "2024-11-21T15:32:36",
            "elapsed_ms": 4563,
            "ignore_timing": true,
            "screenshot_id": "408b07ee-XXXX-XXXX-XXXX-afb20a4c7352",
            "error_message": "Path not found.",
            "arguments": [
              {
                "name": "stepName",
                "value": "initialStep"
              },
              {
                "name": "template",
                "value": "C:\\Windows\\System32\\*"
              },
              {
                "name": "template",
                "value": "C:\\Windows\\System32\\*"
              }
            ]
          },
          {
            "name": "startApplication",
            "started_utc": "2024-11-21T15:32:36",
            "stopped_utc": "2024-11-21T15:32:36",
            "elapsed_ms": 4563,
            "ignore_timing": true,
            "screenshot_id": "408b07ee-XXXX-XXXX-XXXX-afb20a4c7352",
            "error_message": "Path not found.",
            "arguments": [
              {
                "name": "template",
                "value": "C:\\Windows\\System32\\*"
              },
              {
                "name": "template",
                "value": "C:\\Windows\\System32\\*"
              },
              {
                "name": "template",
                "value": "C:\\Windows\\System32\\*"
              }
            ]
          }
        ]
      },
      {
        "title": "endStep",
        "command_count": 10,
        "started_utc": "2024-11-21T15:32:36",
        "stopped_utc": "2024-11-21T15:32:36",
        "duration_ms": 3,
        "commands": [
          {
            "name": "startApplication",
            "started_utc": "2024-11-21T15:32:36",
            "stopped_utc": "2024-11-21T15:32:36",
            "elapsed_ms": 4563,
            "ignore_timing": true,
            "screenshot_id": "408b07ee-XXXX-XXXX-XXXX-afb20a4c7352",
            "error_message": "Path not found.",
            "arguments": [
              {
                "name": "template",
                "value": "C:\\Windows\\System32\\*"
              },
              {
                "name": "template",
                "value": "C:\\Windows\\System32\\*"
              },
              {
                "name": "template",
                "value": "C:\\Windows\\System32\\*"
              }
            ]
          },
          {
            "name": "pause",
            "started_utc": "2024-11-21T15:32:36",
            "stopped_utc": "2024-11-21T15:32:36",
            "elapsed_ms": 4563,
            "ignore_timing": true,
            "screenshot_id": "408b07ee-XXXX-XXXX-XXXX-afb20a4c7352",
            "error_message": "Path not found.",
            "arguments": [
              {
                "name": "stepName",
                "value": "initialStep"
              },
              {
                "name": "template",
                "value": "C:\\Windows\\System32\\*"
              },
              {
                "name": "template",
                "value": "C:\\Windows\\System32\\*"
              }
            ]
          },
          {
            "name": "pause",
            "started_utc": "2024-11-21T15:32:36",
            "stopped_utc": "2024-11-21T15:32:36",
            "elapsed_ms": 4563,
            "ignore_timing": true,
            "screenshot_id": "408b07ee-XXXX-XXXX-XXXX-afb20a4c7352",
            "error_message": "Path not found.",
            "arguments": [
              {
                "name": "stepName",
                "value": "initialStep"
              },
              {
                "name": "template",
                "value": "C:\\Windows\\System32\\*"
              },
              {
                "name": "template",
                "value": "C:\\Windows\\System32\\*"
              }
            ]
          }
        ]
      },
      {
        "title": "endStep",
        "command_count": 10,
        "started_utc": "2024-11-21T15:32:36",
        "stopped_utc": "2024-11-21T15:32:36",
        "duration_ms": 3,
        "commands": [
          {
            "name": "pause",
            "started_utc": "2024-11-21T15:32:36",
            "stopped_utc": "2024-11-21T15:32:36",
            "elapsed_ms": 4563,
            "ignore_timing": true,
            "screenshot_id": "408b07ee-XXXX-XXXX-XXXX-afb20a4c7352",
            "error_message": "Path not found.",
            "arguments": [
              {
                "name": "stepName",
                "value": "initialStep"
              },
              {
                "name": "template",
                "value": "C:\\Windows\\System32\\*"
              },
              {
                "name": "template",
                "value": "C:\\Windows\\System32\\*"
              }
            ]
          },
          {
            "name": "pause",
            "started_utc": "2024-11-21T15:32:36",
            "stopped_utc": "2024-11-21T15:32:36",
            "elapsed_ms": 4563,
            "ignore_timing": true,
            "screenshot_id": "408b07ee-XXXX-XXXX-XXXX-afb20a4c7352",
            "error_message": "Path not found.",
            "arguments": [
              {
                "name": "stepName",
                "value": "initialStep"
              },
              {
                "name": "template",
                "value": "C:\\Windows\\System32\\*"
              },
              {
                "name": "template",
                "value": "C:\\Windows\\System32\\*"
              }
            ]
          },
          {
            "name": "startApplication",
            "started_utc": "2024-11-21T15:32:36",
            "stopped_utc": "2024-11-21T15:32:36",
            "elapsed_ms": 4563,
            "ignore_timing": true,
            "screenshot_id": "408b07ee-XXXX-XXXX-XXXX-afb20a4c7352",
            "error_message": "Path not found.",
            "arguments": [
              {
                "name": "stepName",
                "value": "initialStep"
              },
              {
                "name": "template",
                "value": "C:\\Windows\\System32\\*"
              },
              {
                "name": "template",
                "value": "C:\\Windows\\System32\\*"
              }
            ]
          }
        ]
      }
    ]
  },
  {
    "summary": {
      "result_id": "55c795e8-cd56-4c05-b8fe-74e7bac0e0b9",
      "total_execution_time_ms": 2342,
      "total_step_time_ms": 2745,
      "started_utc": "2024-11-21T15:32:36",
      "stopped_utc": "2024-11-21T15:32:36",
      "message": "OK",
      "severity": "I"
    },
    "steps": [
      {
        "title": "endStep",
        "command_count": 10,
        "started_utc": "2024-11-21T15:32:36",
        "stopped_utc": "2024-11-21T15:32:36",
        "duration_ms": 3,
        "commands": [
          {
            "name": "startApplication",
            "started_utc": "2024-11-21T15:32:36",
            "stopped_utc": "2024-11-21T15:32:36",
            "elapsed_ms": 4563,
            "ignore_timing": true,
            "screenshot_id": "408b07ee-XXXX-XXXX-XXXX-afb20a4c7352",
            "error_message": "Path not found.",
            "arguments": [
              {
                "name": "template",
                "value": "C:\\Windows\\System32\\*"
              },
              {
                "name": "template",
                "value": "C:\\Windows\\System32\\*"
              },
              {
                "name": "template",
                "value": "C:\\Windows\\System32\\*"
              }
            ]
          },
          {
            "name": "pause",
            "started_utc": "2024-11-21T15:32:36",
            "stopped_utc": "2024-11-21T15:32:36",
            "elapsed_ms": 4563,
            "ignore_timing": true,
            "screenshot_id": "408b07ee-XXXX-XXXX-XXXX-afb20a4c7352",
            "error_message": "Path not found.",
            "arguments": [
              {
                "name": "stepName",
                "value": "initialStep"
              },
              {
                "name": "template",
                "value": "C:\\Windows\\System32\\*"
              },
              {
                "name": "template",
                "value": "C:\\Windows\\System32\\*"
              }
            ]
          },
          {
            "name": "pause",
            "started_utc": "2024-11-21T15:32:36",
            "stopped_utc": "2024-11-21T15:32:36",
            "elapsed_ms": 4563,
            "ignore_timing": true,
            "screenshot_id": "408b07ee-XXXX-XXXX-XXXX-afb20a4c7352",
            "error_message": "Path not found.",
            "arguments": [
              {
                "name": "stepName",
                "value": "initialStep"
              },
              {
                "name": "template",
                "value": "C:\\Windows\\System32\\*"
              },
              {
                "name": "template",
                "value": "C:\\Windows\\System32\\*"
              }
            ]
          }
        ]
      },
      {
        "title": "endStep",
        "command_count": 10,
        "started_utc": "2024-11-21T15:32:36",
        "stopped_utc": "2024-11-21T15:32:36",
        "duration_ms": 3,
        "commands": [
          {
            "name": "startApplication",
            "started_utc": "2024-11-21T15:32:36",
            "stopped_utc": "2024-11-21T15:32:36",
            "elapsed_ms": 4563,
            "ignore_timing": true,
            "screenshot_id": "408b07ee-XXXX-XXXX-XXXX-afb20a4c7352",
            "error_message": "Path not found.",
            "arguments": [
              {
                "name": "template",
                "value": "C:\\Windows\\System32\\*"
              },
              {
                "name": "template",
                "value": "C:\\Windows\\System32\\*"
              },
              {
                "name": "template",
                "value": "C:\\Windows\\System32\\*"
              }
            ]
          },
          {
            "name": "pause",
            "started_utc": "2024-11-21T15:32:36",
            "stopped_utc": "2024-11-21T15:32:36",
            "elapsed_ms": 4563,
            "ignore_timing": true,
            "screenshot_id": "408b07ee-XXXX-XXXX-XXXX-afb20a4c7352",
            "error_message": "Path not found.",
            "arguments": [
              {
                "name": "stepName",
                "value": "initialStep"
              },
              {
                "name": "template",
                "value": "C:\\Windows\\System32\\*"
              },
              {
                "name": "template",
                "value": "C:\\Windows\\System32\\*"
              }
            ]
          },
          {
            "name": "pause",
            "started_utc": "2024-11-21T15:32:36",
            "stopped_utc": "2024-11-21T15:32:36",
            "elapsed_ms": 4563,
            "ignore_timing": true,
            "screenshot_id": "408b07ee-XXXX-XXXX-XXXX-afb20a4c7352",
            "error_message": "Path not found.",
            "arguments": [
              {
                "name": "stepName",
                "value": "initialStep"
              },
              {
                "name": "template",
                "value": "C:\\Windows\\System32\\*"
              },
              {
                "name": "template",
                "value": "C:\\Windows\\System32\\*"
              }
            ]
          }
        ]
      },
      {
        "title": "endStep",
        "command_count": 10,
        "started_utc": "2024-11-21T15:32:36",
        "stopped_utc": "2024-11-21T15:32:36",
        "duration_ms": 3,
        "commands": [
          {
            "name": "startApplication",
            "started_utc": "2024-11-21T15:32:36",
            "stopped_utc": "2024-11-21T15:32:36",
            "elapsed_ms": 4563,
            "ignore_timing": true,
            "screenshot_id": "408b07ee-XXXX-XXXX-XXXX-afb20a4c7352",
            "error_message": "Path not found.",
            "arguments": [
              {
                "name": "template",
                "value": "C:\\Windows\\System32\\*"
              },
              {
                "name": "template",
                "value": "C:\\Windows\\System32\\*"
              },
              {
                "name": "template",
                "value": "C:\\Windows\\System32\\*"
              }
            ]
          },
          {
            "name": "pause",
            "started_utc": "2024-11-21T15:32:36",
            "stopped_utc": "2024-11-21T15:32:36",
            "elapsed_ms": 4563,
            "ignore_timing": true,
            "screenshot_id": "408b07ee-XXXX-XXXX-XXXX-afb20a4c7352",
            "error_message": "Path not found.",
            "arguments": [
              {
                "name": "stepName",
                "value": "initialStep"
              },
              {
                "name": "template",
                "value": "C:\\Windows\\System32\\*"
              },
              {
                "name": "template",
                "value": "C:\\Windows\\System32\\*"
              }
            ]
          },
          {
            "name": "pause",
            "started_utc": "2024-11-21T15:32:36",
            "stopped_utc": "2024-11-21T15:32:36",
            "elapsed_ms": 4563,
            "ignore_timing": true,
            "screenshot_id": "408b07ee-XXXX-XXXX-XXXX-afb20a4c7352",
            "error_message": "Path not found.",
            "arguments": [
              {
                "name": "stepName",
                "value": "initialStep"
              },
              {
                "name": "template",
                "value": "C:\\Windows\\System32\\*"
              },
              {
                "name": "template",
                "value": "C:\\Windows\\System32\\*"
              }
            ]
          }
        ]
      }
    ]
  },
  {
    "summary": {
      "result_id": "b06a9d87-fca8-4a3b-8af0-0a9165369640",
      "total_execution_time_ms": 2342,
      "total_step_time_ms": 2745,
      "started_utc": "2024-11-21T15:32:36",
      "stopped_utc": "2024-11-21T15:32:36",
      "message": "OK",
      "severity": "I"
    },
    "steps": [
      {
        "title": "endStep",
        "command_count": 10,
        "started_utc": "2024-11-21T15:32:36",
        "stopped_utc": "2024-11-21T15:32:36",
        "duration_ms": 3,
        "commands": [
          {
            "name": "pause",
            "started_utc": "2024-11-21T15:32:36",
            "stopped_utc": "2024-11-21T15:32:36",
            "elapsed_ms": 4563,
            "ignore_timing": true,
            "screenshot_id": "408b07ee-XXXX-XXXX-XXXX-afb20a4c7352",
            "error_message": "Path not found.",
            "arguments": [
              {
                "name": "stepName",
                "value": "initialStep"
              },
              {
                "name": "template",
                "value": "C:\\Windows\\System32\\*"
              },
              {
                "name": "template",
                "value": "C:\\Windows\\System32\\*"
              }
            ]
          },
          {
            "name": "pause",
            "started_utc": "2024-11-21T15:32:36",
            "stopped_utc": "2024-11-21T15:32:36",
            "elapsed_ms": 4563,
            "ignore_timing": true,
            "screenshot_id": "408b07ee-XXXX-XXXX-XXXX-afb20a4c7352",
            "error_message": "Path not found.",
            "arguments": [
              {
                "name": "stepName",
                "value": "initialStep"
              },
              {
                "name": "template",
                "value": "C:\\Windows\\System32\\*"
              },
              {
                "name": "template",
                "value": "C:\\Windows\\System32\\*"
              }
            ]
          },
          {
            "name": "startApplication",
            "started_utc": "2024-11-21T15:32:36",
            "stopped_utc": "2024-11-21T15:32:36",
            "elapsed_ms": 4563,
            "ignore_timing": true,
            "screenshot_id": "408b07ee-XXXX-XXXX-XXXX-afb20a4c7352",
            "error_message": "Path not found.",
            "arguments": [
              {
                "name": "stepName",
                "value": "initialStep"
              },
              {
                "name": "template",
                "value": "C:\\Windows\\System32\\*"
              },
              {
                "name": "template",
                "value": "C:\\Windows\\System32\\*"
              }
            ]
          }
        ]
      },
      {
        "title": "startStep",
        "command_count": 10,
        "started_utc": "2024-11-21T15:32:36",
        "stopped_utc": "2024-11-21T15:32:36",
        "duration_ms": 3,
        "commands": [
          {
            "name": "startApplication",
            "started_utc": "2024-11-21T15:32:36",
            "stopped_utc": "2024-11-21T15:32:36",
            "elapsed_ms": 4563,
            "ignore_timing": true,
            "screenshot_id": "408b07ee-XXXX-XXXX-XXXX-afb20a4c7352",
            "error_message": "Path not found.",
            "arguments": [
              {
                "name": "stepName",
                "value": "initialStep"
              },
              {
                "name": "template",
                "value": "C:\\Windows\\System32\\*"
              },
              {
                "name": "template",
                "value": "C:\\Windows\\System32\\*"
              }
            ]
          },
          {
            "name": "pause",
            "started_utc": "2024-11-21T15:32:36",
            "stopped_utc": "2024-11-21T15:32:36",
            "elapsed_ms": 4563,
            "ignore_timing": true,
            "screenshot_id": "408b07ee-XXXX-XXXX-XXXX-afb20a4c7352",
            "error_message": "Path not found.",
            "arguments": [
              {
                "name": "stepName",
                "value": "initialStep"
              },
              {
                "name": "template",
                "value": "C:\\Windows\\System32\\*"
              },
              {
                "name": "template",
                "value": "C:\\Windows\\System32\\*"
              }
            ]
          },
          {
            "name": "startApplication",
            "started_utc": "2024-11-21T15:32:36",
            "stopped_utc": "2024-11-21T15:32:36",
            "elapsed_ms": 4563,
            "ignore_timing": true,
            "screenshot_id": "408b07ee-XXXX-XXXX-XXXX-afb20a4c7352",
            "error_message": "Path not found.",
            "arguments": [
              {
                "name": "template",
                "value": "C:\\Windows\\System32\\*"
              },
              {
                "name": "template",
                "value": "C:\\Windows\\System32\\*"
              },
              {
                "name": "template",
                "value": "C:\\Windows\\System32\\*"
              }
            ]
          }
        ]
      },
      {
        "title": "startStep",
        "command_count": 10,
        "started_utc": "2024-11-21T15:32:36",
        "stopped_utc": "2024-11-21T15:32:36",
        "duration_ms": 3,
        "commands": [
          {
            "name": "startApplication",
            "started_utc": "2024-11-21T15:32:36",
            "stopped_utc": "2024-11-21T15:32:36",
            "elapsed_ms": 4563,
            "ignore_timing": true,
            "screenshot_id": "408b07ee-XXXX-XXXX-XXXX-afb20a4c7352",
            "error_message": "Path not found.",
            "arguments": [
              {
                "name": "stepName",
                "value": "initialStep"
              },
              {
                "name": "template",
                "value": "C:\\Windows\\System32\\*"
              },
              {
                "name": "template",
                "value": "C:\\Windows\\System32\\*"
              }
            ]
          },
          {
            "name": "pause",
            "started_utc": "2024-11-21T15:32:36",
            "stopped_utc": "2024-11-21T15:32:36",
            "elapsed_ms": 4563,
            "ignore_timing": true,
            "screenshot_id": "408b07ee-XXXX-XXXX-XXXX-afb20a4c7352",
            "error_message": "Path not found.",
            "arguments": [
              {
                "name": "stepName",
                "value": "initialStep"
              },
              {
                "name": "template",
                "value": "C:\\Windows\\System32\\*"
              },
              {
                "name": "template",
                "value": "C:\\Windows\\System32\\*"
              }
            ]
          },
          {
            "name": "startApplication",
            "started_utc": "2024-11-21T15:32:36",
            "stopped_utc": "2024-11-21T15:32:36",
            "elapsed_ms": 4563,
            "ignore_timing": true,
            "screenshot_id": "408b07ee-XXXX-XXXX-XXXX-afb20a4c7352",
            "error_message": "Path not found.",
            "arguments": [
              {
                "name": "template",
                "value": "C:\\Windows\\System32\\*"
              },
              {
                "name": "template",
                "value": "C:\\Windows\\System32\\*"
              },
              {
                "name": "template",
                "value": "C:\\Windows\\System32\\*"
              }
            ]
          }
        ]
      }
    ]
  }
]
NameType Description
summary Object

The result summary.

result_id Guid

The result identifier.

total_execution_time_ms Integer

Total execution time in ms.

total_step_time_ms Integer

Total steps time in ms.

started_utc DateTime

Start timestamp.

stopped_utc DateTime

Stopped timestamp.

message String

The result message.

severity String

The result severity.

steps Array

Result's steps.

title String

The title of the step.

command_count Integer

Count of commands.

started_utc DateTime

Started timestamp.

stopped_utc DateTime

Stopped timestamp.

duration_ms Integer

The step duration in ms.

commands Array

Step commands.

name String

Command name.

started_utc DateTime

Started timestamp.

stopped_utc DateTime

Stopped timestamp.

elapsed_ms Integer

Elapsed time in ms.

ignore_timing Boolean

'Ignore timing' status.

screenshot_id String

Screenshot ID can be numeric or GUID.

error_message String

Error message.

arguments Array

Command arguments.

name String

Argument name.

value String

Argument value.