CollaborateurService :: Delete

The DELETE method, is used to retrieve data.

The list of necessary parameters for sending a query:

  • int id.

No returns data.

Input parameters:

{"id":11}

Example:

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

use services\WebServices100;

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

$data = new stdClass();
$data->id = 11;

$json_data = json_encode($data);

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

Result:

BOOLEAN