HP 3PAR Web Service API 1.3.1 Developer's Guide

The total is the number of objects in the collection. members is an array of zero or more JSON
objects, one for each device connected to the port, as described in Table 85 (page 97).
Table 85 Message Body for QoSProperty JSON Object for the portDevices Query
DescriptionAPI TypeJSON TypeMember
Port ID of the device.HexstringportId
(Since WSAPI 1.3)
Arbitrated loop physical
address of the device.
HexstringloopId
(Since WSAPI 1.3)
Hard address on the loop for
the device.
HexstringhardAddr
(Since WSAPI 1.3)
Node WWN of the device.WWNstringnodeWWN
(Since WSAPI 1.3)
Port WWN of the device.WWNstringportWWN
(Since WSAPI 1.3)
Port Login (PLOGI) Accept
Payload (ACC) common
features.
HexstringcommonFeatures
(Since WSAPI 1.3)
Process Login (PRLI) service
parameters.
HexstringserviceParams
(Since WSAPI 1.3)
PLOGI ACC buffer-to-buffer
credit.
HexstringbufferToBufferCredit
(Since WSAPI 1.3)
PLOGI ACC frame length.HexstringframeLength
(Since WSAPI 1.3)
Virtual port WWN that is
associated with the device.
WWNstringvirtualportWWN
(Since WSAPI 1.3)
Port-Device Query Errors
Upon an unsuccessful query of all port devices, the INT_SERV_ERR might be returned. For details
about this error code, see Table 5 (page 22). For generic API error codes, see Table 5 (page 22).
Querying FC Switches
To query for a list of all FC switches connected to a specified port, use the HTTP GET method on
the following URI, with no message body:
https://<storage_system>:8080//api/v1/fcswitches?query="portPos==n:s:p"
For example:
https://<storage_system>:8080//api/v1/fcswitches?query=portPos==n:s:p
OR portPos==0:1:2""
For information about using filtering to query FC switches, see “Filtering in Queries” (page 20).
Querying FC Switches 97