I need to pass quite a few parameters (10+) to my workbenches running on FME server. The jobs are started though a call to the FME SERVER rest API, from a c# application.
I'm considering 2 options:
1) specify each parameter individually, which requires some additional coding in c# when calling the workspace.
2) specify a single JSON parameter, which combines the values of all parameters. Passing parameters to the workbench will be more generic, since the set of parameters may be organised in a class and (de)serialized when required.
What would be the pros and cons of both methods?