[Help] NPH Generic Interface

Moderator: crythias

Locked
skullz
Znuny superhero
Posts: 658
Joined: 24 Feb 2012, 03:58
Znuny Version: LTS and Features
Real Name: Mo Azfar
Location: Kuala Lumpur, MY
Contact:

[Help] NPH Generic Interface

Post by skullz »

Hi all..
im successfully using nph-generic interface to create and search ticket..
i also managed to fetched an email and also create ticket.
Both two features allow unregister customer to create ticket.

1. by using fetch email (PostMaster), any email address will be considered as CustomerID. This is OK.
Image

2. by using NPH Generic interface, im sending email address as CustomerID. Also email address as CustomerUser.

Code: Select all

$Operation = 'TicketCreate';
try {
   $TicketID = $client->__soapCall($Operation, array(

      new SoapParam($username, "UserLogin"),
      new SoapParam($password, "Password"),

      new SoapParam(array(
         "Title" => $subject,
         "CustomerID" => $email,
	 "CustomerUser" => $email, // this one must exist as a customer
         "Queue" => "Raw",
         "State" => "new",
         "Priority" => "3 normal",
        "Type" => "Incident",
		"OwnerID" => 1,
        "ResponsibleID" => 1,
		"Lock" => "unlock"
      ), "Ticket"),
However, the ticket created show no CustomerID.
Image

But if i send ordinary value like "Skullz" as a CustomerUser, i will get an error..Invalid Parameter..
My Github
OTRS CE/LTS Discord Channel
Cant Update Package Anymore ? Check This

Professional OTRS, Znuny & OTOBO services: efflux.de/en
Free and premium add-ons: English
skullz
Znuny superhero
Posts: 658
Joined: 24 Feb 2012, 03:58
Znuny Version: LTS and Features
Real Name: Mo Azfar
Location: Kuala Lumpur, MY
Contact:

Re: [Help] NPH Generic Interface

Post by skullz »

bump
My Github
OTRS CE/LTS Discord Channel
Cant Update Package Anymore ? Check This

Professional OTRS, Znuny & OTOBO services: efflux.de/en
Free and premium add-ons: English
Locked