Pcamap Information - Cisco 340 Series Configuration Manual

Table of Contents

Advertisement

PCAMAP Information

PCAMAP Information
Get MAC Address
Example: get mac address
Request
curl -k -X GET -H 'password: admin123' https://localhost/api/2.0/sys/pcamap/macAddr.php
Reply
{"macAddr":"C0:62:6B:4A:16:70","success":"true","getAt":"2013-06-18 13:14:29"}
Get Motherboard Assembly Number
Example: get motherboard assembly number
Request
curl -k -X GET -H 'password: admin123'
https://localhost/api/2.0/sys/pcamap/mbAssemblyNum.php
Reply
{"mbAssemblyNum":"FOC123","success":"true","getAt":"2013-06-18 13:16:26"}
Get Motherboard Serial Number
Example: get motherboard serial number
Request
curl -k -X GET -H 'password: admin123'
https://localhost/api/2.0/sys/pcamap/mbSerialNum.php
Reply
{"mbSerialNum":"abc","success":"true","getAt":"2013-06-18 13:17:10"}
Get Motherboard Revision Number
Example: get motherboard revision number
Request
curl -k -X GET -H 'password: admin123'
https://localhost/api/2.0/sys/pcamap/mbRevisionNum.php
Reply
{"mbRevisionNum":"123","success":"true","getAt":"2013-06-18 13:17:43"}
Cisco Edge 340 Series Software Configuration Guide, Release 1.0
4-64
Chapter 4
Configuring HTTP API
OL-29491-01

Advertisement

Table of Contents
loading

Table of Contents