It's all about the answers!

Ask a question

Reportable REST API: HTTP GET response in json fromat


Krzysztof Płazio (132) | asked Nov 29 '21, 9:53 a.m.

 Hi

How can I get response in json format by reportable rest api? 
I added header 'Accept': 'application/json', 'text/json' but it's doesn't work. 
I know reportable rest api doesn't work with PUT and POST queries, but with GET should works.

Best regards :)

One answer



permanent link
Ian Barnard (1.5k613) | answered Nov 29 '21, 10:36 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
edited Nov 29 '21, 10:37 a.m.

Looks like ETM (RQM) supports json using Accept: application/json https://jazz.net/wiki/bin/view/Main/RqmApi#HTTP_GET_Requests but no mention for DN https://jazz.net/wiki/bin/view/Main/DNGReportableRestAPI or EWM https://jazz.net/wiki/bin/view/Main/ReportsRESTAPI in their API specifications 


Comments
Ralph Schoon commented Nov 30 '21, 2:37 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

Agree, especially EWM I do see a documentation that does not include anything about JSON. The question is severely lacking as well. 

Your answer


Register or to post your answer.