SpiraTeam: REST Web Service (v4.0)

See all operations

POST: projects/{project_id}/test-cases/{test_case_id}/add-update-automation-script?automation_engine_id={automation_engine_id}&url_or_filename={url_or_filename}&description={description}&version={version}&project_attachment_type_id={project_attachment_type_id}&project_attachment_folder_id={project_attachment_folder_id}

Description

Adds or updates the automation test script associated with a test case

How to Execute

To access this REST web service, you need to use the following URL:

http://api.inflectra.com/Spira/Services/v4_0/RestService.svc/projects/{project_id}/test-cases/{test_case_id}/add-update-automation-script?automation_engine_id={automation_engine_id}&url_or_filename={url_or_filename}&description={description}&version={version}&project_attachment_type_id={project_attachment_type_id}&project_attachment_folder_id={project_attachment_folder_id}

Request Parameters

Name Description
project_id The id of the current project
test_case_id The id of the test case
automation_engine_id The id of the automation engine
url_or_filename The url or filename for the test script
description The description of the automation script
version The version of the test script
project_attachment_type_id The attachment type to store the script under (optional)
project_attachment_folder_id The attachment folder to store the script under (optional)

Request Body

Property Description

Return Data

The JSON and XML examples below show the shape of one entry that will be returned. It does not show an example of how that entry will be populated.