Search Options
Skip to main content (Press Enter).
Sign In
Skip auxiliary navigation (Press Enter).
Skip main navigation (Press Enter).
Toggle navigation
Search Options
Communities
General Discussion
My Communities
Explore All Communities
Products
Solutions
Services
Developers
Partners
Champions Corner
Customer Stories
Thought Leadership
Insights
Become an Advocate
Badge Challenges
Resources
Resource Library
Hitachi University
Product Documentation
Product Downloads
How To
Get Started
Earn Points and Badges
FAQs
Start a Discussion
Communities
Community Home
Discussion
View Question
Hitachi Ops Center
View Only
Community Home
Threads
214
Library
11
Blogs
6
Members
125
Back to {0}
How to get REST API response from Analyzer detail view using CURL?
Jump to
Best Answer
Thread closed by the administrator, not accepting new replies.
Add a tag
x
User Tags may not contain the following characters: @ # $ & :
AgL Storage Ops
posted 03-26-2022 06:21
I have been trying to get some data from ops analyzer detail view using CURL and REST API, but I end up with a response as below.
"code":"420000E4",
"error":"Mandatory parameter {dataset} not specified"
This is what I have been using :
curl -k -v -u uname:pwd -H "Authorization: Basic cmVzdGFwaTpTdG9yYWdlQDEyMw==" -X GET https://detailviewIP:8443/dbapi.do?action=retrieveAttributeDef
Please help in resolving this issue.
Vinod Subramaniam
posted 03-28-2022 08:35
Best Answer
You are missing the dataset. See examples below.
https://localhost:8443/dbapi.do?action=retrieveAttributeDef&dataset=defaultDs
curl -k -1 -H 'Authorization:Basic YWRtaW46SGl0YWNoaUAxMjM=' 'https://localhost:8443/dbapi.do?action=query&dataset=defaultDs&processSync=true' -H 'Content-Type:application/json' -d '{"query":"*raidStorage[=name rx .*]/raidClpr[@utilization rx b .+][@writePendingRate rx b .+]","startTime":"20180531_000000","endTime":"20180531_235900"}' -o ./perf/raidClpr.out
Jason Wroblewski
posted 08-09-2022 03:18
It is still not working. When can we expect a fix?
Costco Employee ESS
Related Content
Hitachi Ops Center v10.8.0 support for Data-in-place Upgrades (VSP 5500 to VSP 5600)
Vikash Taank
Added 12-02-2021
Blog Entry
Hitachi Ops Center Suite - Webinar Series
Barbara Goetz
Added 11-16-2020
Blog Entry
FoS 90x support on Ops Center
Sreeramkumar Unnikrishnan
Added 11-10-2021
Discussion Thread
3
Validating the Hitachi Ops Center Protector v7.3 Global Replication Report including its impact on the Ops Center CM-REST Server
Tanmoy Panja
Added 12-20-2021
Blog Entry
CoE Storage Management
Bernard Gugelot
Added 10-21-2019
Blog Entry
© Hitachi Vantara LLC 2021. All Rights Reserved.
Powered by Higher Logic