OTRS call an external API - GenericAgent

Moderator: crythias

Post Reply
ITDominik
Znuny newbie
Posts: 3
Joined: 08 Feb 2023, 13:04
Znuny Version: 6.0
Real Name: Dominik

OTRS call an external API - GenericAgent

Post by ITDominik »

Hi Everyone,

is there any way to transfer data from OTRS to an external API? I thought about using an GenericAgent, so when a Ticket gets closed it automatically calls an API for the affacted ticket.

I know that OTRS provides two features:
1. Provider Mode: OTRS is the host of an API
2. Requester Mode/ Invoker (?): This function i don`t understand.


Can you help me to solve my problem?

- Dominik
jojo
Znuny guru
Posts: 15019
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: OTRS call an external API - GenericAgent

Post by jojo »

Requester / Invoker is the functionality where OTRS sends data to "external" tools. So if you would call an external API to send some data (or retreive data) you have to use such kind of functionality
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
ITDominik
Znuny newbie
Posts: 3
Joined: 08 Feb 2023, 13:04
Znuny Version: 6.0
Real Name: Dominik

Re: OTRS call an external API - GenericAgent

Post by ITDominik »

Hi,

ok that is good to know. But for some reason I can`t add any Invokers:
Admin -> Web Service management:
Screenshot_1.png
Is there a tutorial to use?


- Dominik
You do not have the required permissions to view the files attached to this post.
root
Administrator
Posts: 3965
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: OTRS call an external API - GenericAgent

Post by root »

ITDominik wrote: 08 Feb 2023, 16:30 Hi,

ok that is good to know. But for some reason I can`t add any Invokers:
Admin -> Web Service management:
Screenshot_1.png

Is there a tutorial to use?

Hi,

Update to the latest version 6.4.5 and you have the missing invoker.

- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
ITDominik
Znuny newbie
Posts: 3
Joined: 08 Feb 2023, 13:04
Znuny Version: 6.0
Real Name: Dominik

Re: OTRS call an external API - GenericAgent

Post by ITDominik »

Hi Roy,

thank you for this advice. I updated to 6.1.1 and got the options that I need.

Thank you for your help :)

- Dominik
root
Administrator
Posts: 3965
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: OTRS call an external API - GenericAgent

Post by root »

Hi,

I strongly recommend updating to the latest version, the 6.1 is end-of-life.

- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
Post Reply