Hello,
Which version of Information Server are you using?
There were a couple of known issues with DFD returning the generic "RestApiResponseUnsuccessful 200" error in some situations, because it is missing the default directory or the default project. Please see the links below. The issue that you raised might be related, and the issues have been fixed.
JR61096: THE DEFAULT DFD DIRECTORY ._DFDESIGNER IN ENGINE TIER WAS NOT CREATED DURING IIS INSTALLATION.
https://www.ibm.com/support/pages/apar/JR61096
JR61281: DFD API IS LOOKING INTO DEFAULT "DSTAGE1" PROJECT WHEN NO PROJECT IS PASSED TO THE API.
https://www.ibm.com/support/pages/apar/JR61281
That said, according to this link
https://www.ibm.com/support/pages/node/1282666
the Datastage flow designer (DFD) approach for the Hierarchical Data stage is for simple use cases.
Simple use cases can be
• Parsing and Composing XMLs which can be just imported/referred (cannot apply schema chunk operations).
Working scenarios:
• JSON Parser and Composer
• XML Composer
• REST
• The following transformation steps work fine:
OrderJoin (change in usability)
Non-Working scenarios:
• XML Parser
• The transformation steps: Regroup, Switch.
The error message in your screen shot says there is an Unexpected character. Can you check your json file with a hex editor for any kind of garbage or unprintable characters?
Regards.
------------------------------
Emily White
------------------------------