ArticleService :: Delete

The DELETE method, is used to retrieve data.

The list of necessary parameters for sending a query:

  • string reference.

No returns data.

Input parameters:

{"reference":"TESTARTICLE3"}

Example:

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

use services\WebServices100;

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

$data = new stdClass();
$data->reference = "TESTARTICLE3";

$json_data = json_encode($data);

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

Result:

BOOLEAN