Difference between revisions of "API/EndUser/Services/getServiceBoltOnSubscriptionPeriodsByService"

From Emersion
Jump to: navigation, search
(getServiceBoltOnSubscriptionPeriodsByService)
 
(getServiceBoltOnSubscriptionPeriodsByService)
 
Line 57: Line 57:
 
* Invalid username / password
 
* Invalid username / password
  
* Missing service_id
+
* Invalid or missing service_id
  
* No service subscriptions found
+
* No service bolt on subscriptions periods found

Latest revision as of 08:45, 5 January 2015

getServiceBoltOnSubscriptionPeriodsByService

Purpose

Return a list of all service bolt on subscription periods for a given service.

Inputs

  <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://api-uat.emersion.com.au/ServiceObjects">
     <soapenv:Header/>
     <soapenv:Body>
        <ser:getServiceBoltOnSubscriptionPeriodsByService>
           <ser:username>emesupport@telechoice.com.au</ser:username>
           <ser:password>********</ser:password>
           <ser:service_id>514217</ser:service_id>
           <ser:sbos_id>513203</ser:sbos_id>
        </ser:getServiceBoltOnSubscriptionPeriodsByService>
     </soapenv:Body>
  </soapenv:Envelope>

Outputs

  <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://api-uat.emersion.com.au/ServiceObjects">
     <SOAP-ENV:Body>
        <ns1:getServiceBoltOnSubscriptionPeriodsByServiceResponse>
           <ns1:serviceSubscriptionBoltOnPeriod>
              <ns1:service_bolt_on_subscr_id>27371</ns1:service_bolt_on_subscr_id>
              <ns1:bolt_on_subscr_per_start_date>2013-11-01 00:00:00</ns1:bolt_on_subscr_per_start_date>
              <ns1:bolt_on_subscr_per_end_date>2014-08-01 00:00:00</ns1:bolt_on_subscr_per_end_date>
              <ns1:service_subscription_id>666185</ns1:service_subscription_id>
              <ns1:service_subscr_period_start>2013-11-01 00:00:00</ns1:service_subscr_period_start>
              <ns1:service_bolt_on_plan_name>1.5 Gb Mobile Data Pack</ns1:service_bolt_on_plan_name>
              <ns1:service_plan_name>TC Flexi Heavy + 30 - 24M</ns1:service_plan_name>
              <ns1:value_normal>1572864</ns1:value_normal>
              <ns1:value_type>Kilobytes</ns1:value_type>
           </ns1:serviceSubscriptionBoltOnPeriod>
           <ns1:serviceSubscriptionBoltOnPeriod>
              <ns1:service_bolt_on_subscr_id>27373</ns1:service_bolt_on_subscr_id>
              <ns1:bolt_on_subscr_per_start_date>2013-11-01 00:00:00</ns1:bolt_on_subscr_per_start_date>
              <ns1:service_subscription_id>666185</ns1:service_subscription_id>
              <ns1:service_subscr_period_start>2013-11-01 00:00:00</ns1:service_subscr_period_start>
              <ns1:service_bolt_on_plan_name>Telchoice to Telechoice Included Value $700</ns1:service_bolt_on_plan_name>
              <ns1:service_plan_name>TC Flexi Heavy + 30 - 24M</ns1:service_plan_name>
              <ns1:value_normal>636.363636</ns1:value_normal>
              <ns1:value_type>Dollars</ns1:value_type>
           </ns1:serviceSubscriptionBoltOnPeriod>
        </ns1:getServiceBoltOnSubscriptionPeriodsByServiceResponse>
     </SOAP-ENV:Body>
  </SOAP-ENV:Envelope>

Error String:

  • Invalid username / password
  • Invalid or missing service_id
  • No service bolt on subscriptions periods found