Agile Central - WSAPI: Can we create a Test Set with multiple test cases using a single WSAPI call ?

Document ID : KB000122202
Last Modified Date : 30/11/2018
Show Technical Document Details
We would like to use one WSAPI call and create (or update) a Test Set and include a number of Test Cases. Can this be done?
Yes. Here is an example:

    "TestSet": {
         "Name":"Creating a TestSet with multiple TestCases",
         "TestCases": [
                  { "_ref": "/testcase/<The objectID of that test case>" },
                  { "_ref": "/testcase/<The objectID of that test case>" }

Surely, you can include more fields to your Test Set definition than 'Name' which is in the above example.

Additional Information:
More on Test Sets here.