Usage#
Push documents#
You can push Incoming Documents into Tryton using a Web service.
You need first to create a User Application Key from the user preferences.
Then you can post documents on the URL
path /<database_name>/document_incoming
with the key in the
Authorization
header.
See Post incoming document for all the options.
For example using curl, you can push piped document and process it with:
| curl -X POST "https://<host>:<port>/<database_name>/document_incoming?process=1" -H "Authorization: bearer xxxxx" -H "Content-Type: application/octet-stream" --data-binary @-