API/Services/GetPackageSubscriptions

From Emersion
Jump to: navigation, search

Overview

WSDL: Services

This API call will retrieve all package subscriptions and related components for a child account.

Example

  • Inputs
  <soapenv:Header/>
  <soapenv:Body>
     <urn:GetPackageSubscriptions>
        <urn:AccountID>1670797</urn:AccountID>
     </urn:GetPackageSubscriptions>
  </soapenv:Body>


  • Outputs
  <SOAP-ENV:Body>
     <ns2:GetPackageSubscriptionsResponse>
        <ns2:PackageSubscription ID="1609864">
           <ns1:Status ID="2">Active</ns1:Status>
           <ns1:StartDate>2016-11-29</ns1:StartDate>
           <ns1:EndDate xsi:nil="true"/>
           <ns1:CurrentPeriodStart xsi:nil="true"/>
           <ns1:CurrentPeriodEnd xsi:nil="true"/>
           <ns1:PackagePlan ID="185270">
              <ns1:ExternalName>NBN 12 Basics</ns1:ExternalName>
              <ns1:InternalName>1603 VNO Live - 24M - NBN (FTTN-B) - Unlimited - NBN 12 Basics Package</ns1:InternalName>
              <ns1:ExternalDescription xsi:nil="true"/>
              <ns1:SetupFee xsi:nil="true"/>
              <ns1:AccessFee>
                 <ns1:Amount>54.5</ns1:Amount>
                 <ns1:TaxAmount>5.45</ns1:TaxAmount>
                 <ns1:TaxType ID="2" Percentage="10">Australian GST</ns1:TaxType>
              </ns1:AccessFee>
           </ns1:PackagePlan>
           <ns1:ServiceSubscriptions>
              <ns1:ServiceSubscription ID="2093357">
                 <ns1:CoreIdentifier>LOC000051261483</ns1:CoreIdentifier>
                 <ns1:AuthIdentifier>44416095</ns1:AuthIdentifier>
                 <ns1:AuthIdentifierRealm>au.bbtelco</ns1:AuthIdentifierRealm>
                 <ns1:ServicePlan ID="174984">
                    <ns1:ExternalName>NBN 12 Basics</ns1:ExternalName>
                    <ns1:InternalName>1603 VNO Live - 24M - NBN (FTTN-B) - Unlimited - NBN 12 Basics - Service Plan</ns1:InternalName>
                    <ns1:ExternalDescription xsi:nil="true"/>
                    <ns1:SetupFee xsi:nil="true"/>
                    <ns1:SetupInternalFee xsi:nil="true"/>
                    <ns1:SetupChurnFee xsi:nil="true"/>
                    <ns1:AccessFee>
                       <ns1:Amount>54.5</ns1:Amount>
                       <ns1:TaxAmount>5.45</ns1:TaxAmount>
                       <ns1:TaxType ID="2" Percentage="10">Australian GST</ns1:TaxType>
                    </ns1:AccessFee>
                    <ns1:Mandatory>true</ns1:Mandatory>
                 </ns1:ServicePlan>
                 <ns1:ServiceType ID="3261">
                    <ns1:TypeName>Broadband Connect - L3</ns1:TypeName>
                    <ns1:Description>Broadband Connect - L3</ns1:Description>
                 </ns1:ServiceType>
                 <ns1:Status ID="2">Active</ns1:Status>
                 <ns1:StartDate>2016-11-29</ns1:StartDate>
                 <ns1:EndDate xsi:nil="true"/>
                 <ns1:CurrentPeriodStart xsi:nil="true"/>
                 <ns1:CurrentPeriodEnd xsi:nil="true"/>
              </ns1:ServiceSubscription>
           </ns1:ServiceSubscriptions>
        </ns2:PackageSubscription>
     </ns2:GetPackageSubscriptionsResponse>
  </SOAP-ENV:Body>