Example 1, Example 2, Example 1 example 2 – HP Intelligent Management Center Licenses User Manual
Page 258
Message header
If the operation succeeds, the Location field gives the URI of the new resource. The message body
is empty.
HTTP/1.1 201 Created
Location: http://localhost:8080/imcrs/res/access/ifAccessBind/4
Example 1
Add a switch access binding, which maps the interface (index 29) of the device (ID 5) to MAC
address 8:28:38:47:17:26.
Request
POST http://imc_host:8080/imcrs/asset/access/ifAccessBind
accept: application/xml
Content-Type: application/xml; charset=UTF-8
...
Response
HTTP/1.1 201 Created
Location: http://localhost:8080/imcrs/asset/access/ifAccessBind/4
Example 2
Exclude the interface whose index is 32 of the device whose ID is 5 from authentication.
Request
POST http://imc_host:8080/imcrs/asset/access/ifAccessBind
accept: application/xml
Content-Type: application/xml; charset=UTF-8
...
Response
HTTP/1.1 201 Created
Location: http://localhost:8080/imcrs/asset/access/ifAccessBind/6
258 Terminal Access Management