In my program I make a GET and get the following:
{"totalcount":2,"count":2,"sort":1,"order":"ASC","data":[{"2":8283,"1":"Teste","12":6,"15":"2018-03-29 11:30:04","19":"2018-03-29 15:13:18","10":5,"4":981,"5":981,"8":null,"159":0,"7":"Others > Management","18":null,"82":0},{"2":8282,"1":"TESTE AFD","12":5,"15":"2018-03-29 11:14:24","19":"2018-04-02 08:58:50","10":3,"4":981,"5":981,"8":null,"159":0,"7":"Services > I need to bill a new client without a software license.","18":null,"82":0}],"content-range":"0-1/2"}
But not all of these data interest me, I want to make a list that contains the ID's of the filtered tickets. That is, inside this json there is a field called date, which contains the following:
"data":[{"2":8283,"1":"Teste","12":6,"15":"2018-03-29 11:30:04","19":"2018-03-29 15:13:18","10":5,"4":981,"5":981,"8":null,"159":0,"7":"Others > Management","18":null,"82":0},{"2":8282,"1":"TESTE AFD","12":5,"15":"2018-03-29 11:14:24","19":"2018-04-02 08:58:50","10":3,"4":981,"5":981,"8":null,"159":0,"7":"Services > I need to bill a new client without a software license.","18":null,"82":0}]
And within the date there are fields "2" that contain the ID's:
"2":8283 e "2":8282
I want to create a list with those two Id's, but I do not know how to filter the data to just get the Id's in a list, someone can help me: