You are not logged in.
Pages: 1
Topic closed
Hello.
I'm searching for follow ups between two dates using this endpoint:
/apirest.php/search/ITILFollowup
With these parameters:
{
forcedisplay: [3, 5],
criteria: [
{ field: 3, searchtype: 'morethan', value: '2020-06-01 00:00:00' },
{ link: 'AND', field: 3, searchtype: 'lessthan', value: '2020-06-20 23:59:59' },
],
}
And I'm getting a response like this:
data: [
{ 1: 'Content...', 3: 'Date...', 5: User...' },
{ 1: 'Content...', 3: 'Date...', 5: User...' },
{ 1: 'Content...', 3: 'Date...', 5: User...' },
...
]
How can I also get the corresponding ticket ID from each of those follow ups? If this is not possible on this endpoint, how else can I list tickets that got follow ups in between two dates?
Thank you in advance.
Last edited by diogo86 (2020-06-22 14:55:56)
Offline
try with
/search/Ticket
and {
forcedisplay: [2,25,3,93],
criteria: [
{ field: 36, searchtype: 'morethan', value: '2020-06-01 00:00:00' },
{ link: 'AND', field: 36, searchtype: 'lessthan', value: '2020-06-20 23:59:59' },
],
}
Trouver la panne avant de réparer...
GLPI10.0.16 (ubuntu 22.04 PHP8.1 Mariadb10.6 ) plugins : comportements 2.7.3 reports 1.16.0 formcreator 2.13.9, datainjection 2.13.5 fields 1.21.9
Offline
Thank you. That's exactly what I needed.
Offline
Pages: 1
Topic closed