Commit cdc5a8d6 authored by Matija Obreza's avatar Matija Obreza

Observations

parent 22f5cc14
......@@ -469,4 +469,10 @@ public class GenesysClient {
return query(Verb.PUT, "/org/"+ slug+"/blurp", null, blurp.toString());
}
public String listObservations(String parameterName, String dimensionFilter, int page) throws OAuthAuthenticationException, PleaseRetryException, GenesysApiException {
Map<String, String> qs = new HashMap<String, String>();
qs.put("page", String.valueOf(page));
return query(Verb.POST, "/kpi/observation/"+ parameterName+"/", qs, StringUtils.defaultIfBlank(dimensionFilter, ""));
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment