beautypg.com

HP StoreEver ESL G3 Tape Libraries User Manual

Page 37

background image

available, use the following URI:

“URI:

aml/physicalLibrary/segments” (page 42)

.

Example 1. To add a drive to a partition you would send
the request shown below.

Example 2. Add two storage segments and one IE segment.

Example 3. The above two requests combined into one
single request.

Media Type

Request: N/Aapplication/xml and
application/octet-stream

Response: application/xml and
application/octet-stream

Parameters

N/A

Response Code

200, 401, 403, 404, and 500

XML Request Data (Example 1)

standalone="yes"?>
xmlns:ns2="http://automatedMediaLibrary/">


1
1

2

1
1
4


XML Request Data (Example 2)

standalone="yes"?>
xmlns:ns2="http://automatedMediaLibrary/">


0
1

7

3
1
2




0
1
8

3
1
2




1
2
2

3

URI: aml/partition/{name}/segments

37