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
  • Downloads
  • More
    • DataMiner Releases & Updates
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
      • General Inquiries
      • DataMiner DevOps Support
      • Commercial Requests
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

Unable to fetch the alarms from Dataminer using API

Solved663 views30th September 2024
0
Ramesh Rajasekaran466 11th June 2024 2 Comments

Requirement : I need an way to get the alarms for a specific element. Since we don't have any inbuilt API to fetch an alarm specific to an element I thought of using the inbuilt API to pull all the alarms and then filter the response data to get the element specific alarms.

Based on the below documentation I am trying to fetch the alarms from one of the data miner agent.

https://docs.dataminer.services/develop/webservices/WS_v1/WS_About_v1/WS_v1_examples.html

But receiving the below 500 exception.

{
    "Message": "There's no connection.",
    "StackTrace": "",
    "ExceptionType": "Skyline.DataMiner.Web.Common.NoConnectionWebApiException"
}

Kindly find the below details that I tired to make a post request on postman
Post : http://awsdmat701a/API/v1/Json.asmx/GetAlarms

Content-Type: application/json

Body:

{

"connection": "(GUID taken from the Apps-->about-->connection section on dataminer)",

"filter": {

"History": false,

"SlidingWindow": false,

"FilterItem": {

"__type": "Skyline.DataMiner.Web.Common.v1.DMAAlarmFilterSavedFilter",

"Filter": "sharedusersettings:My public alarm filter",

"Match": true

},

"StartTime": 0,

"EndTime": 0,

"Masked": false,

"InfoEvents": false,

"Columns": [],

"Limit": -1,

"SortBy": null,

"SortAscending": true

}

}

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 30th September 2024
Marieke Goethals [SLC] [DevOps Catalyst] commented 27th August 2024

I see that this question has been inactive for some time. Do you still need help with this? If not, could you select the answer (using the ✓ icon) to indicate that the question is resolved?

Marieke Goethals [SLC] [DevOps Catalyst] commented 30th September 2024

As this question has now been inactive for a long time, I will close it. If you still want more information about this, could you post a new question?

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
0
Aldrick Gardiner [SLC] [DevOps Advocate]163 Posted 14th June 2024 0 Comments

Hi Ramesh,

The connection string used in the call seems to be incorrect. To retrieve the correct connection string

  1. You first need to make a call to DataMiner API to authenticate. This is done by using the ConnectApp call. You can find details on this page under authentication https://docs.dataminer.services/develop/webservices/WS_v1/WS_About_v1/Using_the_Web_Services_v1.html
  2. The call above returns a token, this token will be used in the connection property in your call.

Hopefully, that solves your issue!

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 30th September 2024
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