Search found 8 matches

by rogeriosims
23 Aug 2017, 22:54
Forum: Help
Topic: TicketCreate with dynamic Field
Replies: 10
Views: 5887

Re: TicketCreate with dynamic Field

After much trying I solved the problem. The unirest library seems to be in trouble. I was able to make it work using the library: Http://phphttpclient.com/ Here is sample code: <?php ini_set('default_charset', 'UTF-8'); require_once 'Httpful-master/Bootstrap.php'; // URL do Webservice $BaseURL = 'ht...
by rogeriosims
14 Jun 2017, 18:51
Forum: Help
Topic: TicketCreate with dynamic Field
Replies: 10
Views: 5887

Re: TicketCreate with dynamic Field

I was able to create calls using the code below. /** * TicketCreate * * http://doc.otrs.com/doc/api/otrs/stable/Perl/Kernel/GenericInterface/Operation/Ticket/TicketCreate.pm.html */ $body = json_encode([ "UserLogin" => "rmoura", "Password" => "iurd@2017", 'Tic...
by rogeriosims
12 Jun 2017, 23:01
Forum: Help
Topic: TicketCreate with dynamic Field
Replies: 10
Views: 5887

Re: TicketCreate with dynamic Field

Hello Roy, Thanks for the help, with your help I'm walking. Some doubts: I am using an admin user to execute the correct requests? When trying to execute the sessioncreate with the following code I get an error with strange characters, it seems to be in another encode. require_once 'unirest-php-mast...
by rogeriosims
08 Jun 2017, 21:54
Forum: Help
Topic: TicketCreate with dynamic Field
Replies: 10
Views: 5887

Re: TicketCreate with dynamic Field

Hello Roy, I'm waiting!

Thank you very much!
by rogeriosims
06 Jun 2017, 22:47
Forum: Help
Topic: TicketCreate with dynamic Field
Replies: 10
Views: 5887

Re: TicketCreate with dynamic Field

Thank you!

Would you have any generic interface examples in php?
by rogeriosims
06 Jun 2017, 20:40
Forum: Help
Topic: TicketCreate with dynamic Field
Replies: 10
Views: 5887

Re: TicketCreate with dynamic Field

Exact.

I am using this code in a php script.

I did not understand how to use webservices.

http://wiki.otterhub.org/index.php?titl ... HP_via_RPC
by rogeriosims
02 Jun 2017, 21:18
Forum: Help
Topic: TicketCreate with dynamic Field
Replies: 10
Views: 5887

TicketCreate with dynamic Field

TicketCreate with dynamic Field I need to create a call and populate a dynamic field, I'm trying with the code below, the call is created, but the dynamic field is still empty. I already tried value as string and I did not succeed. I am using OTRS 5.0.16 $TicketID = $soap->__soapCall( "Dispatch...
by rogeriosims
21 Mar 2017, 22:25
Forum: Ajuda
Topic: Associar campos X-OTRS direto do corpo do e-mail
Replies: 0
Views: 35772

Associar campos X-OTRS direto do corpo do e-mail

Prezados, Eu gostaria da ajuda dos senhores para o seguinte: Eu tenho um formulário onde o usuário preenche e ele envia um e-mail para o email do OTRS. Acontece que eu facilito tudo para os usuários no formulário e eu pensei em setar automaticamente no OTS os dados do chamado conforme abaixo. Aconte...