REST api operations for creating customers users?

English! place to talk about development, programming and coding
Post Reply
dwlangham
Znuny newbie
Posts: 8
Joined: 25 Apr 2018, 15:31
Znuny Version: 6.000

REST api operations for creating customers users?

Post by dwlangham »

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
Znuny guru
Posts: 15019
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: REST api operations for creating customers users?

Post by jojo »

in OTRS 6 only available via rpc.pl

In OTRS 7 it will be part of the generic interface
"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
dwlangham
Znuny newbie
Posts: 8
Joined: 25 Apr 2018, 15:31
Znuny Version: 6.000

Re: REST api operations for creating customers users?

Post by dwlangham »

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

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

Re: REST api operations for creating customers users?

Post by jojo »

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™ 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
Post Reply