API Reference
QueryCountries
With this operation, it is possible to retrieve a list of all available countries with corresponding code.
The WSDL is available at the following URL, where the <baseURI> parameter is provided by the operator:
— <baseURI>/dcpapi/OperatorInfo?WSDL
EXAMPLE OF API REQUEST:
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:oper="http://api.dcp.ericsson.net/OperatorInfo">
<soapenv:Header/>
<soapenv:Body>
<oper:QueryCountries></oper:QueryCountries>
</soapenv:Body>
</soapenv:Envelope>
EXAMPLE OF API RESPONSE:
<env:Envelope
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<env:Header/>
<env:Body>
<ns2:QueryCountryCodeResponse
xmlns:ns2="http://api.dcp.ericsson.net/OperatorInfo">
<country>
<name>Sweden
</Name>
<code>SE</code>
</country>
<country>
<name>Norway
</Name>
<code>NO</code>
</country>
</ns2:QueryCountryCodeResponse>
</env:Body>
</env:Envelope>