Open topic with navigation

# Monitors over Firewall (Get by ID)

## Description

Retrieves a monitor over a firewall by the specified ID.

## URL

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

## Remarks

None

## HTTP Method

GET: Returns a monitor over a firewall by ID.

## 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 monitor over a frewall.

Request Example

    GET http://<LRE_Server>/LoadTest/rest/domains/{domainName}/projects/{projectName}/mofw/1020
    Accept: 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 deletion, returns HTTP status 200 (OK).

HTML Body:

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

Response 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>

## See Also

Monitors over a Firewall (Get all)
Monitors over a Firewall (Add)
Monitors over a Firewall (Add)