How to use th Api's

English! place to talk about development, programming and coding
Post Reply
lingaprashanth
Znuny newbie
Posts: 3
Joined: 07 May 2010, 08:49
Znuny Version: 2.4

How to use th Api's

Post by lingaprashanth »

HI,

This is Linga Prashanth, I am creating the Customer Interface, I need assistance from any one who can guide me in how to use the available Api's to write the back end code.
Andre Bauer
Znuny guru
Posts: 2189
Joined: 08 Dec 2005, 17:01
Znuny Version: 5.0.x
Real Name: André Bauer
Company: Magix Software GmbH
Location: Dresden
Contact:

Re: How to use th Api's

Post by Andre Bauer »

Prod: Ubuntu Server 16.04 / Zammad 1.2

DO NOT PM ME WITH OTRS RELATED QUESTIONS! ASK IN THE FORUMS!

OtterHub.org
lingaprashanth
Znuny newbie
Posts: 3
Joined: 07 May 2010, 08:49
Znuny Version: 2.4

how can i user otrs api in php script?

Post by lingaprashanth »

Hi,
I have created the customer interface, now i need to connect to the otrs database and provide further operations. How can i do this? I wanted to write the back end code in php. There are api provided by otrs but i dont know how to use them... can any one help me out... Im just a begginer...
mohan
Znuny newbie
Posts: 19
Joined: 10 May 2010, 07:20
Znuny Version: 2.4

api in php

Post by mohan »

How can i use perl modules(api) of otrs in php, so that i can develop my own customer interface.
mohan
Znuny newbie
Posts: 19
Joined: 10 May 2010, 07:20
Znuny Version: 2.4

usage of API

Post by mohan »

Hi,


I'm creating my own customer interface. I wanted to access OTRS database using the API's provided by the otrs system. I'm develping this interface using PHP. How can i use them. Please if any one could provide me with the syntax of using API. Please help me out I'm just a beginner
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: How to use th Api's

Post by crythias »

If you want to create your own customer interface, the easiest way to do that is to provide your own form and use email or SOAP to send the ticket to your database.

I used http://www.jotform.com to create a form that asks for the user's email address and sends the form To: my support/otrs@mydomain.com From: the user's input email address. I get to choose everything I want the end user to see, and practically no programming required.

Of course, this ignores all the "other" stuff like portal of historical tickets and being able to self-close, FAQ, etc. But if you're only wanting to get a ticket from a customer, this is indeed the easiest way to go.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
mohan
Znuny newbie
Posts: 19
Joined: 10 May 2010, 07:20
Znuny Version: 2.4

Re: How to use th Api's

Post by mohan »

Thank you crythias for helping me. But still im not able to solve the problem.
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: How to use th Api's

Post by crythias »

Edit: Please ignore this post. I was distracted when I wrote it and answered incorrectly.

Edit 2: Please don't hijack another user's thread for your questions.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Post Reply