HP 3PAR Web Service API 1.3.1 Developer's Guide

Host: storsys1.example.com:8080
Accept: application/json
Content-Type: application/json
X-HP3PAR-WSAPI-SessionKey: 2-33fe8891e288b34b3f914410e7cc7907-a93d1c50
HTTP Response
{"total": 2,
"members": [
{
"lun": 1,
"volumeName": "vol1.0",
"hostname": "host",
"remoteName": "10000000C978500E",
"portPos": {
"node": 0,
"slot": 4,
"cardPort": 1
},
"type": 4,
"volumeWWN": "60002AC0000000000000020D0000017D",
"multipathing": 1,
"failedPathPol": 1,
"failedPathInterval": 0,
"active": true
},
{
"lun": 10,
"volumeName": "vol1.0",
"portPos": {
"node": 0,
"slot": 4,
"cardPort": 1
},
"type": 4,
"volumeWWN": "60002AC0000000000000020D0000017D",
"multipathing": 1,
"failedPathPol": 1,
"failedPathInterval": 0,
"active": false
}
]
}
All-VLUNs Query Errors
Upon an unsuccessful query of all VLUNs, 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).
For information about chunking errors that might occur during an all-VLUNs query, see All-Volumes
Query Errors” (page 70).
Querying a Single VLUN
To query a single VLUN, use the HTTP GET method on the following URL:
https://<storage_system>:8080/api/v1/vluns/<vlun_id>
108 Working with Virtual LUNs