Update
PUT {{url_sage100}}/TiersService/rest/Update
TiersService :: Update The PUT method, is used to retrieve data.
The list of necessary parameters for sending a query:
Tiers tiers
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 test update", "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, "InfosLibres"=>[{"Name"=>"Date création société", "Type"=>0, "Size"=>0, "EstCalculee"=>false, "Value"=>"/Date(1537861609000)/"}]}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Authorization | string |
RESPONSES
status: OK
{"__type":"Client:http://www.proconsult.lu/WebServices100","TypeTiers":0,"NumeroTiers":"K09999","NumeroTiersPayeur":"BAGUES","IdCategorieComptable":1,"IdCategorieTarifaire":2,"IdModeleReglement":4,"Intitule":"Bague's en or test update","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":"/Date(1537854409000+0200)/"},{"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},{"Name":"testTableCompteT","Type":0,"Size":21,"EstCalculee":false,"Value":null}],"Createur":"W100","DateModification":"/Date(1620228934000+0200)/","ExclureTraitementMarketing":false,"GDPRActif":false,"IdDevise":0,"Statistique01":null,"Statistique02":null,"Statistique03":null,"Statistique04":null,"Statistique05":null,"Statistique06":null,"Statistique07":null,"Statistique08":null,"Statistique09":null,"Statistique10":null,"Facture":0,"Saut":false,"Analytique":0,"CodeAffaire":null,"DateCreation":"/Date(1617964830000+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":0,"TauxRFA":0}