Topic by Filip Daian
Hello,
I'm working on a project on switching from XML API to SOAP API (coding in PHP), and need a quick answer if possible :)
As described in Sample Code– Putting it all together from http://community.rightnow.com/developer/fileexchange/Connect_PHP_November_2011/Default.htm
for connecting to the PHP API, we need this source code: '/include/ConnectPHP/Connect_init.php', and then to call the method initConnectAPI();
Is this Connect_init.php file absolutely needed? If yes, where can we get the source code?
Also, I’d like to know what is the method to create an incident, because when calling ‘Create’ method from http://ubisoft.custhelp.com/cgi-bin/ubisoft.cfg/services/soap?wsdl
one needs to specify the
(1) AppID - what is this, what ID should be used? Is it the same with the PROD_ID?
and
(2) the ID of the object, but not if the object created is an incident, a contact or a organization.
Can anyone give me a clear php example of how to create an incident over the SOAP API, which methods are available through this API, and details on the objects passed to these methods (properties we need to set on those objects)?
The SOAP documetnation seems to be better put together for .Net and Java, but not for PHP.
Thanks a lot for the help!