Hi Nicolas,

Using the web services is safest than inserting/updating data
directly in database, sure.

You can create objects with the REST API using the POST verb.

2016ko uztailaren 28an, osteguna, [email protected] zion :
> Have you check this PR, it's just merged. Looks to respond at your problem :
> https://github.com/Dolibarr/dolibarr/pull/5379

The REST API has been refactored (in the PR above) and the current API
has been deprecated but the differences are small and upgrading to the
new API will be easy, for example if you want to create a third party:
  current API:    POST /api/index.php/thirdparty?api_key=token
  refactored API: POST /api/index.php/thirdparties?api_key=token
with the same request body.

The current API is the one present in the versions 3.9.x and 4.0.x.
The refactored API is available in the develop branch and should be
published in a future version, I guess.

I don't know if the SOAP API will be supported in the future.

eldy, what are your plans about all that?

Best regards,
-- 
Xebax

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Dolibarr-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev

Répondre à