Send Article via GenericInterface

Hi all, I recently discovered the new GenericInterface in OTRS 3.1 which looks very promising! Together with a slightly modified/fixed version of the WSDL file it makes SOAP API calls much easier compared with the old rpc.pl style API. However, it seems like the GenericInterface doesn't provide a way to create a ticket/article and immediately send the article out to the customer. The rpc.pl API allows me to call ArticleSend instead of ArticleCreate to mail the article, the GenericInterface::Ticket::TicketCreate call uses ArticleCreate internally and so doesn't send the article. Is there any way to send an article via the GenericInterface? And if not, are there any plans to implement that feature in the foreseeable future? Cheers, Marcus

I think that this was designed to be like AgentTicketPhone (with an
AutoResponseType) instead of AgentTicketEmail. It wouldn't be unreasonable
to attempt to copy GenericInterface/Operation/Ticket/TicketCreate.pm and
modify to use ArticleSend, but easier would be to create an autoresponse
that "acts like" the email. A ticket has been created for the following ...
This is a reasonably generic autoResponse that can apply to most situations.
On Thu, Dec 20, 2012 at 3:43 AM, Marcus Weseloh
Hi all,
I recently discovered the new GenericInterface in OTRS 3.1 which looks very promising! Together with a slightly modified/fixed version of the WSDL file it makes SOAP API calls much easier compared with the old rpc.pl style API.
However, it seems like the GenericInterface doesn't provide a way to create a ticket/article and immediately send the article out to the customer. The rpc.pl API allows me to call ArticleSend instead of ArticleCreate to mail the article, the GenericInterface::Ticket::TicketCreate call uses ArticleCreate internally and so doesn't send the article.
Is there any way to send an article via the GenericInterface? And if not, are there any plans to implement that feature in the foreseeable future?
Cheers,
Marcus --------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

Thu, 20 Dec 2012 06:41:00 -0500
Gerald Young
I think that this was designed to be like AgentTicketPhone (with an AutoResponseType) instead of AgentTicketEmail. It wouldn't be unreasonable to attempt to copy GenericInterface/Operation/Ticket/TicketCreate.pm and modify to use ArticleSend, but easier would be to create an autoresponse that "acts like" the email. A ticket has been created for the following ... This is a reasonably generic autoResponse that can apply to most situations.
The autoResponse idea would be a good solution, but I need to send attachments along with the email and sometimes even send the message PGP signed. Judging from the configuration screen it seems like this wouldn't be possible with autoresponses... shame. So I will probably need to write my own GenericInterface Operation for ArticleSend. But looking at the code in GI/Operation/Ticket/TicketCreate.pm that seems fairly straight forward. Thanks for your answer! Cheers, Marcus
participants (2)
-
Gerald Young
-
Marcus Weseloh