Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Exporting device inventory out of DLS

Status
Not open for further replies.

bigmicka

Technical User
Feb 16, 2021
3
AU
I have been able to export a device list to CSV using DLS.

Is there anyway that this could be automated?

I have looked at DLSAPI, but there seems to be no documentation on it.

Using the site appears but the client by examples link just goes to a page with broken frames.

1st post so be gentle :)

bigmicka
 
I'm running DLS V7. I was able to go to DeploymentService > IP Devices > IP Device Management > Inventory Data. Switch to table view. Select all. Then go to Action > Export File. It will save as a CSV, but in pure Siemens/Unify style, the file will be semi-colon delimited, but it will have everything in the table you selected. You can just import that into Excel, telling Excel that it's semi-colon delimited and all will be right in the world!

LoPath
Maintain HiPath 4000 V5 & V6, OpenScape Xpert V4 & V6, OpenScape Xpressions V7, OpenScape Contact Center V8, OpenScape Voice V9
 
Hi LoPath,

Thank you for replying. I have already been able to export a device listing using your method, and yes the semi-colon delimited file was a surprise.

I am really interested in automating this process, I am doing it for a ITSM CMDB project and I would really like up to date information.

Regards,

Mickael
 
Sorry I didn't read your post closely enough. I'm not familiar with how the DLS API works, but there is mention of it in section 16.12 of the DLS Administrator Documentation.
Code:
16.12 Operating the DLS via the Program Interface (DlsAPI)
In addition to standard GUI-based operation, the DLS can also be operated by external applications over a web
service interface. An account with authorization to access the Dls API must first be configured for this (see Section
6.1, "Account Management").
DLS V2 provides both DlsAPI v100 (as released with DLS V1) and new methods as part of DlsAPI v200. While
DlsAPI v100 methods support IP Phones only, DlsAPI v200 methods also support IP Clients and IP Gateways.
16.12.1 DLS API Web Service Interface
The DLS API is included in the DLS installation and is stored in the following directory:
<DLS installation directory>\Programs\DeploymentService\api
The following data is included:
1. dlsapiv100.wsdl
Describes the DlsAPI v100 in WSDL (Web Services Description Language).
2. dlsapiv100.jar
Generated by WSDL2JAVA. This JAR file contains Client Stubs and the Service Locator and may be used by
JAVA clients as an interface to the DlsAPI v100.
3. dlsapiv200.wsdl
Describes the DlsAPI v200 in WSDL (Web Services Description Language).
4. dlsapiv200.jar
Generated by WSDL2JAVA. This JAR file contains Client Stubs and the Service Locator and may be used by
JAVA clients as an interface to the DlsAPI v200.
5. doc
This subdirectory contains a description of the DLS API interface in Javadoc format.

The WSDL descriptions are stored on the DLS server at the following URLs:
[URL unfurl="true"]https://<DLS[/URL] server>:10444/DeploymentService/services/DlsAPIv100?wsdl
[URL unfurl="true"]https://<DLS-Server>:10444/DeploymentService/services/DlsAPIv200?wsdl[/URL]
Online documentation for the DLS API is stored at the following URL:
[URL unfurl="true"]https://<DLS[/URL] server>:10443/DeploymentService/dlsapidoc
NOTE: If the DLS HTTP port is not deactivated, it can be used as an alternative to the HTTPS port.
In this case, the URLs will change:
[URL unfurl="true"]https://<DLS[/URL] server>:10443/DeploymentService/...
A PHP test script is available for the DLS API. Among other things, this enables you to monitor SOAP
communication, query particular IP phones in the DLS database, and modify configuration parameters for a
selected IP phone. For more information, please refer to the DLS Release Notes.

Hope this helps!

LoPath
Maintain HiPath 4000 V5 & V6, OpenScape Xpert V4 & V6, OpenScape Xpressions V7, OpenScape Contact Center V8, OpenScape Voice V9
 
Any job which can be ran from the Java GUI can be scheduled, so it may be possible to schedule your export via the GUI.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top