AnsweredAssumed Answered

Launching a Job from SOAP Request

Question asked by velayutham.palaniappan on Nov 9, 2018
Latest reply on Nov 13, 2018 by gcubed

Hi Everyone,

 

With few threads as example, I used the following content to trigged the "Delete Investments" Job from SOAP request

 

SOAP Request

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:inv="http://www.niku.com/xog/InvokeAction">
   <soapenv:Header>
      <inv:Auth>
         <inv:Username>my_username</inv:Username>
         <inv:Password>my_password</inv:Password>
      </inv:Auth>
   </soapenv:Header>
   <soapenv:Body>
      <!-- Delete_Projects is the Job Definition ID of Delete Investments Job -->
      <inv:Process>
         <code>Delete_Projects</code>
         <request/>
      </inv:Process>
   </soapenv:Body>
</soapenv:Envelope>

 

SOAP Response

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
   <soapenv:Header/>
   <soapenv:Body>
      <SessionID xmlns="http://www.niku.com/xog">SESSION_ID</SessionID>
      <ProcessResult xmlns="http://www.niku.com/xog/InvokeAction"/>
   </soapenv:Body>
</soapenv:Envelope>

 

The User is granted with "Job - Run" rights. But, I cannot see the Job triggered.

What am I missing?

 

NOTE: The Delete Investments job does not require any parameters.

Outcomes