amigopod XMLRPC Interface Version 0.9 Table of Contents Introduction ........................... 4 Audience ........................... 4 System Requirements ....................... 4 More Information ....................... 4 API Overview ........................5 About the API ........................5 Architecture Overview ....................5 API Symmetry........................ 6 Access Control....................... 6 Parameter Names......................
amigopod XMLRPC Interface Version 0.9 Introduction This document describes the XMLRPC interface available to third-party applications that will integrate with the amigopod Visitor Management Appliance. Audience Developers of integrated applications. Some familiarity with HTTP based web services and XMLRPC is assumed. System administrators of the amigopod appliance.
amigopod XMLRPC Interface Version 0.9 API Overview About the API The amigopod XMLRPC API provides direct access to the underlying functionality of the amigopod Visitor Management Appliance. Developers wishing to provide integrated applications can make use of this API to programmatically perform actions that would otherwise require manual operation of the GUI.
amigopod XMLRPC Interface Version 0.9 XMLRPC and HTML presentation methods are supplied, which adapt the underlying basic presentation to appropriate conventions suitable for a machine-to-machine or human-to-machine interaction. The application layer provides the page templates, business logic, and the concrete features making up visitor management applications, such as Guest Manager or Hotspot Manager.
amigopod XMLRPC Interface Version 0.9 These custom fields are automatically inherited as XMLRPC parameters, and the same policy-based processing is applied to them. Parameter Types The XMLRPC specification supports a wide range of data types. The following data types are supported by the XMLRPC presentation layer: Data Type Description Array...
amigopod XMLRPC Interface Version 0.9 Code Description File implementation of XMLRPC method not found XMLRPC implementation not found XMLRPC method registration failed XMLRPC server creation failed Access denied No XMLRPC implementation for this page Access Control Accessing the API requires an operator account with a profile that has the XMLRPC API privilege, plus any privileges required for the API calls.
amigopod XMLRPC Interface Version 0.9 Use the XMLRPC profile when creating a user account for API access: Invoking the API An XMLRPC method call consists of: An XML document specifying the method name and parameters Sent as a HTTP POST with Content-Type: text/xml Using HTTP Basic user authorization https://amigopod/xmlrpc.php...
amigopod XMLRPC Interface Version 0.9 either installing an SSL certificate signed by a well-known certificate authority, or issue your own certificates from a network’s certificate authority. Method Summary These methods are currently available: Method Name Synopsis amigopod.guest.change.expiration Change the expiration time of a guest account amigopod.guest.create Create a new guest account...
amigopod XMLRPC Interface Version 0.9 API Documentation Method amigopod.guest.change.expiration Change the expiration time of a guest account. Parameters Name Type Description Scalar ID of the guest account to update guestaccountexpiry Scalar Amount of time in hours before the guest account will expire Return Values Name Type...
amigopod XMLRPC Interface Version 0.9 Method amigopod.guest.create Create a new guest account. Parameters Name Type Description sponsor_name String Name of the person sponsoring the guest account visitor_name String Name of the visitor visitor_company String Company name of the visitor email String The visitor’s email address.
amigopod XMLRPC Interface Version 0.9 Return Values NOTE This function may return a Boolean false value if some input parameters are invalid. Name Type Description error Flag Set to 1 if the account was not deleted message String Message describing the success or failure of the operation item Struct...
amigopod XMLRPC Interface Version 0.9 Name Type Description username String Name of the guest account password String May be: random_password to indicate the account’s password should be set to a random password password_value to indicate the account’s password should be set to the value in the password_value field the empty string to leave the password unmodified...
amigopod XMLRPC Interface Version 0.9 'do_expire_error_flag' => 1, 'expire_time_error' => 'Parameter must be a string', 'expire_time_error_flag' => 1, 'expire_postlogin_error' => 'Please choose from one of the available options', 'expire_postlogin_error_flag' => 1, 'error' => 1, Method amigopod.guest.enable Enable a guest account. Parameters Name Type...
amigopod XMLRPC Interface Version 0.9 'error' => 1, 'message' => 'Account not found: ID 162', Method amigopod.guest.get List one or more guest accounts. Parameters Name Type Description Integer Retrieve a single guest account by ID (integer parameter), or multiple guest Array accounts by ID (array parameter) Return Values...