Skip to content
DataMiner Dojo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Updates & Insights
  • Questions
  • Learning
    • E-learning Courses
    • Tutorials
    • Open Classroom Training
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • YouTube Videos
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Agility
      • Learn more about Agile
        • Agile Webspace
        • Everything Agile
          • The Agile Manifesto
          • Best Practices
          • Retro Recipes
        • Methodologies
          • The Scrum Framework
          • Kanban
          • Extreme Programming
        • Roles
          • The Product Owner
          • The Agile Coach
          • The Quality & UX Coach (QX)
      • Book your Agile Fundamentals training
      • Book you Kanban workshop
    • >> Go to DataMiner Docs
  • DevOps
    • About the DevOps Program
    • Sign up for the DevOps Program
    • DataMiner DevOps Support
    • Feature Suggestions
  • Downloads
  • Swag Shop
  • PARTNERS
    • Business Partners
    • Technology Partners
  • Contact
    • Sales, Training & Certification
    • DataMiner Support
    • Global Feedback Survey
  • >> Go to dataminer.services

How to Export Service Templates Programmatically

111 views4 days agoAutomation services templates
6
João Azevedo558 4 days ago 0 Comments

Hi everyone, I hope you're all doing well!

I'm currently trying to automate a function, but I haven’t been able to find a way to export service templates similar to how it's done via Surveyor > "Export Configuration".

My goal is to make this functionality available via LCA using IAS, but I'm not sure what the best approach would be.

Could anyone point me to the relevant documentation or guide me on how to achieve this?

Miguel Obregon [SLC] [DevOps Catalyst] Answered question 4 days ago

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
1
Miguel Obregon [SLC] [DevOps Catalyst]22.71K Posted 4 days ago 5 Comments

Hi Joao,

A possible option is to use the methods available in the web service API to export/import service templates:

  • GetServiceTemplate
  • CreateServiceTemplate

Hope it helps.

João Azevedo Posted new comment 4 days ago
João Azevedo commented 4 days ago

Hi Miguel, thank you for your response! I’ve reviewed the Web Services documentation and tested some requests via Postman, but I haven’t been able to find one that returns the same services information as exported by the Surveyor(columns "data:" with it's value of each service).

I've tried the following methods:
https://docs.dataminer.services/develop/webservices/WS_v1/WS_Methods_v1/GetService.html
https://docs.dataminer.services/develop/webservices/WS_v1/WS_Methods_v1/GetServiceDefinition.html
https://docs.dataminer.services/develop/webservices/WS_v1/WS_Methods_v1/GetServicesForServiceTemplate.html
https://docs.dataminer.services/develop/webservices/WS_v1/WS_Methods_v1/GetServiceParameters.html

Miguel Obregon [SLC] [DevOps Catalyst] commented 4 days ago

Hi Joao,
Just to confirm, are you looking to retrieve the services generated by the service templates, rather than exporting the services templates themselves?
Or both?

João Azevedo commented 4 days ago

I’m looking to retrieve the services generated by the Service Templates, not the templates themselves. The goal is to extract the “data:” fields for each service and generate an output similar to the “Export Configuration” file. However, this functionality needs to be made available via LCA, as it is currently only accessible within Cube.

Miguel Obregon [SLC] [DevOps Catalyst] commented 4 days ago

Hi Joao,
How the services are provisioned in the first place? Are you using a CSV file that contains the "input data" columns required to provision the services? Is it not an option to use the same file in your LCA?

João Azevedo commented 4 days ago

We use a CSV file to import and create services. However, when exporting, some fields—such as serviceId and serviceName—are generated by the DMA. The goal is to allow users to retrieve this information, especially when updating a service, since uploading a file without these fields would result in errors and prevent the update from being completed. Additionally, this helps ensure that all users have access to up-to-date information.

Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas
Privacy Policy • Terms & Conditions • Contact

© 2026 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs

[ Placeholder content for popup link ] WordPress Download Manager - Best Download Management Plugin