How to send new tickets from external system?

English! place to talk about development, programming and coding
Post Reply
hkais
Znuny expert
Posts: 280
Joined: 16 Apr 2016, 08:55
Znuny Version: see in post
Real Name: Hans
Contact:

How to send new tickets from external system?

Post by hkais »

Is there a way to send out a new ticket from an external system via API?

E.g. if you have a external system and you need to ensure the processing of a ticket, how can it be accomplished to implement an extension (or possible out of the box) to:
- send an outbound email to a client/partner
- on success of sending to set the ticket as a pending reminder ticket with a new pending time
- with attachment(s)
- body, subject, TO and queuename are/can be available by the external system

another feature:
on the same ticket to create a new article in it and to forward it to a different e-mail also
Elected 2022-06 as an IT Governance Portal Expert. The portal for Znuny, OTRS and OTOBO users
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: How to send new tickets from external system?

Post by reneeb »

Import the GenericTicketConnectorRest (https://github.com/znuny/Znuny/blob/dev ... orREST.yml), create a client that does a TicketCreate (or TicketUpdate for a new article in an existing ticket), use ArticleSend (see https://github.com/znuny/Znuny/blob/dev ... tCreate.pm) in the Article object.
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Post Reply