Accessing the Inventory API with PHP

Customers using PHP will need to do the following steps in order to call the Inventory API’s services (its functions).
General Information
  • The Inventory API uses SOAP to communicate.
Set Up Steps to Use the API Services (the functions)
  1. Reference the following: to review the function calls of the API service.
  2. The WSDL file has been converted into classes (via for ease of use and can be downloaded at
  3. Unzip the file into your programming directory and use the "sample-inventory_.php" file for examples of calling each function within the API.
Demonstration on How to Code a Call to an API Function
Calling the “Inventory Management” service's “list servers” functionality.
Function to be called along with the required parameters:
The function results and user object (the server details) are passed back to the calling client.


require_once dirname(__FILE__) . '/Inventory_Autoload.php';

$inventory = new InventoryServiceServers();
if ($inventory->ServersList()) {

Add Feedback