Getting body parameter formats for ION API-based IDOs
In cases where you are using an ION API that uses a <body> parameter (such as an announcement endpoint), you must obtain and format that body parameter's template, in order for it to work correctly with a form.
This template must be obtained from the swagger documentation for the endpoint and must be in JSON format.
When the form that uses this code is run, the form calls and uses the JSON template to generate the necessary body of the parameter.