Documents POST DownloadSftp - sync or async?

For requests or help with our API
Post Reply
acaziz
Posts: 7
Joined: Tue Jan 26, 2021 4:33 pm

Documents POST DownloadSftp - sync or async?

Post by acaziz » Mon Sep 27, 2021 9:25 pm

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?

SLeon
Posts: 476
Joined: Mon Mar 01, 2021 10:00 am

Re: Documents POST DownloadSftp - sync or async?

Post by SLeon » Tue Sep 28, 2021 8:03 am

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.

Post Reply