Within BPA it is possible to add a custom message body. These are not in the documentation, but are very useful. These functions override the standard operation and allow you to modify the document before it is sent by POST.
(In the screenshot below, the word “TEST” appears before the XML generated as part of the input step.)
Operations need to be wrapped within Curly brackets.
A few examples:
The XML created from the input data.
The JSON created from the input data
Call the function “FunctionCall” passing in the XML Input Data.
The parameter “ParameterName”.
Multiple steps can be wrapped together too, for example:
This calls the “BuildRequest” function, passing in the XML, the text “CREATE” and the input parameter “APIKEY”. The output is wrote into the body of the message.