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
    • Empower Replay: Limited Edition
    • 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
    • Video Library
    • Books We Like
    • >> Go to DataMiner Docs
  • Expert Center
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Markets & Industries
      • Media production
      • Government & defense
      • Content distribution
      • Service providers
      • Partners
      • OSS/BSS
    • 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)
    • DataMiner DevOps Professional Program
      • About the DevOps Program
      • DataMiner DevOps Support
  • Downloads
  • More
    • DataMiner Releases & Updates
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
      • General Inquiries
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

Calling WebAPI from automations scripts – recommended or not?

Solved386 views24th September 2024automation scipt WebAPI
1
Bing Herng Chong [SLC] [DevOps Advocate]1.06K 24th September 2024 0 Comments

Hi all, a user has a requirement to export data from elements on a daily basis into files. I notice that DataMiner has a WebAPI to extract such data - GetTableForParameterV2. Unfortunately, the user is not poised to integrate directly to DataMiner WebAPI and requires data to be exported to files.

Question1:
One option would be to create an Automation Script to export the data to file. But instead of creating the logic to extract data from tables, is it recommended to call the WebAPI from Automation Scripts?

Question2:
If yes to the question above, how do we securely store credentials within Automation Scripts?

Bing Herng Chong [SLC] [DevOps Advocate] Selected answer as best 24th September 2024

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
1
Miguel Obregon [SLC] [DevOps Catalyst]18.85K Posted 24th September 2024 1 Comment

Hi Bing,

Before to proceed with the automation script, can you check if offload to a file fits your use case? (see the note)

If that feature does not fit your use case, I believe you could use the class library to retrieve information from the cluster and exported to a file. In that way you could bypass the handling of the credentials.

In case you would like to proceed with the Web API implementation, there is already  a similar question related to how to safely use credentials in an automation script.

Hope it helps.

Bing Herng Chong [SLC] [DevOps Advocate] Posted new comment 24th September 2024
Bing Herng Chong [SLC] [DevOps Advocate] commented 24th September 2024

Thanks Miguel.

You are viewing 1 out of 1 answers, click here to view all answers.
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

© 2025 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