Rest Apis for OTRS 6.0
Moderator: crythias
-
- Znuny newbie
- Posts: 1
- Joined: 11 Dec 2019, 06:27
- Znuny Version: 6.0
- Real Name: Nitish Chandna
Rest Apis for OTRS 6.0
can anyone provide me documentation for what all Rest Apis are exposed by OTRS 6.
Re: Rest Apis for OTRS 6.0
Search for Kernel::GenericInterface::Operation:: in https://doc.otrs.com/doc/api/otrs/stabl ... index.html
Also have a look at https://github.com/OTRS/otrs/blob/rel-6 ... rREST.wsdl
Also have a look at https://github.com/OTRS/otrs/blob/rel-6 ... rREST.wsdl
"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
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
-
- Znuny superhero
- Posts: 889
- Joined: 15 Dec 2016, 15:13
- Znuny Version: All
- Real Name: Emin
- Company: Efflux GmbH
- Contact:
Re: Rest Apis for OTRS 6.0
Hey,
Minor correction: use this link https://doc.otrs.com/doc/api/otrs/6.0/Perl/ or you'll use the API of a none available version.
Best regards
Emin
Minor correction: use this link https://doc.otrs.com/doc/api/otrs/6.0/Perl/ or you'll use the API of a none available version.
Best regards
Emin
Professional OTRS, Znuny & OTOBO services: efflux.de | efflux.de/en/
Free and premium add-ons: German | English
Free and premium add-ons: German | English
Re: Rest Apis for OTRS 6.0
Stable version of OTRS is the mentioned link. There is no difference in the GenericInterface Provider to ((OTRS)) community edition 6.x
"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
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
-
- Znuny superhero
- Posts: 889
- Joined: 15 Dec 2016, 15:13
- Znuny Version: All
- Real Name: Emin
- Company: Efflux GmbH
- Contact:
Re: Rest Apis for OTRS 6.0
Your linked page is the API for OTRS 7 which has a different API than OTRS 6 (Community Edition).
Best regards
Emin
Best regards
Emin
Professional OTRS, Znuny & OTOBO services: efflux.de | efflux.de/en/
Free and premium add-ons: German | English
Free and premium add-ons: German | English
Re: Rest Apis for OTRS 6.0
- OTRS 7 is the stable version
- the Generic Interface Provider Operations are the same (except Kernel::GenericInterface::Operation::Generic::RPC)
so no issue with this.
- the Generic Interface Provider Operations are the same (except Kernel::GenericInterface::Operation::Generic::RPC)
so no issue with this.
"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
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
-
- Znuny superhero
- Posts: 889
- Joined: 15 Dec 2016, 15:13
- Znuny Version: All
- Real Name: Emin
- Company: Efflux GmbH
- Contact:
Re: Rest Apis for OTRS 6.0
I am sorry, but that is not true.
There are multiple differences. In the first case, why even bother using a different doc than the version you use?
Also, this forum is not for OTRS 7, but for OTRS 1–6. And he is even using OTRS 6.
Best regards
Emin
Professional OTRS, Znuny & OTOBO services: efflux.de | efflux.de/en/
Free and premium add-ons: German | English
Free and premium add-ons: German | English
-
- Administrator
- Posts: 3968
- Joined: 18 Dec 2007, 12:23
- Znuny Version: Znuny and Znuny LTS
- Real Name: Roy Kaldung
- Company: Znuny
- Contact:
Re: Rest Apis for OTRS 6.0
Sorry to interrupt: This forum is for the ((OTRS)) Community Edition, without any restriction of the version number.
The commercial product OTRS usually comes with a support contract from the vendor, ask there if questions coming up.
Maybe an official definition of stable from the vendor would help. At least from SECURITY.MD I take the intel that version 5,6 and 7 are supported with security updates. Mature versions like 5 and 6 were stable and I don't have a clue why they shouldn't be stable anymore.
- 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 ?
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 ?
-
- Znuny newbie
- Posts: 12
- Joined: 20 Jan 2020, 12:12
- Znuny Version: 6.0
- Real Name: Kishor Mali
Re: Rest Apis for OTRS 6.0
Hello All,
I don't find any REST API for V6.0 Community Version.
It is available for V7.0 on the link - https://doc.otrs.com/doc/api/otrs/stable/REST/
But I am already using V6.0. I gone through Gereric Interface (https://doc.otrs.com/doc/manual/admin/6 ... 7.11.9.9.1), from there I come to know that, it just an interface. And I need to write code to achieve functionalities of REST which are already there in V7.0.
Correct me if I am wrong.
Is there any way to get REST API's in 6.0 version without writing code in Perl. I am PHP developer and I am trying to consume OTRS REST API in my PHP application.
Any type of help highly appreciated.
I don't find any REST API for V6.0 Community Version.
It is available for V7.0 on the link - https://doc.otrs.com/doc/api/otrs/stable/REST/
But I am already using V6.0. I gone through Gereric Interface (https://doc.otrs.com/doc/manual/admin/6 ... 7.11.9.9.1), from there I come to know that, it just an interface. And I need to write code to achieve functionalities of REST which are already there in V7.0.
Correct me if I am wrong.
Is there any way to get REST API's in 6.0 version without writing code in Perl. I am PHP developer and I am trying to consume OTRS REST API in my PHP application.
Any type of help highly appreciated.
-
- Znuny superhero
- Posts: 889
- Joined: 15 Dec 2016, 15:13
- Znuny Version: All
- Real Name: Emin
- Company: Efflux GmbH
- Contact:
Re: Rest Apis for OTRS 6.0
Hey,
You can check this PHP example:
https://github.com/rkaldung/otrs-gi-rest-php
You don't have to use any Perl code.
Best regards
Emin
You can check this PHP example:
https://github.com/rkaldung/otrs-gi-rest-php
You don't have to use any Perl code.
Best regards
Emin
Professional OTRS, Znuny & OTOBO services: efflux.de | efflux.de/en/
Free and premium add-ons: German | English
Free and premium add-ons: German | English
-
- Znuny newbie
- Posts: 12
- Joined: 20 Jan 2020, 12:12
- Znuny Version: 6.0
- Real Name: Kishor Mali
Re: Rest Apis for OTRS 6.0
Hi @zzz, At first, Thanks a lot for the help.
I am using Managed OTRS trial by OTRS for 1 month. I am using the same URL as BaseURL in client.php.
But it return 404 error response.
By URL be like : https://mycompanyname.managed-otrs.com/ ... nectorREST
Anything I missed here?
I am using Managed OTRS trial by OTRS for 1 month. I am using the same URL as BaseURL in client.php.
But it return 404 error response.
By URL be like : https://mycompanyname.managed-otrs.com/ ... nectorREST
Anything I missed here?
Re: Rest Apis for OTRS 6.0
The connector is not installed by default. Please contact sales@otrs.com for support
"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
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
-
- Znuny newbie
- Posts: 12
- Joined: 20 Jan 2020, 12:12
- Znuny Version: 6.0
- Real Name: Kishor Mali
Re: Rest Apis for OTRS 6.0
Hi @jojo, I doubt that I need to buy the thing if I try to activate connector by contacting sales.
What if I setup Community V6.0 on my local environment? Can I access Webservices?
What if I setup Community V6.0 on my local environment? Can I access Webservices?
-
- Administrator
- Posts: 3968
- Joined: 18 Dec 2007, 12:23
- Znuny Version: Znuny and Znuny LTS
- Real Name: Roy Kaldung
- Company: Znuny
- Contact:
Re: Rest Apis for OTRS 6.0
Yes, you can upload the web service configuration from Github. Same info is availabel on the Github repo for the example PHP client.kishormali wrote: ↑21 Jan 2020, 11:14 Hi @jojo, I doubt that I need to buy the thing if I try to activate connector by contacting sales.
What if I setup Community V6.0 on my local environment? Can I access Webservices?
And you are also able to send e-mail through the GenericInterface with the free add-on Znuny4OTRS-GIArticleSend
- 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 ?
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 ?
-
- Znuny newbie
- Posts: 12
- Joined: 20 Jan 2020, 12:12
- Znuny Version: 6.0
- Real Name: Kishor Mali
Re: Rest Apis for OTRS 6.0
Hi @root: Thanks buddy! I will try this on my local environment, and let you know about further results (success or failure).
Thanks for the great help!
Thanks for the great help!
Re: Rest Apis for OTRS 6.0
On Free Trials Sales will take care on activating Webservices or Features for youkishormali wrote: ↑21 Jan 2020, 11:14 Hi @jojo, I doubt that I need to buy the thing if I try to activate connector by contacting sales.
What if I setup Community V6.0 on my local environment? Can I access Webservices?
"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
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com