API/EndUser/Account/addOneTimeBoltOn

From Emersion
Jump to: navigation, search

addOneTimeBoltOn

Purpose Add an optional bolt on service to your current subscription

Inputs

  <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:acc="http://api-uat.dev.emersion.com.au/AccountObjects">
     <soapenv:Header/>
     <soapenv:Body>
        <acc:addOneTimeBoltOn>
           <acc:username>emesupport@telechoice.com.au</acc:username>
           <acc:password>********</acc:password>
           <acc:service_id>123456</acc:service_id>
           <acc:bolt_on_plan_key>123456</acc:bolt_on_plan_key>
           <acc:service_subscription_period_id>123456</acc:service_subscription_period_id>
        </acc:addOneTimeBoltOn>
     </soapenv:Body>
  </soapenv:Envelope>

Outputs

  <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://api-uat.dev.emersion.com.au/AccountObjects">
     <SOAP-ENV:Body>
        <ns1:addOneTimeBoltOnResponse>
           <ns1:result>true</ns1:result>
           <ns1:service_bolt_on_subscription_id>0</ns1:service_bolt_on_subscription_id>
        </ns1:addOneTimeBoltOnResponse>
     </SOAP-ENV:Body>
  </SOAP-ENV:Envelope

Error String:

  • Invalid username / password
  • Missing service_id
  • Missing bolt_on_plan_key
  • Missing service_subscription_period_id