Web services

Moderator: crythias

Locked
OTRSis
Znuny newbie
Posts: 4
Joined: 18 Aug 2020, 16:56
Znuny Version: 6.0
Real Name: Ae

Web services

Post by OTRSis »

Hi,

I'm trying to create a simple form on a webpage, this webpage is for a reception so there will be one "dummy" user always logged in.
The form will create a new ticket.
The form should include:
1. customer user (customers choose their name from a list ) reception
2. Subject
3. Body
4 (option) it would be a plus if it could be connceted to FAQ also.

I have tried these intructions and some others, also tried to enable soap and play with that but can't get it to work.
http://jeffeske.com/blog/otrs-simple-we ... using-php/

Do you have any idea to get me further on this?
root
Administrator
Posts: 4251
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Web services

Post by root »

Hi,

The referenced documentation is completly outdated.It uses the rpc.pl endpoint which is marked as deprecated. Please use instead the GenericInterface to create a new ticket via SOAP or REST request.

- 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 ?
OTRSis
Znuny newbie
Posts: 4
Joined: 18 Aug 2020, 16:56
Znuny Version: 6.0
Real Name: Ae

Re: Web services

Post by OTRSis »

thank you Roy,
do you know any documentation or examples I can follow? I am using OTRS 6
root
Administrator
Posts: 4251
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Web services

Post by root »

OTRSis wrote: 18 Aug 2020, 23:32 thank you Roy,
do you know any documentation or examples I can follow? I am using OTRS 6
Hi,

Maybe this helps: https://github.com/rkaldung/otrs-gi-rest-php

- 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 ?
OTRSis
Znuny newbie
Posts: 4
Joined: 18 Aug 2020, 16:56
Znuny Version: 6.0
Real Name: Ae

Re: Web services

Post by OTRSis »

I followed these intructions and it works :)

now I have to make this work with page that users can input subject and body, and also would be great to let users choose customers from list (a.d. lookup like when Agent select customers) any ideas how I could make that happend? :)
zzz
Znuny superhero
Posts: 914
Joined: 15 Dec 2016, 15:13
Znuny Version: All
Real Name: Emin
Company: Efflux GmbH
Contact:

Re: Web services

Post by zzz »

Hey,

Create your own GenericInterface Operation or -the easy way- make a database query and create a basic dropdown list.

— Emin
Professional Znuny and OTRS services: efflux.de | efflux.de/en/

Free and premium add-ons: German | English
OTRSis
Znuny newbie
Posts: 4
Joined: 18 Aug 2020, 16:56
Znuny Version: 6.0
Real Name: Ae

Re: Web services

Post by OTRSis »

Thank you I will take a look at that.
I was wondering about the customer interface, is it possible to have two different customer interfaces for the same OTRS?
if so, what is the best method to achive that?
root
Administrator
Posts: 4251
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Web services

Post by root »

OTRSis wrote: 20 Aug 2020, 00:47 I was wondering about the customer interface, is it possible to have two different customer interfaces for the same OTRS?
Hi,

What is the use case? For different input masks, you can use process tickets with different initial activity dialogues. An wiith an ACL you can hide the unwanted.

- 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 ?
Locked