We are creating an application to install small Softwares & run power shell scripts on agents machine.

For this, we thought to create procedures and run those procedures on agent machines using APIs.

These procedures use variables and we wanted to pass values to variables while executing the procedures.

We didn't found any document or web page which explains the mechanism to pass variables when we run procedures through the APIs.

Has anyone tried this before? 

Thanks in advance.