[SOLVED] Create customer with otrs api ?
Moderator: crythias
-
- Znuny newbie
- Posts: 83
- Joined: 15 Nov 2013, 15:19
- Znuny Version: 4.0.13
- Real Name: Lubomir
- Company: Expert-M
[SOLVED] Create customer with otrs api ?
I know how to create a ticket (and update it and add article) , but how to create customer, is there a way ?
Last edited by Lubomirsb on 17 Sep 2015, 11:29, edited 1 time in total.
OTRS 3.3.4 ,Centos 6.5
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Create customer with otrs api ?
https://otrs.github.io/doc/api/otrs/sta ... index.html
also for an implementation example:
https://github.com/OTRS/otrs/blob/rel-4 ... merUser.pl
also for an implementation example:
https://github.com/OTRS/otrs/blob/rel-4 ... merUser.pl
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
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
-
- Znuny newbie
- Posts: 83
- Joined: 15 Nov 2013, 15:19
- Znuny Version: 4.0.13
- Real Name: Lubomir
- Company: Expert-M
Re: Create customer with otrs api ?
I missed some info to tell you. I use webservice to import this :
My wsdl file is the following -> https://github.com/N3XT0R/ZF2-OTRS/blob ... P.wsdl#L13
I am using PHP.
So i should write my own wsdl file and web service file and then use what you gave me ? Am I on the right track ? Thank you !
EDIT:
What I read is that this can be done with rpc but is deprecated ? So what is left are the SOAP messages ?
Code: Select all
Debugger:
DebugThreshold: debug
TestMode: 0
Description: Ticket Connector SOAP Sample
FrameworkVersion: 4.x git
Provider:
Operation:
SessionCreate:
Description: Creates a Session
MappingInbound: {}
MappingOutbound: {}
Type: Session::SessionCreate
TicketCreate:
Description: Creates a Ticket
MappingInbound: {}
MappingOutbound: {}
Type: Ticket::TicketCreate
TicketUpdate:
Description: Updates a Ticket
MappingInbound: {}
MappingOutbound: {}
Type: Ticket::TicketUpdate
TicketGet:
Description: Retrieve Ticket data
MappingInbound: {}
MappingOutbound: {}
Type: Ticket::TicketGet
TicketSearch:
Description: Search for Tickets
MappingInbound: {}
MappingOutbound: {}
Type: Ticket::TicketSearch
Transport:
Config:
MaxLength: 100000000
NameSpace: http://www.otrs.org/TicketConnector/
Type: HTTP::SOAP
RemoteSystem: ''
Requester:
Transport:
Type: ''
I am using PHP.
So i should write my own wsdl file and web service file and then use what you gave me ? Am I on the right track ? Thank you !
EDIT:
What I read is that this can be done with rpc but is deprecated ? So what is left are the SOAP messages ?
OTRS 3.3.4 ,Centos 6.5