Uri: aml/media, Uri: aml/media/operations/movemedium, Uri: aml/medium/{barcode – HP StoreEver ESL G3 Tape Libraries User Manual

Page 75

Advertising
background image

<entry key="4" value="LTO3"/>
<entry key="5" value="LTO4"/>
<entry key="554" value="Mixed"/>
<entry key="6" value="LTO5"/>
<entry key="7" value="LTO6"/>
</element>
</component>
</entryList>

Resource code

See

“URI: aml/enum/{component}/element}” (page 24)

for the

Resource code description.

URI: aml/media

Method

GET

XML Response Data

<?xml version="1.0" encoding=
"UTF-8" standalone="yes"?>
<ns2:mediaList xmlns:ns2=
"http://automatedMediaLibrary/">
<media>
<barcode>100005L5</barcode>
<mediaType>6</mediaType>
<cartridgeType>0</cartridgeType>
<currentOwner>Sales Partition</currentOwner>
<previousOwner>N/A</previousOwner>
<encryption>encryption</encryption>
<coordinate>
<frame>1</frame>
<rack>0</rack>
<section>0</section>
<column>0</column>
<row>0</row>
<type>1</type>
</coordinate>

</media>
.....
.....
</ns2:mediaList>

Resource code

See

“URI: aml/media” (page 25)

for the Resource code description.

URI: aml/media/operations/moveMedium

Method

POST

XML Response Data

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:WSResultCode
xmlns:ns2="http://automatedMediaLibrary/">
<code>200</code>
<description>OK</description>
<summary>Operation Completed Successfully</summary>
<action>Move Media</action>
<customCode>0</customCode>
</ns2:WSResultCode>

Resource code

See

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

for the

Resource code description.

URI: aml/medium/{barcode}

Method

GET

XML Response Data

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:mediaList xmlns:ns2=
"http://automatedMediaLibrary/">

URI: aml/media

75

Advertising