Ah. That’s not a ‘valid’ endpoint, although it is received by WebAPI and it tries to resolve it to a report.
This is a ‘trick’ that the devs implemented in the route handling: there is a path described as: cdmresults/{sourcekey}/{domain}
, and based on the values passed into the URL for sourcekey and domain, it will attempt to load a treeview report. You passed it a domain of ‘refresh_cache’ so it’s trying to load that domain report, which doesn’t exist, which leads to the error you’re getting.
There is also a cdmresults/{sourcekey}/refreshCache
endpoint which is independent of the prior one with the {domain}
part. Meaning: if you pass the url with refreshCache, it’s not going to the paramaterized endpoint because there is a literal endpoint refreshCache
that will be routed first before passing in it as a paramater to the cdmresults/{sourcekey}/{domain}
endpoint.
-Chris