ContactTiersService :: Delete

The DELETE method, is used to retrieve data.

The list of necessary parameters for sending a query:

  • string numeroTiers.
  • int idContact.

No returns data.

Input parameters:

{"numeroTiers":"GRENA", "idContact":16}

Example:

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

use services\WebServices100;

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

$data = new stdClass();
$data->numeroTiers = "GRENA";
$data->idContact = 16;

$json_data = json_encode($data);

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

Result:

BOOLEAN