Get monitors over firewall 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:
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:
GET: No request body.
![Closed](../Skins/Default/Stylesheets/Images/transparent.gif)
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.
![Closed](../Skins/Default/Stylesheets/Images/transparent.gif)
<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>
{ "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