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

Advertising
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

<ns2:moveMedium xmlns:ns2="http://automatedMediaLibrary/">

<mode>2</mode>
<sourceCoordinate>
<frame>1</frame>
<rack>1</rack>
<section>5</section>
<column>2</column>
<row>3</row>
<type>2</type>
</sourceCoordinate>
<destinationCoordinate>
<frame>1</frame>
<rack>1</rack>
<section>5</section>
<column>2</column>
<row>5</row>
<type>2</type>
</destinationCoordinate>
</ns2:moveMedium>

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

Advertising