SpiraTeam: REST Web Service (v4.0)

See all operations

POST: projects/{project_id}/test-sets/{test_set_id}/test-case-mapping/{test_case_id}?owner_id={owner_id}&existing_test_set_test_case_id={existing_test_set_test_case_id}

Description

Maps a test set to a test case, so that the test case is part of the test set

You can only pass in a test case id not a test case folder id

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-sets/{test_set_id}/test-case-mapping/{test_case_id}?owner_id={owner_id}&existing_test_set_test_case_id={existing_test_set_test_case_id}

Request Parameters

Name Description
project_id The id of the current project
test_set_id The id of the test set being mapped
test_case_id The id of the test case being mapped
owner_id The optonal owner of the test case within this test set
existing_test_set_test_case_id The id of the existing entry we want to insert it before (if not set, will be simply added to the end of the list)

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.

Property Description