DocumentService :: TypesDocumentLibelleList

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/Documents';

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

$response = json_decode($result);

Result:

Array
(
[0] => stdClass Object
(
[Libelle] => Devis
[TypeDocument] => 0
)



[1] => stdClass Object
(
[Libelle] => Bon de commande
[TypeDocument] => 1
)



[2] => stdClass Object
(
[Libelle] => Préparation de livraison
[TypeDocument] => 2
)



[3] => stdClass Object
(
[Libelle] => Bon de livraison
[TypeDocument] => 3
)



[4] => stdClass Object
(
[Libelle] => Bon de retour
[TypeDocument] => 4
)



[5] => stdClass Object
(
[Libelle] => Bon d’avoir
[TypeDocument] => 5
)



[6] => stdClass Object
(
[Libelle] => Facture
[TypeDocument] => 6
)



[7] => stdClass Object
(
[Libelle] => Facture comptabilisée
[TypeDocument] => 7
)



[8] => stdClass Object
(
[Libelle] => Préparation de Commande
[TypeDocument] => 11
)



[9] => stdClass Object
(
[Libelle] => Bon de Commande
[TypeDocument] => 12
)



[10] => stdClass Object
(
[Libelle] => Bon de livraison
[TypeDocument] => 13
)



[11] => stdClass Object
(
[Libelle] => Bon de retour
[TypeDocument] => 14
)



[12] => stdClass Object
(
[Libelle] => Bon d’avoir
[TypeDocument] => 15
)



[13] => stdClass Object
(
[Libelle] => Facture
[TypeDocument] => 16
)



[14] => stdClass Object
(
[Libelle] => Facture comptabilisée
[TypeDocument] => 17
)



[15] => stdClass Object
(
[Libelle] => Mouvement d’entrée
[TypeDocument] => 20
)



[16] => stdClass Object
(
[Libelle] => Mouvement de sortie
[TypeDocument] => 21
)



[17] => stdClass Object
(
[Libelle] => Dépréciation de stock
[TypeDocument] => 22
)



[18] => stdClass Object
(
[Libelle] => Virement de dépôt à dépôt
[TypeDocument] => 23
)



[19] => stdClass Object
(
[Libelle] => Préparation de fabrication
[TypeDocument] => 24
)



[20] => stdClass Object
(
[Libelle] => Ordre de fabrication
[TypeDocument] => 25
)



[21] => stdClass Object
(
[Libelle] => Bon de fabrication
[TypeDocument] => 26
)



[22] => stdClass Object
(
[Libelle] => Consommation/affaire sortie stock
[TypeDocument] => 40
)



[23] => stdClass Object
(
[Libelle] => Bon intervention
[TypeDocument] => 41
)



[24] => stdClass Object
(
[Libelle] => Reversement commission perte financ
[TypeDocument] => 42
)



[25] => stdClass Object
(
[Libelle] => Gain financier
[TypeDocument] => 43
)



[26] => stdClass Object
(
[Libelle] => Retour sur prêts entrée stock
[TypeDocument] => 44
)



[27] => stdClass Object
(
[Libelle] => test aucun
[TypeDocument] => 45
)



[28] => stdClass Object
(
[Libelle] => Saisie du réalisé
[TypeDocument] => 46
)



)