...
After the import is finished, the import finalization operation should be started (or, it will be run automatically at midnight).
Code Block |
---|
curl -H 'Content-Type:application/json+nxrequest' -X POST -d '{"params":{},"context":{}}' -u 'Administrator:Administrator' "http://127.0.0.1:8080/nuxeo/site/automation/SetFileImportComplete" |
The expected result is "Import mode closed & post-import services commenced successfully.".
This completes the import - your documents should now be accessible in the Patricia workspace in the DMS.
Completing step 7 without curl
If you do not have curl installed, you can use RESTClient as an alternative. The screenshots below action the same RESTful call in a graphical manner:
- Set the header to Content-Type application/json+nxrequest
2. Set the body to: {"params":{},"context":{}}
3. Set the auth tab (note select preemptive auth)
4. Set the request method to post
5. After pressing green arrows to execute the request, the result should be "Import mode closed & post-import services commenced successfully.".