Upgrade push URL


<?php
$request = $_REQUEST["data"];
$jsonData = json_decode($request);
// your request id
$request_id = $jsonData->requestId;

/* details of each number */
$details = $jsonData->numbers;
array = json_decode(json_encode($details), true);
$link = mysqli_connect("myhost", "myuser", "mypassw", "mybd") or die("Error " . mysqli_error($link));

foreach ($array as $number => $value) {
// status of each number
$status = $value["status"];
// destination number
$reciever_number = $number;
//detail description of report
$desc = $value["desc"];
//delivery report time
$recieving_date = $value["date"];
$query = "INSERT INTO mytable (request_id,date,receiver,status,description) VALUES (\'" . $request_id ."\' ",
\'" . $recieving_date . "\',\'" . $reciever_number . "\',\'" . $status . "\',\'" . $desc . "\')";
//execute the query.
$result = $link->query($query);
} ?>
Further you can use above parameters and either update your database or just display it as per your need .