Owner's manual

3 Resource
The following lists the available resources for the HP ESL G3 Web Service interface. The information
provides the URI to a particular resource, the Media Types (Content-type) supported for that resource,
the HTTP Methods available for manipulate the resources, and the possible response codes. It will
also provide the valid parameters allowed if a particular URI supports parameters (?name=value
pairs). If a POST or PUT method requires an XML/JSON object to be provided in the body of the
request, the XML representation of that object will be shown. For each URI in the tables below an
XML object that is returned in the response body is shown in “XML responses for URIs” (page 58).
URI: aml/
Method GET
Description Retrieve the library ping resource. The ping can be requested without logging
in to the web services server (no authentication is needed). The ping can be
used to discover what libraries are on you network.
Media Type Request: N/A
Response: application/xml and application/json
Parameters N/A
Response Code 200, 401, and 500
XML Response See “URI: aml/” (page 58) for the XML Response code.
URI: aml/access/devices
Method GET
Description Retrieve a list of configured Access Device resources that could be added
to an Access Group.
Media Type Request: N/A
Response: application/xml and application/json
Parameters N/A
Response Code 200, 401, and 500
XML Response See “URI: aml/access/devices (page 58) for the XML Response code.
URI: aml/access/groups
Method GET
Description Retrieve a list of Access Group resources.
Media Type Request: N/A
Response: application/xml and application/json
Parameters N/A
Response Code 200, 401, and 500
XML Response See “URI: aml/access/groups (page 58) for the XML Response code.
URI: aml/access/group/{name}
Method GET
Description Retrieve the Access Group resources whose name is given by the URI path
template name.
Media Type Request: N/A
14 Resource