{"id":21106451,"url":"https://github.com/rkaldung/otrs-gi-rest-php","last_synced_at":"2025-10-09T14:14:29.724Z","repository":{"id":145096408,"uuid":"93892086","full_name":"rkaldung/otrs-gi-rest-php","owner":"rkaldung","description":"Using ((OTRS)) Community Edition Generic Interface from PHP","archived":false,"fork":false,"pushed_at":"2020-08-19T06:46:03.000Z","size":8,"stargazers_count":15,"open_issues_count":0,"forks_count":10,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-05-17T09:41:26.238Z","etag":null,"topics":["otrs","otrs-generic-interface","php"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rkaldung.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-06-09T19:50:42.000Z","updated_at":"2024-09-27T01:44:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"e056c62a-040f-4ccc-9d38-fe144f01e861","html_url":"https://github.com/rkaldung/otrs-gi-rest-php","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rkaldung/otrs-gi-rest-php","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rkaldung%2Fotrs-gi-rest-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rkaldung%2Fotrs-gi-rest-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rkaldung%2Fotrs-gi-rest-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rkaldung%2Fotrs-gi-rest-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rkaldung","download_url":"https://codeload.github.com/rkaldung/otrs-gi-rest-php/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rkaldung%2Fotrs-gi-rest-php/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279001527,"owners_count":26083117,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["otrs","otrs-generic-interface","php"],"created_at":"2024-11-20T00:26:36.675Z","updated_at":"2025-10-09T14:14:29.694Z","avatar_url":"https://github.com/rkaldung.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Using the Generic Interface REST of the ((OTRS)) Community Edition with PHP\n\n#### Requirements\n- ((OTRS)) Community Edition version 6\n- PHP 7.x with composer\n\n#### Prepare your ticket system\nFirst, download the web service configuration from [GitHub](https://raw.githubusercontent.com/OTRS/otrs/rel-6_0/development/webservices/GenericTicketConnectorREST.yml). Navigate as an admin to `Admin` =\u003e `Web Service Management` =\u003e `Add Web Service` =\u003e `Import web service`. Enter a name for the web service. I suggest to use `GenericTicketConnectorREST` because this is used in the example.\n\n#### Install example client\nClone this repository and run `composer update` to add the [Unirest](https://github.com/Mashape/unirest-php) library:\n\n```bash\n$ git clone https://github.com/rkaldung/otrs-gi-rest-php.git php-rest-client\n$ cd php-rest-client\n$ composer update\n```\n\n#### Prepare the client\nEdit client.php and complete the baseURL and configure [FQDN](https://github.com/rkaldung/otrs-gi-rest-php/blob/master/client.php#L10), [web service name](https://github.com/rkaldung/otrs-gi-rest-php/blob/master/client.php#L11) and valid [agent credentials](https://github.com/rkaldung/otrs-gi-rest-php/blob/master/client.php#L16).\n\n#### Run you client\nYour client is ready to go and can be executed by `php client.php`\n\n#### Misc\nAn introduction for the Generic Interface for the latest ((OTRS)) Community Editon is available in the [online manual](https://doc.otrs.com/doc/manual/admin/6.0/en/html/genericinterface.html).\n\nThe default operations TicketCreate and TicketUpdate are not able to send a new article via e-mail. For this use case you could install the free add-on [Znuny4OTRS-GIArticleSend](https://github.com/znuny/Znuny4OTRS-GIArticleSend).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frkaldung%2Fotrs-gi-rest-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frkaldung%2Fotrs-gi-rest-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frkaldung%2Fotrs-gi-rest-php/lists"}