beautypg.com

Uri: aml/system/ras/tickets, Uri: aml/system/saverestore – HP StoreEver ESL G3 Tape Libraries User Manual

Page 49

background image

XML Response

See

“URI: aml/system/ras/ticket/{id}/reports” (page 96)

for the XML

Response code.

URI: aml/system/ras/tickets

Method

GET

Description

Retrieve the ticket summary resource instances using the query parameter
filters.

To retrieve all drive and control ticket summaries that are currently opened
you would specify the following
aml/system/ras/tickets?group=20&state=4.

If no query parameters are given, all tickets are reported.

Media Type

Request: N/A

Response: application/xml and application/json

Parameters

Query parameters are group, status, state

group values

255 (All),

2 (Connectivity),

4 (Control),

8 (Media),

16 (Drive),

32 (Power),

64 (Robotics)

status values

255 (All)

4 (Failed),

8 (Degraded),

16 (Warning)

state values

255 (All),

4 (Opened),

16 (Closed),

32 (Verified)

Response Code

200, 401, 403, and 500

XML Response

See

“URI: aml/system/ras/tickets” (page 98)

for the XML Response code.

URI: aml/system/saveRestore

Method

GET

Description

Restore a saved configuration.

Media Type

Request: N/A

Response: application/x-tar

Response should be saved in .tgz format.

Parameters

N/A

URI: aml/system/ras/tickets

49