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

I’m not able to use GetHistoryAlarmsForParameter from https://x.x.x.x/API/v1/json.asmx

Solved77 views7 hours ago
3
Olivier SAGET79 1 day ago 0 Comments

Hello
I'm having trouble using the DMAs JSON API module.
I'm trying to use this method:
https://docs.dataminer.services/develop/webservices/WS_v1/WS_Methods_v1/GetHistoryAlarmsForParameter.html

But I never get any results.

In parallel, I am able to use this module successfully : GetHistoryAlarmsForElement
Here is an example of a query
----
<GetHistoryAlarmsForElement xmlns="http://www.skyline.be/api/v1">
<connection>4b78620e-97a5-4d4f-ab80-edf3134bbffb</connection>
<dmaID>myID</dmaID>
<elementID>1947</elementID>
<utcStartTime>1768826220000</utcStartTime>
<utcEndTime>1768826760000</utcEndTime>
<filter>
<IncludeInformationEvents>1</IncludeInformationEvents>
<IncludeEntireAlarmTree>1</IncludeEntireAlarmTree>
<AlarmTypes>
<string>New Alarm</string>
</AlarmTypes>
<Severities>
<string>Warning</string>
<string>Critical</string>
</Severities>
</filter>
</GetHistoryAlarmsForElement>
----
The Result is :
----
<GetHistoryAlarmsForElementResult>
<DMAAlarm>
<DataMinerID>myID</DataMinerID>
<HostingAgentID>myID</HostingAgentID>
<ID>62984948</ID>
<RootAlarmID>62984948</RootAlarmID>
<ElementID>1947</ElementID>
<ElementName>NameEmberPlus_Element</ElementName>
<IsElementMasked>false</IsElementMasked>
<ParameterID>1004</ParameterID>
<ParameterName>PGM/FQ04</ParameterName>
<TableIndex>PGM/FQ04</TableIndex>
<DisplayValue>False</DisplayValue>
<AlarmState>Warning</AlarmState>
<Type>New Alarm</Type>
<IsAggregation>false</IsAggregation>
<IsMasked>false</IsMasked>
<Services />
<TimeOfArrival>2026-01-19 13:45:09</TimeOfArrival>
<TimeOfArrivalUTC>1768826709000</TimeOfArrivalUTC>
<RootTime>2026-01-19 13:45:09</RootTime>
<RootTimeUTC>1768826709000</RootTimeUTC>
<IsTrending>false</IsTrending>
<IsOwner>false</IsOwner>
<OwnerName>System</OwnerName>
<LastChangeUTC>1768828690989</LastChangeUTC>
<IsCleared>false</IsCleared>
</DMAAlarm>
----
This means that I can successfully read an alarm for this element using the ParameterID = 1004

But when i tried the method : GetHistoryAlarmsForParameter
with this Request :
----
<soap:Body>
<GetHistoryAlarmsForParameter xmlns="http://www.skyline.be/api/v1">
<connection>4b78620e-97a5-4d4f-ab80-edf3134bbffb</connection>
<dmaID>myID</dmaID>
<elementID>1947</elementID>
<parameterID>1004</parameterID>
<tableIndex>PGM/FQ04</tableIndex>
<utcStartTime>1768826220000</utcStartTime>
<utcEndTime>1768826760000</utcEndTime>
<filter>
<IncludeInformationEvents>1</IncludeInformationEvents>
<IncludeEntireAlarmTree>1</IncludeEntireAlarmTree>
</filter>
</GetHistoryAlarmsForParameter>
</soap:Body>
----
The Result is empty 🙁 :
----
<soap:Body>
<GetHistoryAlarmsForParameterResponse xmlns="http://www.skyline.be/api/v1">
<GetHistoryAlarmsForParameterResult />
</GetHistoryAlarmsForParameterResponse>
</soap:Body>
----

Is there someone who can explain to why only this method didn't work for me, or maybe i just used it badly

Thanks in advance for your help

ps : this i a restricted view of the element table with this ID i tried to filter

Olivier SAGET Selected answer as best 7 hours ago

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
1
Catarina Grilo [SLC] [DevOps Enabler]2.65K Posted 12 hours ago 2 Comments

Hi Olivier,

From your initial screenshot, it appears that this parameter belongs to a table parameter. As mentioned in GetHistoryAlarmsForParameter | DataMiner Docs, when that’s the case, you need to fill in the tableIndex field using the index (primary key) instead of using the Display key.

Normally, tables have an extra column that serves as the index (primary key). The value of the index in the corresponding row is what needs to be entered in the tableIndex field. Example:

Kind regards,

Olivier SAGET Posted new comment 7 hours ago
Olivier SAGET commented 10 hours ago

Hello, thank you for your reply.
Unfortunately, I'm not sure I've correctly identified the index of the row in question. Where do you think I can find it?
I can screen you my data if it helps

Olivier SAGET commented 7 hours ago

Many thanks for your time and your answer.
I was able to get some decent result with some other element.
I think my main issue is related to a specific element using a new driver

Thanks again
Best regards

0
Olivier SAGET79 Posted 10 hours ago 1 Comment

Hi again Catarina, more strange. Like the docs said it can be left empty and when i tried without tableindex data i've got some result.

After that, the tableIndex i've got into the result isn't reusable into a new query !!

Catarina Grilo [SLC] [DevOps Enabler] Posted new comment 8 hours ago
Catarina Grilo [SLC] [DevOps Enabler] commented 8 hours ago

From your initial screenshot, it appears that this parameter belongs to a table parameter. When that’s the case, you need to fill in the tableIndex field.

Normally, tables have an extra column that serves as the index (primary key). The value of the index in the corresponding row is what needs to be entered in the tableIndex field.

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