DocumentService :: DeleteLigneDocumentList
The DELETE method, is used to retrieve data.
The list of parameters is not mandatory to request:
- List<int> idLigneList
Returns data as JSON, for use in PHP, you need to convert JSON in StdClass PHP (PHP function: json_decode ()).
Input parameters:
{"idLigneList":[{"idLigne":119},{"idLigne":120}]}
Example:
require (__DIR__ . '/service/Webservices100.php'); use services\Webservices100; // add parameters $data = new stdClass(); $data->idLigneList[]->idLigne = 119; $data->idLigneList[]->idLigne = 120; $json_data = json_encode($data, JSON_UNESCAPED_SLASHES); $url = 'http://<Your ip>:<Your Port>/WebServices100/<Your environment>/DocumentService/rest/DeleteLigneDocumentList'; // Send requests to receive data $result = WebServices100::getData($url, $json_data); $response= json_decode($result);
Result:
BOOLEAN