DocumentService :: GetListDocumentInterneInfo

The POST method, is used to retrieve data.

The list of parameters is empty.

Returns data as JSON, for use in PHP, you need to convert JSON in StdClass PHP (PHP function: json_decode ()).

Input parameters:

NO PARAMETER IS REQUIRED

Example:

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

use services\WebServices100;

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

// Send requests to receive data
$result = WebServices100::getData($url)));

$response = json_decode($result);

Result:

Array
(
[0] => stdClass Object
(
[TypeMouvementStockDocInterne] => 2
[Libelle] => Consommation/affaire sortie stock
[TypeDocument] => 40
[IdDepot] => 0
)



[1] => stdClass Object
(
[TypeMouvementStockDocInterne] => 2
[Libelle] => Bon intervention
[TypeDocument] => 41
[IdDepot] => 0
)



[2] => stdClass Object
(
[TypeMouvementStockDocInterne] => 4
[Libelle] => Reversement commission perte financ
[TypeDocument] => 42
[IdDepot] => 0
)



[3] => stdClass Object
(
[TypeMouvementStockDocInterne] => 3
[Libelle] => Gain financier
[TypeDocument] => 43
[IdDepot] => 0
)



[4] => stdClass Object
(
[TypeMouvementStockDocInterne] => 1
[Libelle] => Retour sur prêts entrée stock
[TypeDocument] => 44
[IdDepot] => 0
)



[5] => stdClass Object
(
[TypeMouvementStockDocInterne] => 0
[Libelle] => test aucun
[TypeDocument] => 45
[IdDepot] => 0
)



[6] => stdClass Object
(
[TypeMouvementStockDocInterne] => 5
[Libelle] => Saisie du réalisé
[TypeDocument] => 46
[IdDepot] => 0
)



)