Skip to content

Section

parkd126 edited this page Dec 11, 2018 · 7 revisions

Overview

Fields

Name Type Description Request Methods
depth Int The level in the section hierarchy of the test suite TODO
displayOrder Int The order in the test suite TODO
id Int The unique ID of the section TODO
projectId Int The ID of the project the section is related to TODO
description String The description of the section (added with TestRail 4.0) TODO
suiteId Int The ID of the test suite this section belongs to TODO
parentId Int The ID of the parent section in the test suite TODO
name String The name of the section TODO

Methods

GET Requests:


1. getSection

Description:

Returns an existing section.

Parameters:
Name Type Description Required
sectionId Int The ID of the section Yes
Returns:
Example:

 

2. getSections

Description:

Returns a list of sections for a project and test suite.

Parameters:
Name Type Description Required
projectId Int The ID of the project Yes
suiteId Int The ID of the test suite No (if the project is operating in single suite mode)
Returns:
Example:

 

POST Requests:


1. addSection

Description:

Creates a new section.

Required Parameters:
Returns:
Example:

 

2. updateSection

Description:

Updates an existing section (partial updates are supported, i.e. you can submit and update specific fields only).

Required Parameters:
Returns:
Example:

 

3. deleteSection

Description:

Deletes an existing section.

Required Parameters:
Returns:
Example:

 

Clone this wiki locally