Quantcast
Channel: Siggi Gladitsch Tracker
Viewing all articles
Browse latest Browse all 426

Re: Are any REST Web services available to access Sitescope data?

$
0
0

Hi Harish,

you didn't specify the parameters the call expects:
..
getAcknowledgments
The getAcknowledgments method returns the acknowledgment data log of the given Entity.

REST End
Point
/api/monitors/monitor/acknowledgements

Method GET

Query Parameters

fullPathToEntity– A string specifying the full path to the entity. The path starts with the
name of the first child under the SiteScope root directory and ends with the name of the entity
with elements of the path separated by the string "_sis_path_delimiter_".
identifier– Identifier to be associated with the operation and written to audit log.

Return Type
A list of acknowledgments.

Status Codes
200, 400, 500

I got it working via SoapUi as follows:

screenshot.jpg

Method : GET 
Endpoint : http://localhost:8080 
Resource : /SiteScope/api/monitors/monitor/acknowledgements
Parameters : ?fullPathToEntity=Test_sis_path_delimiter_ping&identifier=SG_via_SoapUI
(I provided he username and password via
 Authentication with Authenticate pre-emptively checked)

Raw output is

HTTP/1.1 200 OK
Cache-Control: no-store, no-cache, must-revalidate
..
Content-Type: application/json
Content-Length: 925
Date: Tue, 24 Jan 2017 15:24:42 GMT
Server: ******

[{"Status":"Error","Operation":"Acknowledge","Message":"test from Siggi","Date/Time":"16:05:47 01/24/2017","Who":"SiteScope Administrator"},{"Status":"Error","Operation":"Acknowledge","Message":"test from Siggi","Date/Time":"16:06:04 01/24/2017","Who":"SiteScope Administrator"},{"Status":"Error","Operation":"Acknowledge","Message":"test2","Date/Time":"16:07:19 01/24/2017","Who":"SiteScope Administrator"},{"Status":"","Operation":"AcknowledgeClear","Message":"","Date/Time":"16:12:13 01/24/2017","Who":"SiteScope Administrator"},{"Status":"","Operation":"AcknowledgeClear","Message":"","Date/Time":"16:12:26 01/24/2017","Who":"SiteScope Administrator"},{"Status":"Error","Operation":"Acknowledge","Message":"SG - ack'ing","Date/Time":"16:14:01 01/24/2017","Who":"SiteScope Administrator"},{"Status":"Error","Operation":"Acknowledge","Message":"SG2 - ack","Date/Time":"16:15:24 01/24/2017","Who":"SiteScope Administrator"}]

Greetings
Siggi

 


Viewing all articles
Browse latest Browse all 426

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>