API Reference
RequestSubscriptionStatusChangeBatch
With this operation, it is possible to request a change of subscription status using a batch of subscriptions. The batch file can contain up to 10.000 subscriptions and they can belong to different subscription packages. The request returns a registered requestId meaning that the actual change can occur at a later time. This batch operation can only be successful if the operation is successful for every subscription that compounds the batch. Use the QuerySubscriptionChangeBatches and QuerySubscriptionStatusChangeBatch operations to check status of the request.
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:RequestSubscriptionStatusChangeBatch>
<resources>
<resourceIdList>
<id>240081001000000</id>
<id>240081001000012</id>
</resourceIdList>
<resourceType>imsi</resourceType>
</resources>
<subscriptionStatus>Activate</subscriptionStatus>
</sub:RequestSubscriptionStatusChangeBatch>
</soapenv:Body>
</soapenv:Envelope>
EXAMPLE OF API RESPONSE:
<env:Envelope
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<env:Header/>
<env:Body>
<ns2:RequestSubscriptionStatusChangeBatchResponse ⇒
xmlns:ns2="http://api.dcp.ericsson.net/SubscriptionManagement">
<requestId>REQ000000000189</requestId>
</ns2:RequestSubscriptionStatusChangeBatchResponse>
</env:Body>
</env:Envelope>