Home

 

Roadmap 

 

Return to Central Desktop 


All Recent Activity

 

 


 

User Forum

 


 

Search Developer Wiki:

 

 

Last Modified By: Arnulf Hsu / Jun 12, 2007, 1:59pm 

PHP Sample API Code


Sample API call to return all your workspaces within your company

This is using PHP5 using the built in SOAP extension. Make sure you have SOAP extension installed.

ini_set("soap.wsdl_cache_enabled", "0");
$client = new SoapClient("http://api.centraldesktop.com/soap/v0.1.alpha/CentralDesktopCompany.wsdl");

try {
	print_r(
		$client->GetWorkspaces(
			'yourcompanyapikey',
			'yourcompanyguid'
		)
	);
} catch (SoapFault $exception) {
	echo $exception;
}
Compare Current Version of Page With:
  •             ver.3 1% chg by: Arnulf Hsu / Jun 12
  •             ver.2 1% chg by: Arnulf Hsu / Jun 12
  •             ver.1 0% chg by: Arnulf Hsu / Jun 11

Page Comments:
There are no comments attached to this Page. Add a Comment
Hotkeys: Hold CTRL +   X Cut   Copy   V Past   Bold   Underline   Italic   Z Undo   Y Redo   
or Cancel