Owner's manual
Media Type Request: application/xml and application/json
Response: application/xml and application/json
Parameters N/A
Response Code 200, 401, 404, and 500
XML Request Data
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:accessDeviceList
xmlns:ns2="http://automatedMediaLibrary/">
<accessDevice>
<serialNumber>F001396025</serialNumber>
<type>1</type>
<port>
<id>1</id>
<access>true</access>
</port>
</accessDevice>
<accessDevice>
<serialNumber>F00139602B</serialNumber>
<type>1</type>
<port>
<id>1</id>
<access>true</access>
</port>
</accessDevice>
<accessDevice>
<serialNumber>F001396043</serialNumber>
<type>1</type>
<port>
<id>1</id>
<access>true</access>
</port>
</accessDevice>
<accessDevice>
<serialNumber>F00139603D</serialNumber>
<type>1</type>
<port>
<id>1</id>
<access>true</access>
</port>
</accessDevice>
</ns2:accessDeviceList>
XML Response See βURI: aml/access/group/{name}/devicesβ (page 62) for the XML
Response code.
URI: aml/access/group/{name}/hosts
Method POST
Description Add host to the Access Group resource whose name is given by the URI
path template βnameβ.
The only element required in the host object is WWPN, all other elements
will be ignored.
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
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:host xmlns:ns2="http://automatedMediaLibrary/">
URI: aml/access/group/{name}/hosts 17