- Community Home
- >
- Storage
- >
- Midrange and Enterprise Storage
- >
- HPE 3PAR StoreServ Storage
- >
- Re: 3PAR Web Services API not returning all inform...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2019 10:11 AM
11-12-2019 10:11 AM
3PAR Web Services API not returning all information in queries
When querying information using the WSAPI, it does not seem to return all the available information in their JSON objects. For example, when querying ports, an HTTP GET is used with https://<storage_system>:8080/api/v1/ports
Here is an example of the JSON output:
{
"portPos": {
"node": 0,
"slot": 0,
"cardPort": 4
},
"mode": 2,
"linkState": 4,
"nodeWWN": "XXXXXXXXXXXXXXX",
"portWWN": "XXXXXXXXXXXXXXX",
"type": 3,
"protocol": 1,
"label": "GRP107",
"partnerPos": {
"node": 1,
"slot": 0,
"cardPort": 4
},
"failoverState": 1,
"device": []
},
As you can see, it stops at the 'device' field. In the WSAPI documentation (https://support.hpe.com/hpsc/doc/public/display?docId=c03606339) on page 245 for querying ports, you can see that there is quite a substantial amount of information I am not receiving such as its connectionType, connectionMode, configurableRate, etc. I have data missing for quite a few queries besides just ports.
Am I using the WSAPI incorrectly? Is there a way to get more detailed information? Is there something I need to be putting in my headers?
-Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2019 03:20 AM - edited 12-02-2019 03:23 AM
12-02-2019 03:20 AM - edited 12-02-2019 03:23 AM
Re: 3PAR Web Services API not returning all information in queries
Hi Mark,
From the output, I could find this is a FC port with status "Free",
And I could find that all the basic details are reported for a free port,
Have you checked the output for any host connected / remote copy port.
Thanks and Regards,
N_J_K
Note : I am an HPE Employee