WebServices - TicketSearch on Article

Moderator: crythias

Locked
Rbrt
Znuny newbie
Posts: 10
Joined: 29 Aug 2012, 09:15
Znuny Version: 3.1.7
Real Name: Robert
Company: Fexco

WebServices - TicketSearch on Article

Post by Rbrt »

Hi,

I am using the TicketSearch Webservices and the article search text does not seem to be working correctly.

Am i doing this correctly? The below code (Soap UI request) i assume will search the body of the articles of tickets and return any ticket numbers that have *OTRS* in the body:

Code: Select all

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
   <soapenv:Header/>
   <soapenv:Body>
      <TicketSearch>
       	        <UserLogin>xxxx</UserLogin>
         	<Password>xxxx</Password>
         	 <Body>%OTRS%</Body>
      </TicketSearch>
   </soapenv:Body>
</soapenv:Envelope>
Unfortunately this request returns nothing. Are there any other configuration options required or is the soap XML incorrect?

The rest of the ticketsearch options are working correctly for me, it is just the fields relating to articles that are not returning information.
Rbrt
Znuny newbie
Posts: 10
Joined: 29 Aug 2012, 09:15
Znuny Version: 3.1.7
Real Name: Robert
Company: Fexco

Re: WebServices - TicketSearch on Article

Post by Rbrt »

Additionally <Limit>5</Limit> does not seem to limit the ticket # in response? Am i missing something here as well?
Rbrt
Znuny newbie
Posts: 10
Joined: 29 Aug 2012, 09:15
Znuny Version: 3.1.7
Real Name: Robert
Company: Fexco

Re: WebServices - TicketSearch on Article

Post by Rbrt »

And add any of the time based filters to that list.

Been following: http://dev.otrs.org/3.1/Kernel/System/TicketSearch.html

The article stuff is probably the most important.
Locked