Search found 4 matches

by mattsaint
12 Aug 2015, 16:19
Forum: Help
Topic: [SOLVED] Generic Interface ConfigItem REST Search
Replies: 4
Views: 3778

Re: [SOLVED] Generic Interface ConfigItem REST Search

And just for completeness the final cakePHP function public function index(){ $otrsData['ConfigItem']['Class']='Location'; $otrsData['UserLogin']=$this->otrsUser; $otrsData['Password']=$this->otrsPass; $httpSocket = new HttpSocket(); $sentUrl=$this->otrsUrl; $response = $httpSocket->post($sentUrl,js...
by mattsaint
12 Aug 2015, 16:13
Forum: Help
Topic: [SOLVED] Generic Interface ConfigItem REST Search
Replies: 4
Views: 3778

Re: [SOLVED] Generic Interface ConfigItem REST Search

Hi, I hope this helps someone else. I am not sure I fully understand the reasoning but it makes some sense. Probably copying the Generic ConfigItem Rest example is not the best path forward. It uses POST to create a ticket and search uses GET. On a bit of hunch I moved the update and create operatio...
by mattsaint
12 Aug 2015, 13:17
Forum: Help
Topic: [SOLVED] Generic Interface ConfigItem REST Search
Replies: 4
Views: 3778

Re: Generic Interface ConfigItem REST Search

Perhaps best to move to Soap?

Matt
by mattsaint
12 Aug 2015, 13:04
Forum: Help
Topic: [SOLVED] Generic Interface ConfigItem REST Search
Replies: 4
Views: 3778

[SOLVED] Generic Interface ConfigItem REST Search

Hi, So far no major hurdles implementing REST for tickets but the following has me stumped on the ConfigItem. I am interfacing our old cakePHP system into ITSM. And I can read a ConfigItem fine using: http://ticket/otrs/nph-genericinterface.pl/Webservice/GenericConfigItemConnectorREST/ConfigItem/1?U...