Skip to content

search engine #16

@mkosterin

Description

@mkosterin

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions