beautypg.com

Uri: aml/medium/{barcode, Uri: aml/partition/{name, Uri: aml/medium/{barcode} uri: aml/partition/{name – HP StoreEver ESL G3 Tape Libraries User Manual

Page 26

background image

Media Type

Request: application/xml and application/json

Response: application/xml and application/json

Parameters

N/A

Response Code

200, 401, 403, 404, and 500

XML Request Data

2

1
1

5

2
3
2


1
1
5

2
5
2

XML Response

See

“URI: aml/media/operations/moveMedium” (page 75)

for the XML

Response code.

URI: aml/medium/{barcode}

Method

GET

Description

Retrieve the media whose barcode is given by the URI path template
“barcode”. To retrieve the media object whose barcode is 100000L6, use
the command aml/media/100000L6.

A list is returned in the case where there are duplicate barcodes, or multiple
media may have the same barcode.

Media Type

Request: N/A

Response: application/xml and application/json

Parameters

N/A

Response Code

200, 401, 403, 404, and 500

XML Response

See

“URI: aml/medium/{barcode}” (page 75)

for the XML Response code.

URI: aml/partition/{name}

Method

GET

Description

Retrieve the partition whose name is given by the URI path template “name”.
To retrieve the partition name “Test Partition”, the following URI would be
requested: aml/partition/Test Partition.

Media Type

Request: N/A

Response: application/xml and application/json

Parameters

N/A

Response Code

200, 401, 404, and 500

Method

PUT

26

Resource