GET   scenarios/zebratester/{scenario_id}?include_associated_check_ids={include_associated_check_ids}

Gets info about a ZebraTester scenario.

URL Parameters

NameDescription
scenario_id

ZebraTester scenario identifier. Type: numeric.

include_associated_check_ids

(Optional) Indicates whether identifiers of the associated checks should be included in the response. By default, they are not included and the corresponding property of the response is null. Type: boolean. Example: true. Default value: false.

Request example

curl --request GET "https://api-asm1.apica.io/v3/scenarios/zebratester/5666?include_associated_check_ids=true&auth_ticket=C471ADC4-19B4-4219-BBF4-671A97EC653E"

Response body model example and description

ZebraTester scenario info

{
  "id": 1,
  "original_filename": "sample string 2",
  "zebratester_version": "sample string 3",
  "class_name": "sample string 4",
  "compiled_as_zip": true,
  "created_utc": "2024-11-08T12:39:17",
  "updated_utc": "2024-11-08T12:39:17",
  "associated_check_ids": [
    1,
    2,
    3
  ],
  "scenario_compilation_logs": [
    {
      "Id": 1,
      "ScenarioId": 2,
      "ScenarioCompiledFileId": 1,
      "TimestampUtc": "2024-11-08T12:39:17",
      "Message": "sample string 4",
      "UserGuid": "13c145b4-51fa-4c84-894f-d0d2f978716b"
    },
    {
      "Id": 1,
      "ScenarioId": 2,
      "ScenarioCompiledFileId": 1,
      "TimestampUtc": "2024-11-08T12:39:17",
      "Message": "sample string 4",
      "UserGuid": "2d342ae0-5af1-4853-be66-ab5cfa6ebd61"
    },
    {
      "Id": 1,
      "ScenarioId": 2,
      "ScenarioCompiledFileId": 1,
      "TimestampUtc": "2024-11-08T12:39:17",
      "Message": "sample string 4",
      "UserGuid": "71c5da07-327e-439f-879a-b1c5565566ee"
    }
  ]
}
NameType Description
id Integer

The scenario's numeric identifier.

original_filename String

The original filename.

zebratester_version String

The version of ZebraTester.

class_name String

The scenario class name.

compiled_as_zip Boolean

The scenario is compiled as ZIP.

created_utc DateTime

The time at which the scenario was created.

updated_utc DateTime

The last time at which the scenario was updated.

associated_check_ids Array

The list of identifiers of the checks which are associated with the scenario.

scenario_compilation_logs Array

Compilation Logs generated during scenario compilation

Id Integer

No documentation available.

ScenarioId Integer

No documentation available.

ScenarioCompiledFileId Integer

No documentation available.

TimestampUtc DateTime

No documentation available.

Message String

No documentation available.

UserGuid Guid

No documentation available.