Page 1 of 1

Documents POST DownloadSftp - sync or async?

Posted: Mon Sep 27, 2021 9:25 pm
by acaziz
Will the document upload via SFTP be scheduled to be uploaded after API call, as in, will the API call return response right away or wait till the doc is uploaded?

Re: Documents POST DownloadSftp - sync or async?

Posted: Tue Sep 28, 2021 8:03 am
by SLeon
For Documents POST DownloadSftp, the API response will wait to return until the SFTP action is finished. This could be a successful upload, or a failure due to invalid SFTP credentials, etc. You will receive an error message describing the failure in the response if the SFTP action was unsuccessful. This is the case for all API methods that involve an SFTP action.