Share this page

# Get monitors over firewall by ID

## Description

Retrieves a monitor over a firewall by the specified ID.

## URL

Copy code

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

## Remarks

None

## HTTP method

GET: Returns a monitor over a firewall by ID.

## Request

Headers:

One of the following:

- Content-Type: application/xml

- Content-Type: application/json

Cookies:

Version | Cookie
--- | ---
2020 or later | LWSSO_COOKIE_KEY={LwssoCookie};
Earlier than 2020 | LWSSO_COOKIE_KEY={LwssoCookie};QCSession={QCSessionCookie};

Request body:

GET: No request body.

Request example:

Copy code

    GET http://<LRE_Server>/LoadTest/rest/domains/{domainName}/projects/{projectName}/mofw/1020
    Accept: application/xml
    Cookie: LWSSO_COOKIE_KEY={LwssoCookie};

## Response

Headers:

One of:

- Accept: application/xml

- Accept: 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 examples:

Copy code
XML example:

    <MonitorOfw xmlns="http://www.hp.com/PC/REST/API">
        <Name>mon_ofw_1</Name>
        <MIListenerID>1002</MIListenerID>
        <MachineKey>pclab.net_ofw</MachineKey>
        <Description />
        <ID>1020</ID>
        <FolderName>>MONS_OFW</FolderName>
    </MonitorOfw>

Copy code
JSON example:

    {    "ID": 1040,
         "FolderName": null,
         "Name": "radu-monitor-ofw",
         "MIListenerID": 1092,
         "MachineKey": "mofw_ofw",
         "FolderID": 1020,
         "Description": null
    }

See also:

- Get all monitors over a firewall
- Add a monitor over a firewall
- Delete a monitor over a firewall

Tips to improve your search results... OpenText™ Enterprise Performance Engineering API Reference OpenText™ Enterprise Performance Engineering All View Local Help Center View Online Help Center(Undefined variable: _rscC_Basic_Variables.VersionLabel)