Add resource folder

Description

Adds a resource folder.

URL

Copy code
/LoadTest/rest/domains/{domainName}/projects/{projectName}/resourcefolders

Remarks

Body of the request should contain a resource folder description in XML or JSON format.

HTTP Method

POST: Creates a resource folder.

Request

Headers:

One of the following:

  • Content-Type: application/xml

  • Content-Type: application/json

Cookies:

Version 2020 (or later)

LWSSO_COOKIE_KEY={LwssoCookie};

Versions earlier than 2020

LWSSO_COOKIE_KEY={LwssoCookie};QCSession={QCSessionCookie};

Request Body:

POST: An XML or JSON containing the resource folder ID.

The mandatory fields in the request are:

ElementDescription
NameName of the resource folder.
ParentFolderID

ID of the resource folder

Response

Headers:

One of:

  • Accept: application/xml

  • Accept: application/json

Cookies:

None

HTML Return Code:

One of the HTTP Return Codes

HTML Body:

The data on the entity in the response.

See Also

Get all resource folders
Get resource folders by ID
Delete resource folder