REST api operations for creating customers users?

English! place to talk about OTRS development, programming and coding

Moderator: tto

Post Reply
dwlangham
OTRS newbie
Posts: 8
Joined: 25 Apr 2018, 15:31
OTRS Version?: 6.000

REST api operations for creating customers users?

Post by dwlangham » 30 Jul 2018, 22:13

I'm using the generic REST API to retrieve and update tickets. I would like to create customer users but the list of available operations doesn't include anything for customers or customer users. I'm aware of the Perl interface's support for this (Kernel::System::CustomerUser) as well as otrs.Console.pl Admin::CustomerUser::Add command. What I want is to create a customer user via a web call from an external system (e.g., my CRM server).

Is there a way to do this with REST API? Or some other http-enabled method?

Don

jojo
Moderator
Posts: 14386
Joined: 26 Jan 2007, 14:50
OTRS Version?: Git Master
Contact:

Re: REST api operations for creating customers users?

Post by jojo » 30 Jul 2018, 22:19

in OTRS 6 only available via rpc.pl

In OTRS 7 it will be part of the generic interface
"Production": OTRS™ 6, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com :: Share your ideas

dwlangham
OTRS newbie
Posts: 8
Joined: 25 Apr 2018, 15:31
OTRS Version?: 6.000

Re: REST api operations for creating customers users?

Post by dwlangham » 30 Jul 2018, 22:35

Thanks, Jojo. Can you provide a pointer to documentation that describes how to use rpc.pl to create a customer user?

Thanks.

jojo
Moderator
Posts: 14386
Joined: 26 Jan 2007, 14:50
OTRS Version?: Git Master
Contact:

Re: REST api operations for creating customers users?

Post by jojo » 31 Jul 2018, 10:54

rpc.pl exposes a huge amount of OTRS API directly via SÒAP encapsulated webservices.

It works with system permissions and a generic password filed in sysconfig.

http://doc.otrs.com/doc/api/otrs/stable ... er.pm.html
"Production": OTRS™ 6, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com :: Share your ideas

Post Reply