TiersService :: AutreTiers

The GET method, is used to retrieve data.

The list of necessary parameters for sending a query:
  • string ctNum.

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

Input parameters:

/TESTAUTRE

Example:

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

use services\WebServices100;

$url = 'http://<Your ip>:<Your Port>/WebServices100/<Your environment>/TiersService/rest/AutreTiers/TESTAUTRE';

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

$response = json_decode($result);

Result:

stdClass Object
(
[TypeTiers] => 3
[NumeroTiers] => TESTAUTRE
[NumeroTiersPayeur] => TESTAUTRE
[IdCategorieComptable] => 1
[IdCategorieTarifaire] => 1
[IdModeleReglement] => 0
[Intitule] => aaaaaaaaaaaaaaaaaaa
[Qualite] =>
[Abrege] => sdgsdgsdg
[Contact] =>
[CompteCollectif] => 445200
[Adresse] =>
[Complement] =>
[CodePostal] =>
[Ville] =>
[Region] =>
[Pays] => France
[Telephone] =>
[Fax] =>
[Email] =>
[SiteWeb] =>
[NumeroSiret] =>
[NumeroTva] =>
[CodeEdi] =>
[CodeNAF] =>
[Commentaire] =>
[Langue] => 0
[EstEnSommeil] =>
[IdDepot] => 0
[NumeroCentraleAchat] =>
[CessionCreance] =>
[EncoursAutorise] => 0
[IdRisque] => 1
[ModeControleEnCours] => 0
[AutomatiserEcritureMultiEcheances] =>
[AutorisationLettrageAutomatique] => 1
[ExclureRappelsReleve] =>
[Facebook] =>
[LinkedIn] =>
[InfosLibres] => Array
(
[0] => stdClass Object
(
[Name] => Date création société
[Type] => 2
[Size] => 0
[EstCalculee] =>
[Value] =>
)
[1] => stdClass Object
(
[Name] => Capital social
[Type] => 3
[Size] => 0
[EstCalculee] =>
[Value] =>
)
[2] => stdClass Object
(
[Name] => Actionnaire Pal
[Type] => 0
[Size] => 69
[EstCalculee] =>
[Value] =>
)
[3] => stdClass Object
(
[Name] => Score Banque de France
[Type] => 0
[Size] => 14
[EstCalculee] =>
[Value] =>
)
[4] => stdClass Object
(
[Name] => Total points fidélité
[Type] => 3
[Size] => 0
[EstCalculee] => 1
[Value] =>
)
[5] => stdClass Object
(
[Name] => Points fidélité restants
[Type] => 3
[Size] => 0
[EstCalculee] => 1
[Value] =>
)
[6] => stdClass Object
(
[Name] => Fin validité carte fidélité
[Type] => 1
[Size] => 0
[EstCalculee] =>
[Value] =>
)
[7] => stdClass Object
(
[Name] => Date négociation règlement
[Type] => 2
[Size] => 0
[EstCalculee] =>
[Value] =>
)
[8] => stdClass Object
(
[Name] => testTableCompteT
[Type] => 0
[Size] => 21
[EstCalculee] =>
[Value] =>
)
)
[Createur] => MA30
[DateModification] => /Date(1458821040000+0100)/
[ExclureTraitementMarketing] =>
[GDPRActif] =>
[AssuranceCredit] => 0
[NePasAppliquerPenaliteRetard] =>
[IdRepresentant] => 0
)