Page 1 of 1

patient forms

Posted: Mon Dec 08, 2025 11:49 am
by beacondental
I would like to get patient forms that the patient has attached to his account (under Forms). How can I do this thru the API? Is there a GET function or short query that can pull the PDF document.

Re: patient forms

Posted: Mon Dec 08, 2025 1:51 pm
by SLeon
Use this workflow to download PDFs for a patient based on forms they filled out.
You could also use Documents GET (multiple) to get all the docnums for the desired patient. These would include forms, as well as other files, you could download.

Re: patient forms

Posted: Tue Dec 09, 2025 4:12 am
by beacondental
Using Documents POST DownloadSftp to download each document.

POST /sheets/DownloadSftp

{
"SheetNum": 50,
"SftpAddress": "MySftpSite/myUsername/Sheets/ExamSheetJones.pdf",
"SftpUsername": "myUsername",
"SftpPassword": "myPassword"
}

The error shows is :
400 Bad Request: ""Unable to save file. Connecting to MySftpSite has failed with user: myUsername\r\nNo connection could be made because the target machine actively refused it""

Note : Deliberately not written original credentials.

Can you help us with this ?

Thank you

Re: patient forms

Posted: Tue Dec 09, 2025 8:36 am
by justine
beacondental wrote: Tue Dec 09, 2025 4:12 am Using Documents POST DownloadSftp to download each document.

POST /sheets/DownloadSftp

{
"SheetNum": 50,
"SftpAddress": "MySftpSite/myUsername/Sheets/ExamSheetJones.pdf",
"SftpUsername": "myUsername",
"SftpPassword": "myPassword"
}

The error shows is :
400 Bad Request: ""Unable to save file. Connecting to MySftpSite has failed with user: myUsername\r\nNo connection could be made because the target machine actively refused it""

Note : Deliberately not written original credentials.

Can you help us with this ?

Thank you
Hello beacondental,

The error means your SFTP server is refusing the connection. The API reached the host, but nothing is listening or accepting connections on the port you're using. Please verify the correct SFTP host, port, and that the SFTP service is running and reachable from your network.

Thanks!

Re: patient forms

Posted: Thu Dec 18, 2025 4:46 am
by beacondental
Okay. This helped.

Thank You Very Much