I'm trying to retrieve the list of Open/unopened tickets (p_status=0 ) (for nagios I like to track this)
API Docu: https://www.livezill..._section=Ticket
Running the following line:
curl https://localhost/api/v2/api.php \ -d "p_user=<username>" \ -d "p_pass=<password>" \ -d "p_tickets_list=1" \ -d "p_status=0" \ -d "p_json_pritty=1" -X POST |jq
Always returns:
{ "Tickets": [] }
Leaving the p_status=0 out, will give me all tickets including the status open.
Using any other number of the p_status 1~4 works and gives me the correct list of tickets in that state.
Filtering on the p_status=0 just seems not to work..
Options for p_status
[0] = Open <=== This one can not be filtered.
[1] = In Progress
[2] = Closed
[3] = Deleted
[4] = Pending
Is there a mistake at my side, or is this not yet working

Any other alternative to finding the amount of unopend/new tickets with the API ?
Wessel