API Reference

QueryInvoices

With this operation, it is possible to retrieve a list of invoice data files that can be downloaded.

IMPORTANT! This SOAP API has a REST replacement which we strongly suggest as alternative, since this API will be deprecated February 5th 2023.

IoT Accelerator REST API

The WSDL is available at the following URL, where the <baseURI> parameter is provided by the operator:

— <baseURI>/dcpapi/ReportDownload?WSDL

EXAMPLE OF API REQUEST:
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" ⇒
xmlns:rep="http://api.dcp.ericsson.net/reportdownload">
<soapenv:Header/>
<soapenv:Body>
<rep:QueryInvoices>
<invoiceType>INVOICE</invoiceType>
<fromDate>2016-02-01</fromDate>
<toDate>2016-02-24</toDate>
</rep:QueryInvoices>
</soapenv:Body>
</soapenv:Envelope>
EXAMPLE OF API RESPONSE:
<env:Envelope
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<env:Header/>
<env:Body>
<ns2:QueryInvoicesResponse
xmlns:ns2="http://api.dcp.ericsson.net/reportdownload">
<InvoiceData>
<url>/iapi/invoicedata?id=1328097360000:INVOICE</url>
<invoiceName>2012-02-01-11-56-00C99000010TINVOICE.pdf</invoiceName>
<invoiceDate>2012-02-01T11:56:00.000Z</invoiceDate>
<size>184241</size>
<invoiceType>INVOICE</invoiceType>
</InvoiceData>
<InvoiceData>
<url>/iapi/invoicedata?id=1328054400000:INVOICE</url>
<invoiceName>2012-02-01-00-00-00C99000010TINVOICE.pdf</invoiceName>
<invoiceDate>2012-02-01T00:00:00.000Z</invoiceDate>
<size>184241</size>
<invoiceType>INV_DET</invoiceType>
</InvoiceData>
<InvoiceData>
<url>/iapi/invoicedata?id=1329955200000:INVOICE</url>
<invoiceName>2012-02-23-00-00-00C99000010TINVOICE.pdf</invoiceName>
<invoiceDate>2012-02-23T00:00:00.000Z</invoiceDate>
<size>184241</size>
<invoiceType>INVOICE</invoiceType>
</InvoiceData>
</ns2:QueryInvoicesResponse>
</env:Body>
</env:Envelope>