POST api/TasksQueue/CompleteTest

Request Information

URI Parameters

None.

Body Parameters

ServerTasksQueueViewModel
NameDescriptionTypeAdditional information
BatchReference

globally unique identifier

None.

UnitTestNamespace

string

None.

UnitTestClassName

string

None.

UnitTestMethod

string

None.

Error

string

None.

Status

Status

None.

Action

ServerAction

None.

Snapshot

ImpactFile

None.

RunnerServers

integer

None.

CheckSum

string

None.

SnapshotDetailTestViewModels

Collection of SnapshotDetailTestViewModel

None.

Id

globally unique identifier

None.

UserCreated

string

None.

UserModified

string

None.

CreatedDate

date

None.

ModifiedDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "BatchReference": "68d95237-ffcc-479c-ab47-b70a05c9eb7c",
  "UnitTestNamespace": "sample string 2",
  "UnitTestClassName": "sample string 3",
  "UnitTestMethod": "sample string 4",
  "Error": "sample string 5",
  "Status": 0,
  "Action": 0,
  "Snapshot": {
    "Name": "sample string 1",
    "IsTestCase": true,
    "CheckSum": "sample string 3",
    "DataBaseCommand": "sample string 4",
    "Files": [
      {
        "Path": "sample string 1",
        "Data": "QEA="
      },
      {
        "Path": "sample string 1",
        "Data": "QEA="
      }
    ],
    "SecureFiles": [
      {
        "Path": "sample string 1",
        "Data": "QEA="
      },
      {
        "Path": "sample string 1",
        "Data": "QEA="
      }
    ],
    "Cookies": [
      {
        "Name": "sample string 1",
        "Value": "sample string 2",
        "Path": "sample string 3",
        "Expiry": "2019-10-20T01:54:33.043911+01:00"
      },
      {
        "Name": "sample string 1",
        "Value": "sample string 2",
        "Path": "sample string 3",
        "Expiry": "2019-10-20T01:54:33.043911+01:00"
      }
    ],
    "Url": "sample string 5"
  },
  "RunnerServers": 6,
  "CheckSum": "sample string 7",
  "SnapshotDetailTestViewModels": [
    {
      "UnitTestClassName": "sample string 1",
      "Snapshot": {
        "Name": "sample string 1",
        "IsTestCase": true,
        "CheckSum": "sample string 3",
        "DataBaseCommand": "sample string 4",
        "Files": [
          {
            "Path": "sample string 1",
            "Data": "QEA="
          },
          {
            "Path": "sample string 1",
            "Data": "QEA="
          }
        ],
        "SecureFiles": [
          {
            "Path": "sample string 1",
            "Data": "QEA="
          },
          {
            "Path": "sample string 1",
            "Data": "QEA="
          }
        ],
        "Cookies": [
          {
            "Name": "sample string 1",
            "Value": "sample string 2",
            "Path": "sample string 3",
            "Expiry": "2019-10-20T01:54:33.043911+01:00"
          },
          {
            "Name": "sample string 1",
            "Value": "sample string 2",
            "Path": "sample string 3",
            "Expiry": "2019-10-20T01:54:33.043911+01:00"
          }
        ],
        "Url": "sample string 5"
      },
      "HashCode": "sample string 2",
      "Id": "497b6644-c2fd-43a4-9118-bdeab4a2a67a",
      "UserCreated": "sample string 4",
      "UserModified": "sample string 5",
      "CreatedDate": "2019-10-20T01:54:33.043911+01:00",
      "ModifiedDate": "2019-10-20T01:54:33.043911+01:00"
    },
    {
      "UnitTestClassName": "sample string 1",
      "Snapshot": {
        "Name": "sample string 1",
        "IsTestCase": true,
        "CheckSum": "sample string 3",
        "DataBaseCommand": "sample string 4",
        "Files": [
          {
            "Path": "sample string 1",
            "Data": "QEA="
          },
          {
            "Path": "sample string 1",
            "Data": "QEA="
          }
        ],
        "SecureFiles": [
          {
            "Path": "sample string 1",
            "Data": "QEA="
          },
          {
            "Path": "sample string 1",
            "Data": "QEA="
          }
        ],
        "Cookies": [
          {
            "Name": "sample string 1",
            "Value": "sample string 2",
            "Path": "sample string 3",
            "Expiry": "2019-10-20T01:54:33.043911+01:00"
          },
          {
            "Name": "sample string 1",
            "Value": "sample string 2",
            "Path": "sample string 3",
            "Expiry": "2019-10-20T01:54:33.043911+01:00"
          }
        ],
        "Url": "sample string 5"
      },
      "HashCode": "sample string 2",
      "Id": "497b6644-c2fd-43a4-9118-bdeab4a2a67a",
      "UserCreated": "sample string 4",
      "UserModified": "sample string 5",
      "CreatedDate": "2019-10-20T01:54:33.043911+01:00",
      "ModifiedDate": "2019-10-20T01:54:33.043911+01:00"
    }
  ],
  "Id": "f792c4da-3168-4b5d-844b-b9a01db5ef95",
  "UserCreated": "sample string 9",
  "UserModified": "sample string 10",
  "CreatedDate": "2019-10-20T01:54:33.043911+01:00",
  "ModifiedDate": "2019-10-20T01:54:33.043911+01:00"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.