In edoc archive service, after saving a process type with the action Import incoming documents from the ECM system for Select action for processes in the ERP system, the field Endpoint for incoming documents is displayed.
To import incoming documents into the ERP system, ECM IDs of new incoming documents in the ECM system must be transferred to edoc archive service using a webhook. Using these ECM IDs, edoc archive service can find the documents based on the system mapping in the ECM system and transfer them to the ERP system. To transfer the ECM IDs of documents from specific ECM categories to edoc archive service, specify the endpoint for incoming documents in the POST request in the webhook.
Enter the ECM ID in the body of the request in the following format (URL-encoded):
{
"doc": {
"id": "<ECM%20ID>"
}
}