I am trying to get all analysis from master action site which are set for every report & want to update them for some defined time.
But when I am trying to use GET in IEM CLI -
iem get --server=https://localhost:52311/api/analysis/master/master >>out.xml
API Request Failed: String found where a integer ID expected.
However when I am going by ID its fetching data.
once xml is available with all analysis which are set for every report, I want to change them & update using REST API
The query GET analyses/{site type}/{site name} fetches a list of analyses in the specified site.
It’s response is XML list of Analyses (including Analyses IDs).
The query GET analysis/{site type}/{site name}/{analysis id} gets the XML for a specific analysis.
It’s response is BES XML of Object.
You may use POST to create new content and PUT to update it.