{
  "CurrentRequestName": "CreateForAutomationHost",
  "CurrentPath": "AutomatedTestRun.rest",
  "Name": "AutomatedTestRun",
  "Requests": [
    {
      "Name": "CreateForAutomationHost",
      "Url": "https://science37.spiraservice.net/services/v5_0/RestService.svc/projects/{project_id}/test-runs/create/automation_host/{automation_host_token}",
      "Method": "POST",
      "Body": "",

      "Headers": [
        {
          "Name": "Accept",
          "Value": "application/json"
        },
        {
          "Name": "Content-Type",
          "Value": "application/json"
        }
      ],
      "Parameters": [
        {
          "Name": "project_id",
          "TokenName": "{project_id}",
          "Value": ""
        },
        {
          "Name": "automation_host_token",
          "TokenName": "{automation_host_token}",
          "Value": ""
        }
      ]
    },
    {
      "Name": "CreateForAutomatedTestSet",
      "Url": "https://science37.spiraservice.net/services/v5_0/RestService.svc/projects/{project_id}/test-runs/create/test_set/{test_set_id}/automation_host/{automation_host_token}",
      "Method": "POST",
      "Body": "",

      "Headers": [
        {
          "Name": "Accept",
          "Value": "application/json"
        },
        {
          "Name": "Content-Type",
          "Value": "application/json"
        }
      ],
      "Parameters": [
        {
          "Name": "project_id",
          "TokenName": "{project_id}",
          "Value": ""
        },
        {
          "Name": "test_set_id",
          "TokenName": "{test_set_id}",
          "Value": ""
        },
        {
          "Name": "automation_host_token",
          "TokenName": "{automation_host_token}",
          "Value": ""
        }
      ]
    },
    {
      "Name": "RecordAutomated1",
      "Url": "https://science37.spiraservice.net/services/v5_0/RestService.svc/projects/{project_id}/test-runs/record",
      "Method": "POST",
      "Body": "",

      "Headers": [
        {
          "Name": "Accept",
          "Value": "application/json"
        },
        {
          "Name": "Content-Type",
          "Value": "application/json"
        }
      ],
      "Parameters": [
        {
          "Name": "project_id",
          "TokenName": "{project_id}",
          "Value": ""
        }
      ]
    },
    {
      "Name": "RecordAutomated2",
      "Url": "https://science37.spiraservice.net/services/v5_0/RestService.svc/projects/{project_id}/test-runs/record-multiple",
      "Method": "POST",
      "Body": "",

      "Headers": [
        {
          "Name": "Accept",
          "Value": "application/json"
        },
        {
          "Name": "Content-Type",
          "Value": "application/json"
        }
      ],
      "Parameters": [
        {
          "Name": "project_id",
          "TokenName": "{project_id}",
          "Value": ""
        }
      ]
    },
    {
      "Name": "RetrieveAutomatedById",
      "Url": "https://science37.spiraservice.net/services/v5_0/RestService.svc/projects/{project_id}/test-runs/{test_run_id}/automated",
      "Method": "GET",
      "Body": "",

      "Headers": [
        {
          "Name": "Accept",
          "Value": "application/json"
        },
        {
          "Name": "Content-Type",
          "Value": "application/json"
        }
      ],
      "Parameters": [
        {
          "Name": "project_id",
          "TokenName": "{project_id}",
          "Value": ""
        },
        {
          "Name": "test_run_id",
          "TokenName": "{test_run_id}",
          "Value": ""
        }
      ]
    },
    {
      "Name": "RetrieveAutomated1",
      "Url": "https://science37.spiraservice.net/services/v5_0/RestService.svc/projects/{project_id}/test-runs/automated?starting_row={starting_row}&number_of_rows={number_of_rows}&sort_field={sort_field}&sort_direction={sort_direction}",
      "Method": "GET",
      "Body": "",

      "Headers": [
        {
          "Name": "Accept",
          "Value": "application/json"
        },
        {
          "Name": "Content-Type",
          "Value": "application/json"
        }
      ],
      "Parameters": [
        {
          "Name": "project_id",
          "TokenName": "{project_id}",
          "Value": ""
        },
        {
          "Name": "starting_row",
          "TokenName": "{starting_row}",
          "Value": ""
        },
        {
          "Name": "number_of_rows",
          "TokenName": "{number_of_rows}",
          "Value": ""
        },
        {
          "Name": "sort_field",
          "TokenName": "{sort_field}",
          "Value": ""
        },
        {
          "Name": "sort_direction",
          "TokenName": "{sort_direction}",
          "Value": ""
        }
      ]
    },
    {
      "Name": "RetrieveAutomated2",
      "Url": "https://science37.spiraservice.net/services/v5_0/RestService.svc/projects/{project_id}/test-runs/search/automated?starting_row={starting_row}&number_of_rows={number_of_rows}&sort_field={sort_field}&sort_direction={sort_direction}",
      "Method": "POST",
      "Body": "",

      "Headers": [
        {
          "Name": "Accept",
          "Value": "application/json"
        },
        {
          "Name": "Content-Type",
          "Value": "application/json"
        }
      ],
      "Parameters": [
        {
          "Name": "project_id",
          "TokenName": "{project_id}",
          "Value": ""
        },
        {
          "Name": "starting_row",
          "TokenName": "{starting_row}",
          "Value": ""
        },
        {
          "Name": "number_of_rows",
          "TokenName": "{number_of_rows}",
          "Value": ""
        },
        {
          "Name": "sort_field",
          "TokenName": "{sort_field}",
          "Value": ""
        },
        {
          "Name": "sort_direction",
          "TokenName": "{sort_direction}",
          "Value": ""
        }
      ]
    }
  ]
}
