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 your 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

Best Web Service Method for Retrieving 60-Minute Averaged Trend Data for Table Parameters

Solved152 views4 hours agotrending web services
3
Debeuf Klaas [SLC] [DevOps Member]1.89K 29th June 2026 0 Comments

Hi,
I’m trying to retrieve 60-minute averaged trend data over a one-week period for a specific set of table parameters using the DataMiner web services.
I’ve come across several methods that appear to offer similar functionality, but I’m unsure which one is the most suitable and performant for this scenario. Additionally, it’s not entirely clear what the key differences are between these calls, as they seem to overlap in purpose.
Could you clarify which method is best to use in this case and explain the main distinctions between them?

Regards,

  • GetTrendDataCustomTimespanForParameter
  • GetTrendDataForParameter
  • GetTrendDataForParameterByName
  • GetTrendDataForTableParameter
  • GetTrendDataForTableParameterV2
  • GetTrendDataSimplifiedForParameter
Debeuf Klaas [SLC] [DevOps Member] Selected answer as best 4 hours ago

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
1
Gilles Bara [SLC] [DevOps Advocate]7.20K Posted 7 hours ago 0 Comments

If performance is of the essence, I would probably recommend GetTrendDataForParameter. This returns the SLNet raw response and does no custom parsing inside the webapi. You have no option to choose which type of trend (avg vs realtime) it will fetch, but by default, it will request average trend data, so that's fine for your use case. It also doesn't allow to fetch a custom time span window. So only last hour, day, week, ... is supported by this call. The GetTrendDataForParameterByName will use previous method behind the scenes, by will do a lookup by name first, so if you know the IDs up front, this one is not recommended. These two methods will throw an error on the request if something would fail. While the other methods will never throw an error, but include the error message in the Error property of the response. Note: The table index has to be the display key (except advanced naming).

GetTrendDataForTableParameter does a bit more validation, will auto pick the trend type (realtime vs avg), does parsing of the result to DMATrendData and allows cancellation. The GetTrendDataForTableParameterV2 does the same as the previous one, but allows to force realtime trend data, while the other will give priority over average data. The "Table" part is misleading, as it will perfectly manage to fetch trend data of standalone parameters. These two methods are the only ones that support Parameters of measurement type string.

GetTrendDataSimplifiedForParameter just parses the result of the GetTrendDataForParameter to DMATrendData and only allows providing a sliding window with the current time and end (last hour, day, week, ...). GetTrendDataCustomTimespanForParameter is basically the same as the simplied one, except for its capability to pick a custom time span (from/till) instead of a sliding window.

Our web apps make use of the GetTrendDataForTableParameterV2 because we need to allow to force either realtime or average trend data depending on the setting in the app, its async/cancellation benefit, and the fact that we need to be able to display any custom time slot. But for your use case this is probably just overhead.

Note: none of the methods allow to force 60 minute time intervals. The interval is auto picked depending on the total span. But for one week windows, it will most likely be 1 hour intervals anyways.

In short:

  • if the "one-week period" is a full week (monday to sunday): GetTrendDataCustomTimespanForParameter
  • if the "one-week period" is last 7 days (up till now): GetTrendDataForParameter
Debeuf Klaas [SLC] [DevOps Member] Selected answer as best 4 hours ago
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

© 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