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
...
<ifAccessBind>
<terminalMac>18:28:38:47:17:26</terminalMac>
<terminalName>a2</terminalName>
<bindType>1</bindType>
<ifInfo>
<deviceId>5</deviceId>
<ifIndex>29</ifIndex>
</ifInfo>
</ifAccessBind>
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
...
<ifAccessBind>
<bindType>2</bindType>
<ifInfo>
<deviceId>5</deviceId>
<ifIndex>32</ifIndex>
</ifInfo>
</ifAccessBind>
Response
HTTP/1.1 201 Created
Location: http://localhost:8080/imcrs/asset/access/ifAccessBind/6
258 Terminal Access Management