API Reference

API Reference#

Post incoming document#

The Incoming Document Module defines some routes for user applications:

  • POST /<database_name>/document_incoming: Create an Incoming Document using:

    • the JSON Object with at least data key containing the document encoded in Base64. Other keys are treated as values for the fields of the record.

    • an octet-stream of the data. The parameters of the request are treated as values for the fields of the record.

    Some request parameters change the behavior of the request:

    • process: a boolean (1 or 0) to launch the processing on the created record.