...
With this level of assistance, there are really only two important parts to remember:
Use api.inputBuilderFactory() to start defining the input.
After defining it, use the corresponding method to build the input:
.buildContextParameter()
for Configurators;.addOrUpdateInput(quoteProcessor, "ROOT")
for /wiki/spaces/KB/pages/33292290s;.getInput()
for general logics or Price List / LPG Headers.
...