[SOLVED] Create customer with otrs api ?

Moderator: crythias

Locked
Lubomirsb
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 ?

Post by Lubomirsb »

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
crythias
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 ?

Post by crythias »

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
Lubomirsb
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 ?

Post by Lubomirsb »

I missed some info to tell you. I use webservice to import this :

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: ''
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 ?
OTRS 3.3.4 ,Centos 6.5
Locked