Insert

POST {{url_sage100}}/TiersService/rest/Insert

Request Body

{"tiers"=>{"__type"=>"Client:http://www.proconsult.lu/WebServices100", "TypeTiers"=>0, "NumeroTiers"=>"K09999", "NumeroTiersPayeur"=>"BAGUES", "IdCategorieComptable"=>1, "IdCategorieTarifaire"=>2, "IdConditionLivraison"=>1, "IdModeExpedition"=>1, "IdModeleReglement"=>4, "Intitule"=>"Bague's en or", "Qualite"=>"", "Abrege"=>"Bague's en or", "Contact"=>"Mlle Lee Ondine", "Adresse"=>"Rue tête dOr", "Complement"=>"BP 65993", "CodePostal"=>"57000", "Ville"=>"Metz", "Region"=>"Lorraine", "Pays"=>"France", "Telephone"=>"06 65 87 00 00", "Fax"=>"06 65 87 00 01", "Email"=>"bagues@bagues.fr", "SiteWeb"=>"bagues.com", "NumeroSiret"=>"02556852465474", "NumeroTva"=>"546789", "CodeEdi"=>"", "CodeNAF"=>"32.12Z", "Commentaire"=>"", "Langue"=>0, "EstEnSommeil"=>false, "Statistique01"=>"CEE", "TauxReleve"=>"1.0", "TauxRFA"=>"2.0", "Facture"=>"1", "Saut"=>false, "Analytique"=>"3", "CodeAffaire"=>"953INDE"}, "guidCreateur"=>"{{guidCpta}}"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Authorizationstring

RESPONSES

status: OK

{"__type":"Client:http://www.proconsult.lu/WebServices100","TypeTiers":0,"NumeroTiers":"J010000","NumeroTiersPayeur":"BAGUES","IdCategorieComptable":1,"IdCategorieTarifaire":2,"IdModeleReglement":4,"Intitule":"Bague's en or","Qualite":"","Abrege":"Bague's en or","Contact":"Mlle Lee Ondine","CompteCollectif":"4110000","Adresse":"Rue tête dOr","Complement":"BP 65993","CodePostal":"57000","Ville":"Metz","Region":"Lorraine","Pays":"France","Telephone":"06 65 87 00 00","Fax":"06 65 87 00 01","Email":"bagues@bagues.fr","SiteWeb":"bagues.com","NumeroSiret":"02556852465474","NumeroTva":"546789","CodeEdi":"","CodeNAF":"32.12Z","Commentaire":"","Langue":0,"EstEnSommeil":false,"IdDepot":0,"NumeroCentraleAchat":null,"CessionCreance":false,"EncoursAutorise":0,"IdRisque":1,"ModeControleEnCours":0,"AutomatiserEcritureMultiEcheances":false,"AutorisationLettrageAutomatique":false,"ExclureRappelsReleve":false,"Facebook":"","LinkedIn":"","InfosLibres":[{"Name":"Date création société","Type":2,"Size":0,"EstCalculee":false,"Value":null},{"Name":"Capital social","Type":3,"Size":0,"EstCalculee":false,"Value":null},{"Name":"Actionnaire Pal","Type":0,"Size":69,"EstCalculee":false,"Value":null},{"Name":"Score Banque de France","Type":0,"Size":14,"EstCalculee":false,"Value":null},{"Name":"Total points fidélité","Type":3,"Size":0,"EstCalculee":true,"Value":null},{"Name":"Points fidélité restants","Type":3,"Size":0,"EstCalculee":true,"Value":null},{"Name":"Fin validité carte fidélité","Type":1,"Size":0,"EstCalculee":false,"Value":null},{"Name":"Date négociation règlement","Type":2,"Size":0,"EstCalculee":false,"Value":null},{"Name":"Taux Escompte Defaut","Type":3,"Size":0,"EstCalculee":false,"Value":null},{"Name":"Délai escompte en jours","Type":3,"Size":0,"EstCalculee":false,"Value":null}],"Createur":"W100","DateModification":"/Date(1619768228000+0200)/","ExclureTraitementMarketing":false,"GDPRActif":false,"IdDevise":0,"Statistique01":"CEE","Statistique02":null,"Statistique03":null,"Statistique04":null,"Statistique05":null,"Statistique06":null,"Statistique07":null,"Statistique08":null,"Statistique09":null,"Statistique10":null,"Facture":1,"Saut":false,"Analytique":3,"CodeAffaire":"953INDE","DateCreation":"/Date(1619768212000+0200)/","UtilisateurCreateur":"\u003cAdministrateur\u003e","IdModeExpedition":1,"AssuranceCredit":0,"PrioriteLivraison":0,"DelaiTransport":0,"FactureParBonLivraison":false,"NePasAppliquerPenaliteRetard":false,"IdRepresentant":0,"IdPeriodicite":1,"AutorisationLivraisonPartielle":false,"TauxRemise":0,"TauxEscompte":0,"EstProspect":false,"TauxReleve":1,"TauxRFA":2}