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

