HP 3PAR Web Service API 1.3.1 Developer's Guide

FC-Switches Query Success
Upon a successful query, the response includes a message body as shown in Table 86 (page 98).
Table 86 Message Body JSON Objects for FCswitches Query
DescriptionAPI TypeJSON TypeMember
Number of FCswitches
objects returned.
int32numbertotal
(Since WSAPI 1.3)
FC switch properties.array of FCswitches property
objects
array of objectsmembers
(Since WSAPI 1.3)
The total JSON object is the number of objects in the collection. The members JSON object is
an array of zero or more JSON objects, one for each FC switch connected to the port, as described
in Table 87 (page 98).
Table 87 Message Body for QoSProperty JSON Object for FCswitches Query
DescriptionAPI TypeJSON TypeMember
The name of the fabric
switch or port.
WWNstringname
(Since WSAPI 1.3)
The logical name of a fabric
interconnect.
print256stringlogicalName
(Since WSAPI 1.3)
The port type of a fabric
port.
fabricType enumnumbertype
(Since WSAPI 1.3)
The vendor name of the
fabric interconnect.
print64stringvendor
(Since WSAPI 1.3)
The number of ports on the
fabric interconnect.
uint32numberports
(Since WSAPI 1.3)
Enumeration for fabricType is shown in Table 88 (page 98).
Table 88 fabricType Enumeration for FCswitches Query
DescriptionValueSymbol
Type is unknown.1UNKNOWN
(Since WSAPI 1.3)
Type is switch.2SWITCH
(Since WSAPI 1.3)
Type is hub.3HUB
(Since WSAPI 1.3)
Type is bridge.4BRIDGE
(Since WSAPI 1.3)
98 Working with Ports and Switches