Generic Interface (SOAP/REST) 5.0 - ArchiveFlags issue

Moderator: crythias

kruegerM
OTRS wizard
Posts: 155
Joined: 02 Dec 2010, 16:53
OTRS Version?: 5.0.23
Real Name: Marc
Company: National Jewish Health
Location: Denver, CO

Generic Interface (SOAP/REST) 5.0 - ArchiveFlags issue

Postby kruegerM » 20 Mar 2018, 16:25

v 5.0.27 - Generic Interface (SOAP)
Doing historical searches - <ArchiveFlags> is not working for me.
ie; <ArchiveFlags>Y</ArchiveFlags>

Have tried y/n, Y/N, 0/1, with or without quotes, etc - doesn't make a difference; I am unable to pull archived records.

Ideas appreciated - I haven't got that much hair left to lose ...
Last edited by kruegerM on 29 Mar 2018, 17:18, edited 1 time in total.

zzz
OTRS wizard
Posts: 176
Joined: 15 Dec 2016, 15:13
OTRS Version?: 3.x - 6.0.x
Real Name: Emin Yazi
Company: maxence business consulting GmbH
Contact:

Re: Generic Interface (SOAP) 5.0 - ArchiveFlags issue

Postby zzz » 20 Mar 2018, 16:35

Hello,

I have not used TicketSearch via the generic interface so far, but <ArchiveFlags>1</ArchiveFlags> seems to be the correct syntax.

Best regards
Emin

kruegerM
OTRS wizard
Posts: 155
Joined: 02 Dec 2010, 16:53
OTRS Version?: 5.0.23
Real Name: Marc
Company: National Jewish Health
Location: Denver, CO

Re: Generic Interface (SOAP) 5.0 - ArchiveFlags issue

Postby kruegerM » 20 Mar 2018, 17:49

<ArchiveFlags>1</ArchiveFlags> does not work for me...

kruegerM
OTRS wizard
Posts: 155
Joined: 02 Dec 2010, 16:53
OTRS Version?: 5.0.23
Real Name: Marc
Company: National Jewish Health
Location: Denver, CO

Re: Generic Interface (SOAP/REST) 5.0 - ArchiveFlags issue

Postby kruegerM » 29 Mar 2018, 17:18

Well - I can't get ArchiveFlags to make a difference with my REST connector either. If I curl:

/usr/bin/curl -k 'https://###.####.org/otrs/nph-genericinterface.pl/Webservice/GenericRESTConnector/Search?QueueIDs=1&ArchiveFlags=1&UserLogin=#######&Password=#########'

It doesn't matter what I set ArchiveFlags to - I get the same results. If I search "All Tickets" using the normal GUI - I get many more, so I know there are archived tickets in that queue.

I'm at a loss where to search next.

reneeb
OTRS guru
Posts: 4586
Joined: 13 Mar 2011, 09:54
OTRS Version?: 3.3.x
Company: Perl-Services.de
Contact:

Re: Generic Interface (SOAP/REST) 5.0 - ArchiveFlags issue

Postby reneeb » 29 Mar 2018, 17:53

Try "SearchInArchive=y"
Perl / OTRS development: http://perl-services.de
Free OTRS add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de

kruegerM
OTRS wizard
Posts: 155
Joined: 02 Dec 2010, 16:53
OTRS Version?: 5.0.23
Real Name: Marc
Company: National Jewish Health
Location: Denver, CO

Re: Generic Interface (SOAP/REST) 5.0 - ArchiveFlags issue

Postby kruegerM » 29 Mar 2018, 17:59

Thanks, but no change - using:

/usr/bin/curl -k 'https://###.####.org/otrs/nph-genericinterface.pl/Webservice/GenericRESTConnector/Search?QueueIDs=1&SearchInArchive=y&UserLogin=#######&Password=#########'

produced same results

kruegerM
OTRS wizard
Posts: 155
Joined: 02 Dec 2010, 16:53
OTRS Version?: 5.0.23
Real Name: Marc
Company: National Jewish Health
Location: Denver, CO

Re: Generic Interface (SOAP/REST) 5.0 - ArchiveFlags issue

Postby kruegerM » 29 Mar 2018, 20:24

Last ditch effort - I created a perl script to do a Ticket Search thru the REST connector. Setting ArchiveFlags => 'y' makes no change in the ouput. That's 100% failure :(


Return to “General”

Who is online

Users browsing this forum: No registered users and 3 guests