Get list of all Test Suites under Folder /Get details of Test suite and its status

QMetry 7QMetry 8
  • URL : /rest/testsuites/list
  • Method : POST
  • URL : /rest/testsuites/list/viewColumns
  • Method : POST
Request Body
{
	"scope": "cycle",
	"tsFolderID": 139276,
	"page": 1,
	"start": 0,
	"limit": 50
}
Request Body
{
     "start" : 0,
     "limit" : 50,
     "page" : 1,
     "entityId" : 139276,
     "entityType" : "TC"
 }
Response Body
{
	"data": [{
		"tsID": 139276,
		"entityKey": "AT-TS-1",
		"associatedCycles": 2,
		"tsFolderID": 3098,
		"name": "Test Suite B",
		"linkedTcCount": 4,
		"linkedPlatform": 2,
		"attachmentCount": 0,
		"createdDate": "Apr 2, 2018 5:52:24 AM",
		"createdBy": 23,
		"createdByAlias": "rachit",
		"ownerAlias": "rachit",
		"testSuiteState": 1,
		"testSuiteStateAlias": "Open",
		"testsuiteStatus": "Not Applicable",
		"StatusID": 3 "folderPath": "QMetry",
		"Total": 4,
		"ExecutionTime": 55,
		"RemainingTime": 180,
		"status_1721": 1
			.....
	}],
	"total": 2
}
Response Body
{
    "data": [{
        "name": "Test Suite B",
        "entityKey": "AT-TS-1",
        "attachmentCount": 0,
        ...
    }, {
        "name": "Test Suite A",
        "entityKey": "AT-TS-2",
        ...
        "isArchived": false
    }],
    "total": 2,
    "viewId": 317,
    "filter": "[]",
    "sort": "[{\"property\":\"name\",\"direction\":\"DESC\"}]",
    "viewName": "Custom",
    "filterTemplate": [{
        "displayName": "Status",
        ...
    },
    ...
    ...
    }],
    "columns": {
        "visibleColumns": [{
            "displayName": "Summary",
        ...
        }],
        "hiddenColumns": [{
            "displayName": "Owner",
            "field": "owner",
            ...
        }]
    },
    "udfFilter": "[]",
    "folderSortColumn": "name",
    "folderSortOrder": "ASC",
    "hideEmptyFolders": false,
    "getSubEntities": true
}