HP 3PAR StoreServ 7200 2-node HP 3PAR Web Service API 1.2 Developer's - Page 80

Storage-system Query Errors, Getting Version Information, Version Information Query Success

Page 80 highlights

Table 77 JSON Objects for Storage-system Query Response (continued) Member JSON Type API Type Description comment string print511 Any comment about the system. timeZone string print511 Time zone where the system is located Storage-system Query Errors Possible error codes are shown in Table 78 (page 80). For generic API error codes, see Table 5 (page 17). Table 78 Storage-system Query Error Codes API Error INT_SERV_ERR HTTP Code 500 Internal Server Error Description Internal server error. Getting Version Information A client of the WSAPI can query the API server for version information by using an HTTP GET request on a URI in the following form: https://:8080/api NOTE: A session key is not needed to make the request. Version Information Query Success Upon a successful query for version information, a JSON object is returned that describes the interface version provided by the API server, as described in Table 79 (page 80). Table 79 JSON Objects for Version Information Response Member major minor build JSON Type number number number Description The version major number. The version minor number. A build number not meant to be interpreted by clients, but useful for identifying specific builds of versions for defect reports or support requests. Version Information Query Errors Upon an unsuccessful query for version information, the error code shown in Table 80 (page 80) might be returned. Table 80 Storage-system Version Query Error Codes API Error INT_SERV_ERR HTTP Code 500 Internal Server Error Description Internal server error. For details about this error code, see Table 5 (page 17). 80 Getting Storage System and Version Information

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107

Table 77 JSON Objects for Storage-system Query Response
(continued)
Description
API Type
JSON Type
Member
Any comment about the
system.
print511
string
comment
Time zone where the system
is located
print511
string
timeZone
Storage-system Query Errors
Possible error codes are shown in
Table 78 (page 80)
. For generic API error codes, see
Table 5 (page 17)
.
Table 78 Storage-system Query Error Codes
Description
HTTP Code
API Error
Internal server error.
500 Internal Server Error
INT_SERV_ERR
Getting Version Information
A client of the WSAPI can query the API server for version information by using an HTTP GET
request on a URI in the following form:
https://
<storage system>
:8080/api
NOTE:
A session key is not needed to make the request.
Version Information Query Success
Upon a successful query for version information, a JSON object is returned that describes the
interface version provided by the API server, as described in
Table 79 (page 80)
.
Table 79 JSON Objects for Version Information Response
Description
JSON Type
Member
The version major number.
number
major
The version minor number.
number
minor
A build number not meant to be
interpreted by clients, but useful for
number
build
identifying specific builds of versions
for defect reports or support requests.
Version Information Query Errors
Upon an unsuccessful query for version information, the error code shown in
Table 80 (page 80)
might be returned.
Table 80 Storage-system Version Query Error Codes
Description
HTTP Code
API Error
Internal server error.
500 Internal Server Error
INT_SERV_ERR
For details about this error code, see
Table 5 (page 17)
.
80
Getting Storage System and Version Information