Closed pniaps closed 1 year ago
This change allows using the searchText parameter in Get all items api call.
searchText
You can use something like this
results = glpi.get_all_items( 'Computer', get_hateoas=0, searchText = {'name':'server','comment':'critical'} )
Remember, the searchText parameter is used as LIKE condition on GLPI side, so the example before will return the computers whichs contains server in his name and critical in his comment.
LIKE
server
critical
Thanks for your comments.
version 0.4.0 has been released on Pypi
This change allows using the
searchText
parameter in Get all items api call.You can use something like this
Remember, the
searchText
parameter is used asLIKE
condition on GLPI side, so the example before will return the computers whichs containsserver
in his name andcritical
in his comment.