API - SISTEMA | BAILEYS | OFIC...

Obter Tickets (QUERY)

1min
\<?php $curl = curl init(); curl setopt array($curl, array( curlopt url => 'https //{backend url}/api/tickets/get', curlopt returntransfer => true, curlopt encoding => '', curlopt maxredirs => 10, curlopt timeout => 0, curlopt followlocation => true, curlopt http version => curl http version 1 1, curlopt customrequest => 'get', curlopt postfields =>'{ "userid" null, "queueids" null, "pagenumber" 4, "status" "pending", "tags" null, "date" null, "updatedat" null, "searchparam" null }', curlopt httpheader => array( 'content type application/json', 'authorization bearer tokenmeu' ), )); $response = curl exec($curl); curl close($curl); echo $response;