We will try to keep soap api as long as we can. But it is also clear that future is to the REST API and not SOAP. Dolibarr 5.0 will provide tools to make test and development of REST API easier...
2016-07-28 14:30 GMT+02:00 Nicolas Dorigny - datætic <[email protected]>: > Hello, > > i'm working on an ERP and i need to create/update Dolibarr thirdparties > and contacts from the ERP, and to generate lots of invoices in batch mode. > > I have two options: > - insert/update data directly in the database tables, but when Dolibarr > structure changes i have to rewrite/test my code, > - use a web service. > > There are REST and SOAP webservices. > REST is easier to consume, but apparently only allows reading objects > (only get* methods). > SOAP has methods for creating objects. > > Before going further, i have a few questions : > > - is the SOAP webservice totally functional, maintained and will stay in > future releases ? > > - is it possible to create remotely a complete invoice with all details > (llx_facture and lines in llx_facturedet) ? someone already did this ? > > - I suppose i have to send to the webservice arrays of data with field > names, are these fields a mirror of the tables ? I mean, when database > structure change, i'll have to change my webservice calls to ? > > Thanks ! > > -- > [image: dataetic] > > *Nicolas Dorigny* > Consultant - Développeur web freelance > [email protected] | 05 61 87 01 89 <0561870189> | 06 65 68 44 64 <0665684464> > > > > _______________________________________________ > Dolibarr-dev mailing list > [email protected] > https://lists.nongnu.org/mailman/listinfo/dolibarr-dev > > -- EMail: [email protected] Web: http://www.destailleur.fr ------------------------------------------------------------------------------------ Google+: https://plus.google.com/+LaurentDestailleur-Open-Source-Expert/ Facebook: https://www.facebook.com/Destailleur.Laurent Twitter: http://www.twitter.com/eldy10 ------------------------------------------------------------------------------------ * Dolibarr (Project leader): http://www.dolibarr.org (make a donation for Dolibarr project via Paypal: [email protected]) * AWStats (Author) : http://awstats.sourceforge.net (make a donation for AWStats project via Paypal: [email protected]) * AWBot (Author) : http://awbot.sourceforge.net * CVSChangeLogBuilder (Author) : http://cvschangelogb.sourceforge.net
_______________________________________________ Dolibarr-dev mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/dolibarr-dev
