AdresseLivraisonService :: Delete

The DELETE method, is used to retrieve data.

The list of necessary parameters for sending a query:

  • string numeroTiers.
  • int idAdresse

No returns data.

Input parameters:

{"numeroTiers":"BAGUES","idAdresse":5}

Example:

require(__DIR__ . '/service/ContactTiers.php');

use services\WebServices100;

$url = 'http://<Your ip>:<Your Port>/WebServices100/<Your environment>/AdresseLivraisonService/rest/Delete';

$data = new stdClass();
$data->numeroTiers = "BAGUES";
$data->idAdresse = 5;

$json_data = json_encode($data);

WebServices100::getData($url, $json_data);

Result:

BOOLEAN