Share this page

# Get resource folders by ID

## Description

Gets a resource folder by the specified ID.

## URL

Copy code

    /LoadTest/rest/domains/{domainName}/projects/{projectName}/resourcefolders/{id}

## Remarks

None

## HTTP Method

GET: Returns the resource folder.

## Request

Headers:

Accept: application/xml

Cookies:

Version 2020 (or later) | LWSSO_COOKIE_KEY={LwssoCookie};
Versions earlier than 2020 | LWSSO_COOKIE_KEY={LwssoCookie};QCSession={QCSessionCookie};

Request Body:

GET: No request body.

An XML describing the resources folder.

Request Example
Copy code

    GET http://<LRE_Server>/LoadTest/rest/domains/{domainName}/projects/{projectName}/resourcefolders/1002
    Content-Type: application/xml
    Cookie: LWSSO_COOKIE_KEY={LwssoCookie};

## Response

Headers:

One of:

- Content-Type: application/xml

- Content-Type: application/json

Cookies:

None

HTML Return Code:

One of the HTTP Return Codes

Upon successful retrieval, returns HTTP status 200 (OK).

HTML Body:

GET: Returns the data on the entity in the response.

Response Example
Copy code

    <ResourceFolder xmlns="http://www.hp.com/PC/REST/API">
        <Name>MNS_OFW</Name>
        <ParentFolderID>1</ParentFolderID>
        <Description />
        <ID>1002</ID>
    </ResourceFolder>

## See Also

Get all resource folders
Add resource folder
Delete resource folder

Tips to improve your search results... LoadRunner Enterprise REST API Reference LRE REST API All View Local Help Center View Online Help Center back Go back in browser history forward Go forward in browser history Remove search highlights next topic Go to next topic previous topic Go to previous topic Print the current topic(Undefined variable: _rscC_Basic_Variables.VersionLabel)