[Help] Display Articles (WEBSERVICES)

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] Display Articles (WEBSERVICES)

Post by skullz »

Hi All,

Im using nph generic interface (webservices) to get the ticket information (including articles) using TicketGet operation.
the question is how do i get all articles except note-internal article?

if i set AllArticles parameter to 1 (like my code below), it will display all article including note-internal article.

Code: Select all

$Operation2 = 'TicketGet';
try {
   $TicketID2 = $client->__soapCall($Operation2, array(

      new SoapParam($username, "UserLogin"),
      new SoapParam($password, "Password"),
	  new SoapParam($array, "TicketID"),
	  new SoapParam("1", "DynamicFields"),
	  new SoapParam("1", "AllArticles"),
	  new SoapParam("1", "Extended") 
 
is there any other way (parameter to use)??
or i need to build my own validation script to display properly and exclude note-internal aticles after sending out above operation?

thanks.
sorry for the english :D
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