API Reference
QuerySubscriptions
With this operation, it is possible to retrieve a collection of subscriptions that match the given search criteria. If no search criterion is given, all of the customers subscriptions are the targets for the search.
IMPORTANT! This SOAP API has a REST replacement which we strongly suggest as alternative. Please use this REST API instead: |
The WSDL is available at the following URL, where the <baseURI> parameter is provided by the operator:
— <baseURI>/dcpapi/SubscriptionManagement?WSDL
EXAMPLE OF API REQUEST:
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" ⇒
xmlns:sub="http://api.dcp.ericsson.net/SubscriptionManagement">
<soapenv:Header/>
<soapenv:Body>
<sub:QuerySubscriptionsRequest>
<customerNo>000123</customerNo>
<lastSubscriptionPackageChange>
<lastDate>2014-09-11</lastDate>
<filter>After</filter>
</lastSubscriptionPackageChange>
<maxResults>200</maxResults>
</sub:QuerySubscriptionsRequest>
</soapenv:Body>
</soapenv:Envelope>
EXAMPLE OF API RESPONSE:
<env:Envelope
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<env:Header/>
<env:Body>
<ns2:QuerySubscriptionsResponse ⇒
xmlns:ns2="http://api.dcp.ericsson.net/SubscriptionManagement">
<subscriptions>
<subscription>
<imsi>123456789123456</imsi>
<msisdn>1234567891234</msisdn>
<customerLabel>sms sim</customerLabel>
<subscriptionPackageName>SP_11 Advanced</subscriptionPackageName>
<lastOperator>lastOperator</lastOperator>
<lastCountry>lastCountry</lastCountry>
</subscription>
<subscription>
<imsi>123456789123456</imsi>
<msisdn>1234567891</msisdn>
<customerLabel>customerLabel2</customerLabel>
<subscriptionPackageName>subscriptionPackage2</subscriptionPackageName>
<lastOperator>lastOperator2</lastOperator>
<lastCountry>lastCountry2</lastCountry>
</subscription>
</subscriptions>
</ns2:QuerySubscriptionsResponse>
</env:Body>
</env:Envelope>