Using OTRS Generic Interface REST with PHP
The file client.php contains an example for Generic Interface operations. The web service can be configured with the web service configuration from Github. Upload this file to create a new REST web service.
An introduction for the Generic Interface for the latest stable OTRS version is available in the online manual.
Clone this repository and run composer update
to add the Unirest library.
$ git clone git@github.com:rkaldung/otrs-gi-rest-php.git myclient
$ cd myclient
$ composer update
Edit client .php and complete the baseURL by set the proper FQDN and use proper credentials.
Your client is ready to go and can be executed by php client.php