I am able to authenticate and use token to get sites (/service/api/console/gsm/{gsm}/sites), then endpoints (/service/api/console/gsm/{siteKey}/sites/{siteId}/endpoints) however; when I attempt to call threathistory I get the following.
Threat history method url:
https://unityapi.webrootcloudav.com/service/api/console/gsm/{siteKey}/sites/{siteId}/threathistory
error:
Fails: StatusCode: 400, ReasonPhrase: 'Bad Request', Version: 1.1, Content: System.Net.Http.HttpConnectionResponseContent, Headers:
{
Access-Control-Allow-Origin: *
Date: Wed, 08 Jul 2020 02:39:14 GMT
Server: Microsoft-IIS/10.0
X-WRRequestId: 3c5f05db-c554-467a-85bc-7f12b4f96448
X-WRServer: EC2AMAZ-MHU4IHM
X-WRServiceVersion: 1.0.20065.1
Connection: keep-alive
Content-Type: application/json; charset=utf-8
Content-Length: 225
}}
This error doesn’t give any useful information. Is there a place to get useful info from the error? Is the threathistory api still active?