Report API's query parameter encoding issue!
Hi,
I am using a report API to fetch the "itemId" of the project area "[System Defined] Domains".
The report API looks something like below -
https://<server>/dm/rpt/repository/foundation?fields=projectArea/projectArea[name=%27%5BSystem%20Defined%5D%20Domains%27]/itemId
And the response is - Error 500: CRRED0122E: Illegal syntax in fields argument: Domains'.
By this error i can understand there is an issue with project area name encoding.
What is the way to encode the report API query parameters?
Thanks & Regards,
Praveen S H
Comments
Marko Tomljenovic
Nov 02 '17, 8:57 a.m.I have done some testing. The problem is not the opening square bracket but the closing one.
Marko Tomljenovic
Nov 02 '17, 9:06 a.m.