You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello my friend.
I tried use glpi-sdk-python for integration my GLPI with another software.
So I can't make correct request for search all tickets with some criteria. For example, I need recieve all tickets with "in progress" state:
I wrote some code:
print json.dumps(glpi.search('ticket', {"criteria": [{"field": "status", "value": "2"}]}),
indent=4,
separators=(',', ': '),
sort_keys=True)
Method "search" get all items before, GLPI API return only 100 first items. So today I have >5000 tickets.
Couls you wtite some example, how can I use search method in your SDK?
Thank you.
The text was updated successfully, but these errors were encountered:
Hello my friend.
I tried use glpi-sdk-python for integration my GLPI with another software.
So I can't make correct request for search all tickets with some criteria. For example, I need recieve all tickets with "in progress" state:
I wrote some code:
print json.dumps(glpi.search('ticket', {"criteria": [{"field": "status", "value": "2"}]}),
indent=4,
separators=(',', ': '),
sort_keys=True)
Method "search" get all items before, GLPI API return only 100 first items. So today I have >5000 tickets.
Couls you wtite some example, how can I use search method in your SDK?
Thank you.
The text was updated successfully, but these errors were encountered: