DocumentService :: DeleteLignesDocument

The DELETE method, is used to retrieve data.

The list of necessary parameters for sending a query:

  • TypeDocument typeDocument,
  • string numeroDocument

No returns data.

Input parameters:

{"typeDocument":16,"numeroDocument":"FFA00001"}

Example:

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

use services\WebServices100;

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

// add parameters
$data = new stdClass();
$data->typeDocument = 16;
$data->numeroDocument = "FFA00001";

$json_data = json_encode($data);

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

Result:

BOOLEAN