1 Reply Latest reply on Aug 8, 2013 9:29 AM by Bill Robinson

    Web Services RESTful - execute job with arguments

    Robert Dołęga



      Is it possible to execute job (using WS RESTful) with params


      something like this (below):


      url -k -H "Accept: application/json" -H "Content-type: application/json" -X POST -d '{"OperationArguments":[{"name":"ARG","type":"String","value":"VAL"}]}' "https://app1:9843/id/SystemObject/Job/NSH%20Script%20Job/{UUID}/Operations/execute/?username=test&password=test&role=test"


      I'm receiving all the times message:


      {"ErrorResponse":{"Error":"Operation: execute cannot be found for given arguments"}}