AAA, NAC, Guest Access & BYOD

Amigopod XMLRPC Sample Curl Tests

Please start with the XMLRPC tech note document posted on the support site. To perform test XMLRPC function calls, you can use the curl command on a Unix based system.

Example 1) amigopod.guest.list - Returns a list of user IDs plus the full user object information if the details flag is set to 1. In this example, the list of guest users will be returned with the full account details. Change the IP address and username/password appropriately.

curl -k -X POST https://10.162.110.8/xmlrpc.php -u admin:'P@ssword123' -H "Content-Type: text/xml" -d '<?xml version="1.0" encoding="UTF-8"?>
<methodCall>
<methodName>amigopod.guest.list</methodName>
<params>
<param>
<value>
<struct>
<member>
<name>details</name>
<value>1</value>
</member>
</struct>
</value>
</param>
</params>
</methodCall>'

Example 2) amgiopod.guest.edit - Edits a user account specified by the UID of the guest account. "modify_password" is a required field but the value can be set to null which will leave the guest's password as is. In this example, the user account with UID equal to 161 will have a new visitor_name and new username value.

curl -k -X POST https://10.162.110.8/xmlrpc.php -u admin:'P@ssword123' -H "Content-Type: text/xml" -d '<?xml version="1.0" encoding="UTF-8"?>
<methodCall>
<methodName>amigopod.guest.edit</methodName>
<params>
<param>
<value>
<struct>
<member>
<name>uid</name>
<value>161</value>
</member>
<member>
<name>visitor_name</name>
<value>New Name</value>
</member>
<member>
<name>username</name>
<value>test@gmail.com</value>
</member>
<member>
<name>modify_password</name>
<value></value>
</member>
</struct>
</value>

Version History
Revision #:
1 of 1
Last update:
‎06-29-2014 09:03 PM
Updated by:
 
Labels (1)
Contributors
Search Airheads
Showing results for 
Search instead for 
Did you mean: 
Is this a frequent problem?

Request an official Aruba knowledge base article to be written by our experts.