HTTP GET for /device/{device-id}/currentsupplementalinformation
When the NSM client user requests the /device/{device-id}/currentsupplementalinformation
URI
using the GET
method, a supplemental information
about the device that matches the device ID entered is returned.
Input parameters
{device-id}
Available HTTP Headers
Accept: application/json
Accept: text/xml
Sample request
http://www.example.com:16310/nsm/device/2/currentsupplementalinformation
Sample response
XML
<device>
<currentSupplementalInformation>
show version
Image text-base: 0x80008088, data-base: 0x8103F020
ROM: System Bootstrap, Version 12.1(3r)T2, RELEASE SOFTWARE (fc1)
2600h uptime is 5 weeks, 3 days, 9 hours, 2 minutes
System returned to ROM by reload at 08:24:35 BFS Fri Mar 19 1993
System image file is "flash:c2600-is-mz.122-3.bin"
</currentSupplementalInformation>
</device>
JSON
{
"currentSupplementalInformation": “show version
Image text-base: 0x80008088, data-base: 0x8103F020
ROM: System Bootstrap, Version 12.1(3r)T2, RELEASE SOFTWARE (fc1)
2600h uptime is 5 weeks, 3 days, 9 hours, 2 minutes
System returned to ROM by reload at 08:24:35 BFS Fri Mar 19 1993
System image file is "flash:c2600-is-mz.122-3.bin"”
}
XML response details
Tag | Type | Description |
---|---|---|
currentSupplementalInformation |
Container tag | Specifies the supplemental information about the device in text format. The sample response shows a sample supplemental information, the full set of information is not documented because it is large. |