API Reference
SubscriptionTraffic
Look at the API migration tutorial Here
This service returns traffic information for resources on the network. The information consists of ID, location update, PDP, and SMS related data.
The WSDL is available at the following URL, where the <baseURI> parameter is provided by the operator:
— <baseURI>/dcpapi/SubscriptionTraffic?WSDL
EXAMPLE OF API REQUEST:
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:quer="http://api.dcp.ericsson.net/SubscriptionTraffic">
<soapenv:Header/>
<soapenv:Body>
<quer:Query>
<resource>
<id>123456789123456</id>
<type>imsi</type>
</resource>
<range>1</range>
</quer:Query>
</soapenv:Body>
</soapenv:Envelope>
EXAMPLE OF API RESPONSE:
<env:Envelope
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<env:Header/>
<env:Body>
<ns2:QueryResponse
xmlns:ns2="http://api.dcp.ericsson.net/SubscriptionTraffic">
<traffic>
<returnCode>0</returnCode>
<imsi>123456789123456</imsi>
<msisdn>1234567891234</msisdn>
<imei>123456789101112</imei>
<sessionStart>2013-09-30T06:51:34.000Z</sessionStart>
<lastLu>
<status>0</status>
<gprsStatus>0</gprsStatus>
<timestamp>2013-09-30T06:51:34.000Z</timestamp>
<countryCode>SE</countryCode>
<operatorCode>0000</operatorCode>
<vlrGt>35385nnnnnnn</vlrGt>
</lastLu>
<gprs>
<pdpActive>true</pdpActive>
<activation>2013-09-30T06:51:34.000Z</activation>
<ip>192.168.10.73</ip>
<giDestAddress>10.11.2.1</giDestAddress>
<apn>internet.opa.xx</apn>
<tx>42.0</tx>
<lastTx>2013-09-30T06:51:34.000Z</lastTx>
<rx>2.0</rx>
<lastRx>2013-09-30T06:51:34.000Z</lastRx>
</gprs>
<smsMo>
<count>31</count>
<lastDest>1234567891234</lastDest>
<lastSms>2013-09-30T06:51:34.000Z</lastSms>
<smsErrorCount>2</smsErrorCount>
</smsMo>
<smsMt>
<count>4</count>
<lastSms>2013-09-30T06:51:34.000Z</lastSms>
<smsErrorCount>4</smsErrorCount>
</smsMt>
<lastActivity>2013-10-08T09:27:12.000Z</lastActivity>
<lastSmsErrorTime>2013-10-06T08:50:55.000Z</lastSmsErrorTime>
<lastSmsError>Error message</lastSmsError>
<customerNo>00000001</customerNo>
</traffic>
</ns2:QueryResponse>
</env:Body>
</env:Envelope>