Difference between revisions of "Freeside:1.9:Documentation:Developer:SelfService"

From Freeside
Jump to: navigation, search
(PHP)
(Sample Code)
Line 27: Line 27:
 
=== Sample Code ===
 
=== Sample Code ===
  
* [[Freeside:1.9:Documentation:Developer/FS/SelfService/php/freeside.login_example.php|freeside.login_example.php]]
+
* [[Freeside:1.9:Documentation:Developer/FS/SelfService/php/php_example|freeside.login_example.php]]

Revision as of 19:29, 6 April 2010

Introduction

The Self Service API provides an interface for customer management systems to interact with Freeside. The Self Service API will support any language with a correct XML-RPC implementation. The Freeside distribution includes sample code and libraries for perl, PHP, and Java.

File Locations, Documentation and Sample Code

The files are located in freeside/fs_selfservice/

  • FS-SelfService - Stock Self Service Interface
  • php - sample php code
  • perl - sample perl code
  • java - sample Java code

API Documentation

FS::SelfService API

Language Specific Documentation

Perl

  • Install the self service interface per the Installation Instructions.
  • The API Documentation is written for a Perl audience and includes sample code.

PHP

Helper Class

Support for PHP is through the freeside.class.php file located in freeside/fs_selfservice/php.

Be sure to set the correct URL to point to your Freeside server.

Sample Code