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\": [
        \"88662a86-c73e-433a-8428-7db1bbf69aa3\",
        \"b2d5320d-371c-4877-a86c-305b0004a1fe\",
        \"d94f6354-76ac-4645-b0ab-4f9dd9fe47c3\"
      ]
    }
  }
}"
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": "069a6822-5901-4b2a-bb51-02f72fd75849",
      "total_execution_time_ms": 2342,
      "total_step_time_ms": 2745,
      "started_utc": "2024-05-19T11:42:06",
      "stopped_utc": "2024-05-19T11:42:06",
      "message": "OK",
      "severity": "I"
    },
    "steps": [
      {
        "title": "endStep",
        "command_count": 10,
        "started_utc": "2024-05-19T11:42:06",
        "stopped_utc": "2024-05-19T11:42:06",
        "duration_ms": 3,
        "commands": [
          {
            "name": "startStep",
            "started_utc": "2024-05-19T11:42:06",
            "stopped_utc": "2024-05-19T11:42:06",
            "elapsed_ms": 4563,
            "ignore_timing": true,
            "screenshot_id": "408b07ee-XXXX-XXXX-XXXX-afb20a4c7352",
            "error_message": "Path not found.",
            "arguments": [
              {
                "name": "duration",
                "value": "1000"
              },
              {
                "name": "stepName",
                "value": "C:\\Windows\\System32\\*"
              },
              {
                "name": "stepName",
                "value": "1000"
              }
            ]
          },
          {
            "name": "startStep",
            "started_utc": "2024-05-19T11:42:06",
            "stopped_utc": "2024-05-19T11:42:06",
            "elapsed_ms": 4563,
            "ignore_timing": true,
            "screenshot_id": "408b07ee-XXXX-XXXX-XXXX-afb20a4c7352",
            "error_message": "Path not found.",
            "arguments": [
              {
                "name": "stepName",
                "value": "C:\\Windows\\System32\\*"
              },
              {
                "name": "stepName",
                "value": "C:\\Windows\\System32\\*"
              },
              {
                "name": "duration",
                "value": "1000"
              }
            ]
          },
          {
            "name": "startStep",
            "started_utc": "2024-05-19T11:42:06",
            "stopped_utc": "2024-05-19T11:42:06",
            "elapsed_ms": 4563,
            "ignore_timing": true,
            "screenshot_id": "408b07ee-XXXX-XXXX-XXXX-afb20a4c7352",
            "error_message": "Path not found.",
            "arguments": [
              {
                "name": "stepName",
                "value": "C:\\Windows\\System32\\*"
              },
              {
                "name": "stepName",
                "value": "C:\\Windows\\System32\\*"
              },
              {
                "name": "stepName",
                "value": "C:\\Windows\\System32\\*"
              }
            ]
          }
        ]
      },
      {
        "title": "startStep",
        "command_count": 10,
        "started_utc": "2024-05-19T11:42:06",
        "stopped_utc": "2024-05-19T11:42:06",
        "duration_ms": 3,
        "commands": [
          {
            "name": "startStep",
            "started_utc": "2024-05-19T11:42:06",
            "stopped_utc": "2024-05-19T11:42:06",
            "elapsed_ms": 4563,
            "ignore_timing": true,
            "screenshot_id": "408b07ee-XXXX-XXXX-XXXX-afb20a4c7352",
            "error_message": "Path not found.",
            "arguments": [
              {
                "name": "duration",
                "value": "1000"
              },
              {
                "name": "stepName",
                "value": "C:\\Windows\\System32\\*"
              },
              {
                "name": "stepName",
                "value": "1000"
              }
            ]
          },
          {
            "name": "startStep",
            "started_utc": "2024-05-19T11:42:06",
            "stopped_utc": "2024-05-19T11:42:06",
            "elapsed_ms": 4563,
            "ignore_timing": true,
            "screenshot_id": "408b07ee-XXXX-XXXX-XXXX-afb20a4c7352",
            "error_message": "Path not found.",
            "arguments": [
              {
                "name": "stepName",
                "value": "C:\\Windows\\System32\\*"
              },
              {
                "name": "stepName",
                "value": "C:\\Windows\\System32\\*"
              },
              {
                "name": "duration",
                "value": "1000"
              }
            ]
          },
          {
            "name": "startStep",
            "started_utc": "2024-05-19T11:42:06",
            "stopped_utc": "2024-05-19T11:42:06",
            "elapsed_ms": 4563,
            "ignore_timing": true,
            "screenshot_id": "408b07ee-XXXX-XXXX-XXXX-afb20a4c7352",
            "error_message": "Path not found.",
            "arguments": [
              {
                "name": "duration",
                "value": "1000"
              },
              {
                "name": "stepName",
                "value": "C:\\Windows\\System32\\*"
              },
              {
                "name": "stepName",
                "value": "1000"
              }
            ]
          }
        ]
      },
      {
        "title": "processStep",
        "command_count": 10,
        "started_utc": "2024-05-19T11:42:06",
        "stopped_utc": "2024-05-19T11:42:06",
        "duration_ms": 3,
        "commands": [
          {
            "name": "startStep",
            "started_utc": "2024-05-19T11:42:06",
            "stopped_utc": "2024-05-19T11:42:06",
            "elapsed_ms": 4563,
            "ignore_timing": true,
            "screenshot_id": "408b07ee-XXXX-XXXX-XXXX-afb20a4c7352",
            "error_message": "Path not found.",
            "arguments": [
              {
                "name": "stepName",
                "value": "C:\\Windows\\System32\\*"
              },
              {
                "name": "stepName",
                "value": "C:\\Windows\\System32\\*"
              },
              {
                "name": "duration",
                "value": "1000"
              }
            ]
          },
          {
            "name": "startStep",
            "started_utc": "2024-05-19T11:42:06",
            "stopped_utc": "2024-05-19T11:42:06",
            "elapsed_ms": 4563,
            "ignore_timing": true,
            "screenshot_id": "408b07ee-XXXX-XXXX-XXXX-afb20a4c7352",
            "error_message": "Path not found.",
            "arguments": [
              {
                "name": "stepName",
                "value": "C:\\Windows\\System32\\*"
              },
              {
                "name": "stepName",
                "value": "C:\\Windows\\System32\\*"
              },
              {
                "name": "duration",
                "value": "1000"
              }
            ]
          },
          {
            "name": "startStep",
            "started_utc": "2024-05-19T11:42:06",
            "stopped_utc": "2024-05-19T11:42:06",
            "elapsed_ms": 4563,
            "ignore_timing": true,
            "screenshot_id": "408b07ee-XXXX-XXXX-XXXX-afb20a4c7352",
            "error_message": "Path not found.",
            "arguments": [
              {
                "name": "duration",
                "value": "1000"
              },
              {
                "name": "stepName",
                "value": "C:\\Windows\\System32\\*"
              },
              {
                "name": "stepName",
                "value": "1000"
              }
            ]
          }
        ]
      }
    ]
  },
  {
    "summary": {
      "result_id": "3a1151b3-5ed5-42c9-8e4b-9fa95e40950c",
      "total_execution_time_ms": 2342,
      "total_step_time_ms": 2745,
      "started_utc": "2024-05-19T11:42:06",
      "stopped_utc": "2024-05-19T11:42:06",
      "message": "OK",
      "severity": "I"
    },
    "steps": [
      {
        "title": "endStep",
        "command_count": 10,
        "started_utc": "2024-05-19T11:42:06",
        "stopped_utc": "2024-05-19T11:42:06",
        "duration_ms": 3,
        "commands": [
          {
            "name": "startStep",
            "started_utc": "2024-05-19T11:42:06",
            "stopped_utc": "2024-05-19T11:42:06",
            "elapsed_ms": 4563,
            "ignore_timing": true,
            "screenshot_id": "408b07ee-XXXX-XXXX-XXXX-afb20a4c7352",
            "error_message": "Path not found.",
            "arguments": [
              {
                "name": "duration",
                "value": "1000"
              },
              {
                "name": "stepName",
                "value": "C:\\Windows\\System32\\*"
              },
              {
                "name": "stepName",
                "value": "1000"
              }
            ]
          },
          {
            "name": "startStep",
            "started_utc": "2024-05-19T11:42:06",
            "stopped_utc": "2024-05-19T11:42:06",
            "elapsed_ms": 4563,
            "ignore_timing": true,
            "screenshot_id": "408b07ee-XXXX-XXXX-XXXX-afb20a4c7352",
            "error_message": "Path not found.",
            "arguments": [
              {
                "name": "stepName",
                "value": "C:\\Windows\\System32\\*"
              },
              {
                "name": "stepName",
                "value": "C:\\Windows\\System32\\*"
              },
              {
                "name": "duration",
                "value": "1000"
              }
            ]
          },
          {
            "name": "startStep",
            "started_utc": "2024-05-19T11:42:06",
            "stopped_utc": "2024-05-19T11:42:06",
            "elapsed_ms": 4563,
            "ignore_timing": true,
            "screenshot_id": "408b07ee-XXXX-XXXX-XXXX-afb20a4c7352",
            "error_message": "Path not found.",
            "arguments": [
              {
                "name": "stepName",
                "value": "C:\\Windows\\System32\\*"
              },
              {
                "name": "stepName",
                "value": "C:\\Windows\\System32\\*"
              },
              {
                "name": "stepName",
                "value": "C:\\Windows\\System32\\*"
              }
            ]
          }
        ]
      },
      {
        "title": "processStep",
        "command_count": 10,
        "started_utc": "2024-05-19T11:42:06",
        "stopped_utc": "2024-05-19T11:42:06",
        "duration_ms": 3,
        "commands": [
          {
            "name": "startStep",
            "started_utc": "2024-05-19T11:42:06",
            "stopped_utc": "2024-05-19T11:42:06",
            "elapsed_ms": 4563,
            "ignore_timing": true,
            "screenshot_id": "408b07ee-XXXX-XXXX-XXXX-afb20a4c7352",
            "error_message": "Path not found.",
            "arguments": [
              {
                "name": "stepName",
                "value": "C:\\Windows\\System32\\*"
              },
              {
                "name": "stepName",
                "value": "C:\\Windows\\System32\\*"
              },
              {
                "name": "duration",
                "value": "1000"
              }
            ]
          },
          {
            "name": "startStep",
            "started_utc": "2024-05-19T11:42:06",
            "stopped_utc": "2024-05-19T11:42:06",
            "elapsed_ms": 4563,
            "ignore_timing": true,
            "screenshot_id": "408b07ee-XXXX-XXXX-XXXX-afb20a4c7352",
            "error_message": "Path not found.",
            "arguments": [
              {
                "name": "stepName",
                "value": "C:\\Windows\\System32\\*"
              },
              {
                "name": "stepName",
                "value": "C:\\Windows\\System32\\*"
              },
              {
                "name": "duration",
                "value": "1000"
              }
            ]
          },
          {
            "name": "startStep",
            "started_utc": "2024-05-19T11:42:06",
            "stopped_utc": "2024-05-19T11:42:06",
            "elapsed_ms": 4563,
            "ignore_timing": true,
            "screenshot_id": "408b07ee-XXXX-XXXX-XXXX-afb20a4c7352",
            "error_message": "Path not found.",
            "arguments": [
              {
                "name": "duration",
                "value": "1000"
              },
              {
                "name": "stepName",
                "value": "C:\\Windows\\System32\\*"
              },
              {
                "name": "stepName",
                "value": "1000"
              }
            ]
          }
        ]
      },
      {
        "title": "endStep",
        "command_count": 10,
        "started_utc": "2024-05-19T11:42:06",
        "stopped_utc": "2024-05-19T11:42:06",
        "duration_ms": 3,
        "commands": [
          {
            "name": "startStep",
            "started_utc": "2024-05-19T11:42:06",
            "stopped_utc": "2024-05-19T11:42:06",
            "elapsed_ms": 4563,
            "ignore_timing": true,
            "screenshot_id": "408b07ee-XXXX-XXXX-XXXX-afb20a4c7352",
            "error_message": "Path not found.",
            "arguments": [
              {
                "name": "duration",
                "value": "1000"
              },
              {
                "name": "stepName",
                "value": "C:\\Windows\\System32\\*"
              },
              {
                "name": "stepName",
                "value": "1000"
              }
            ]
          },
          {
            "name": "startStep",
            "started_utc": "2024-05-19T11:42:06",
            "stopped_utc": "2024-05-19T11:42:06",
            "elapsed_ms": 4563,
            "ignore_timing": true,
            "screenshot_id": "408b07ee-XXXX-XXXX-XXXX-afb20a4c7352",
            "error_message": "Path not found.",
            "arguments": [
              {
                "name": "stepName",
                "value": "C:\\Windows\\System32\\*"
              },
              {
                "name": "stepName",
                "value": "C:\\Windows\\System32\\*"
              },
              {
                "name": "duration",
                "value": "1000"
              }
            ]
          },
          {
            "name": "startStep",
            "started_utc": "2024-05-19T11:42:06",
            "stopped_utc": "2024-05-19T11:42:06",
            "elapsed_ms": 4563,
            "ignore_timing": true,
            "screenshot_id": "408b07ee-XXXX-XXXX-XXXX-afb20a4c7352",
            "error_message": "Path not found.",
            "arguments": [
              {
                "name": "stepName",
                "value": "C:\\Windows\\System32\\*"
              },
              {
                "name": "stepName",
                "value": "C:\\Windows\\System32\\*"
              },
              {
                "name": "stepName",
                "value": "C:\\Windows\\System32\\*"
              }
            ]
          }
        ]
      }
    ]
  },
  {
    "summary": {
      "result_id": "be917eb3-2224-4ccd-a4cc-ee32b9becdce",
      "total_execution_time_ms": 2342,
      "total_step_time_ms": 2745,
      "started_utc": "2024-05-19T11:42:06",
      "stopped_utc": "2024-05-19T11:42:06",
      "message": "OK",
      "severity": "I"
    },
    "steps": [
      {
        "title": "startStep",
        "command_count": 10,
        "started_utc": "2024-05-19T11:42:06",
        "stopped_utc": "2024-05-19T11:42:06",
        "duration_ms": 3,
        "commands": [
          {
            "name": "startStep",
            "started_utc": "2024-05-19T11:42:06",
            "stopped_utc": "2024-05-19T11:42:06",
            "elapsed_ms": 4563,
            "ignore_timing": true,
            "screenshot_id": "408b07ee-XXXX-XXXX-XXXX-afb20a4c7352",
            "error_message": "Path not found.",
            "arguments": [
              {
                "name": "duration",
                "value": "1000"
              },
              {
                "name": "stepName",
                "value": "C:\\Windows\\System32\\*"
              },
              {
                "name": "stepName",
                "value": "1000"
              }
            ]
          },
          {
            "name": "startStep",
            "started_utc": "2024-05-19T11:42:06",
            "stopped_utc": "2024-05-19T11:42:06",
            "elapsed_ms": 4563,
            "ignore_timing": true,
            "screenshot_id": "408b07ee-XXXX-XXXX-XXXX-afb20a4c7352",
            "error_message": "Path not found.",
            "arguments": [
              {
                "name": "stepName",
                "value": "C:\\Windows\\System32\\*"
              },
              {
                "name": "stepName",
                "value": "C:\\Windows\\System32\\*"
              },
              {
                "name": "duration",
                "value": "1000"
              }
            ]
          },
          {
            "name": "startStep",
            "started_utc": "2024-05-19T11:42:06",
            "stopped_utc": "2024-05-19T11:42:06",
            "elapsed_ms": 4563,
            "ignore_timing": true,
            "screenshot_id": "408b07ee-XXXX-XXXX-XXXX-afb20a4c7352",
            "error_message": "Path not found.",
            "arguments": [
              {
                "name": "duration",
                "value": "1000"
              },
              {
                "name": "stepName",
                "value": "C:\\Windows\\System32\\*"
              },
              {
                "name": "stepName",
                "value": "1000"
              }
            ]
          }
        ]
      },
      {
        "title": "processStep",
        "command_count": 10,
        "started_utc": "2024-05-19T11:42:06",
        "stopped_utc": "2024-05-19T11:42:06",
        "duration_ms": 3,
        "commands": [
          {
            "name": "startStep",
            "started_utc": "2024-05-19T11:42:06",
            "stopped_utc": "2024-05-19T11:42:06",
            "elapsed_ms": 4563,
            "ignore_timing": true,
            "screenshot_id": "408b07ee-XXXX-XXXX-XXXX-afb20a4c7352",
            "error_message": "Path not found.",
            "arguments": [
              {
                "name": "stepName",
                "value": "C:\\Windows\\System32\\*"
              },
              {
                "name": "stepName",
                "value": "C:\\Windows\\System32\\*"
              },
              {
                "name": "duration",
                "value": "1000"
              }
            ]
          },
          {
            "name": "startStep",
            "started_utc": "2024-05-19T11:42:06",
            "stopped_utc": "2024-05-19T11:42:06",
            "elapsed_ms": 4563,
            "ignore_timing": true,
            "screenshot_id": "408b07ee-XXXX-XXXX-XXXX-afb20a4c7352",
            "error_message": "Path not found.",
            "arguments": [
              {
                "name": "stepName",
                "value": "C:\\Windows\\System32\\*"
              },
              {
                "name": "stepName",
                "value": "C:\\Windows\\System32\\*"
              },
              {
                "name": "duration",
                "value": "1000"
              }
            ]
          },
          {
            "name": "startStep",
            "started_utc": "2024-05-19T11:42:06",
            "stopped_utc": "2024-05-19T11:42:06",
            "elapsed_ms": 4563,
            "ignore_timing": true,
            "screenshot_id": "408b07ee-XXXX-XXXX-XXXX-afb20a4c7352",
            "error_message": "Path not found.",
            "arguments": [
              {
                "name": "duration",
                "value": "1000"
              },
              {
                "name": "stepName",
                "value": "C:\\Windows\\System32\\*"
              },
              {
                "name": "stepName",
                "value": "1000"
              }
            ]
          }
        ]
      },
      {
        "title": "startStep",
        "command_count": 10,
        "started_utc": "2024-05-19T11:42:06",
        "stopped_utc": "2024-05-19T11:42:06",
        "duration_ms": 3,
        "commands": [
          {
            "name": "startStep",
            "started_utc": "2024-05-19T11:42:06",
            "stopped_utc": "2024-05-19T11:42:06",
            "elapsed_ms": 4563,
            "ignore_timing": true,
            "screenshot_id": "408b07ee-XXXX-XXXX-XXXX-afb20a4c7352",
            "error_message": "Path not found.",
            "arguments": [
              {
                "name": "duration",
                "value": "1000"
              },
              {
                "name": "stepName",
                "value": "C:\\Windows\\System32\\*"
              },
              {
                "name": "stepName",
                "value": "1000"
              }
            ]
          },
          {
            "name": "startStep",
            "started_utc": "2024-05-19T11:42:06",
            "stopped_utc": "2024-05-19T11:42:06",
            "elapsed_ms": 4563,
            "ignore_timing": true,
            "screenshot_id": "408b07ee-XXXX-XXXX-XXXX-afb20a4c7352",
            "error_message": "Path not found.",
            "arguments": [
              {
                "name": "stepName",
                "value": "C:\\Windows\\System32\\*"
              },
              {
                "name": "stepName",
                "value": "C:\\Windows\\System32\\*"
              },
              {
                "name": "duration",
                "value": "1000"
              }
            ]
          },
          {
            "name": "startStep",
            "started_utc": "2024-05-19T11:42:06",
            "stopped_utc": "2024-05-19T11:42:06",
            "elapsed_ms": 4563,
            "ignore_timing": true,
            "screenshot_id": "408b07ee-XXXX-XXXX-XXXX-afb20a4c7352",
            "error_message": "Path not found.",
            "arguments": [
              {
                "name": "duration",
                "value": "1000"
              },
              {
                "name": "stepName",
                "value": "C:\\Windows\\System32\\*"
              },
              {
                "name": "stepName",
                "value": "1000"
              }
            ]
          }
        ]
      }
    ]
  }
]
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.