Back to QMetry All Products Help Page
API for Test Cases
Starting M2026 with QMetry Test Management version 8.25.0, the documentation was migrated from Atlassian to a dedicated, standalone QMetry Test Management documentation site. For the latest updates, refer to API for Test Cases.
POST /rest/testcases/list
Description
Get list of test cases in folder.
Request
Content-Type: application/json
Parameters
Name | Located in | Required | Description | Default | Schema |
|---|---|---|---|---|---|
tcFolderID | body | Yes | FolderId of Testcase. Get it from Get List of Testcase Folder/Sub Folders | - | integer |
showAllStateEntities | body | Yes | value "true" | - | boolean |
scope | body | no | Scope of Testcase, possible values project,release,cycle. Default Project | - | integer |
start | body | no | Start index of records | - | integer |
limit | body | no | Number of records per page | - | integer |
page | body | no | Page number to be displayed | - | integer |
Response
Content-Type: application/json
Status Code | Reason | Response Model |
|---|---|---|
200 | Testcase list fetch successfully | |
400 | Invalid json object or mandatory fields missing | - |
401 | Unauthorised or session expired | - |
500 | Returned when server connection times out | - |
POST /rest/testcases/list/viewColumns
Description
Fetch specific data of test cases with custom fields.
Request
Content-Type: application/json
Parameters
Name | Located in | Required | Description | Default | Schema |
|---|---|---|---|---|---|
viewId | body | yes | View ID of the user for that particular project and Testcase module. View ID can be fetched from latestViews section of Getinfo API. | - | integer |
folderPath | body | yes | Path of folder whose Testcases are to be fetched | - | string |
start | body | no | Start index of records | - | integer |
limit | body | no | Number of records per page | - | integer |
page | body | no | Page number to be displayed | - | integer |
havingSharedTestcases | body | no | True value will fetch test cases having shared testcases linked with it | - | boolean |
isForCopyPasteTestStep | body | no | This will fetch version number list of testcase's in response | - | boolean |
isForCopyPaste | body | no | Get version number list of testcase's in response | - | boolean |
showRootOnly | body | no | “true” - shows only root folder. | - | boolean |
getSubEntities | body | no | “true” - gets entities from sub-folders |
| boolean |
hideEmptyFolders | body | no | “false” - to get list of all folders. “True” - to get list of folders with 0 entries. |
| boolean |
folderSortColumn | body | no |
|
| boolean |
folderSortOrder | body | no |
|
| boolean |