Open Dental Provide to access Images using API

For requests or help with our API
Post Reply
Roonyx
Posts: 10
Joined: Thu Sep 22, 2022 1:48 am

Open Dental Provide to access Images using API

Post by Roonyx » Mon Sep 26, 2022 3:30 am

I want to fetch the all data of patients from my own Open Dental software, So can I fetch the patient profile image using API?
Or Open Dental provide any kind of API where I can fetch the images?

justine
Posts: 169
Joined: Tue Dec 28, 2021 7:59 am

Re: Open Dental Provide to access Images using API

Post by justine » Mon Sep 26, 2022 9:28 am

Roonyx wrote:
Mon Sep 26, 2022 3:30 am
I want to fetch the all data of patients from my own Open Dental software, So can I fetch the patient profile image using API?
Or Open Dental provide any kind of API where I can fetch the images?
Please do not double post. Additional quote taken from here:
Roonyx wrote:
Mon Sep 26, 2022 3:18 am
How can fetch images from Open Dental API into my application?

I used Open dental API and it's working. I want to fetch images from Open Dental using API, but how can I achieve this?
For example - I am using this endpoint - GET https://api.opendental.com/api/v1//documents
response given -

Code: Select all

 {
"DocNum": 34,
"filePath": "\\server\OpenDentImages\S\SmithJohn15\exampleimage.jpg",
"Description": "Scanned image",
"serverDateTime": "2021-05-20 13:30:54"
}
I am creating an application where I used open dental API and want the above image it is possible to fetch this image because here it shows the path of the local machine, But I want to fetch this image into another machine using the API. How can I access this image using this path?
Good morning Roonyx,

To retrieve a patient's picture, first run documents GET with the patient's PatNum. This will return all the documents associated with that particular patient. After you have the DocNum of the picture or document you'd like to transfer, use documents POST DownloadSftp to transfer the document to your sftp site.

Please see the DownloadSftp section of the documentation:
https://www.opendental.com/site/apidocuments.html

Post Reply