AnsweredAssumed Answered

AtomSphere API Create Deployment

Question asked by Adam Arrowsmith Employee on Jun 9, 2014
Latest reply on Jun 9, 2014 by Adam Arrowsmith
The Deployment API supports the Create action which mimics the UI behavior of creating an initial process deployment version, correct?

I am getting the following error when attempting this call.

        <faultcode>S:Client.INPUT_ERROR</faultcode>
         <faultstring>processId must be set</faultstring>

Environment and process IDs are valid and the process has already been attached to the given environment (via the UI). User has sufficient environment and deployment rights.

What am I missing?

Full request:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:api="http://api.platform.boomi.com/">
 <soapenv:Header>
      <wsse:Security
       xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
        <wsse:UsernameToken wsu:Id="UsernameToken" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
          <wsse:Username>XXXX@XXX.com</wsse:Username>
          <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">XXXXXX</wsse:Password>
        </wsse:UsernameToken>
      </wsse:Security>
   </soapenv:Header>
   <soapenv:Body>
      <api:create>
         <object xsi:type="api:Deployment" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <environmentId>65f3f4ee-dbdb-43c9-b0c4-c98334a3c93e</environmentId>
            <processId>95f30215-68f5-4c21-96ed-b9f2df2c6b96</processId>
            <notes>via RESTish request</notes>
         </object>
      </api:create>
   </soapenv:Body>
</soapenv:Envelope>

Outcomes