API Request -- Documents Import?

For requests or help with our API
Post Reply
laborspy
Posts: 14
Joined: Wed Nov 13, 2024 6:52 pm
Contact:

API Request -- Documents Import?

Post by laborspy » Tue Jan 28, 2025 12:49 pm

If I am overlooking something please forgive me and redirect. Is there a chance we can get an import/refresh function of the Documents in the API? There are so many ways of placing something int the A-to-Z folder but nothing currently in place to trigger Open Dental to index them until someone clicks on the Images module. Something like "Index": "True" would be a welcomed improvement .. please?

POST /documents/SetByUrl

{
"PatNum": 101,
"url": "https://www.somesite.com/myimage.jpg",
"DocCategory": 47,
"Description": "Extraoral",
"ImgType": "Photo",
"ToothNumbers": "1,2",
"Index": "true"
}

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

Re: API Request -- Documents Import?

Post by justine » Tue Jan 28, 2025 3:09 pm

laborspy wrote:
Tue Jan 28, 2025 12:49 pm
If I am overlooking something please forgive me and redirect. Is there a chance we can get an import/refresh function of the Documents in the API? There are so many ways of placing something int the A-to-Z folder but nothing currently in place to trigger Open Dental to index them until someone clicks on the Images module. Something like "Index": "True" would be a welcomed improvement .. please?

POST /documents/SetByUrl

{
"PatNum": 101,
"url": "https://www.somesite.com/myimage.jpg",
"DocCategory": 47,
"Description": "Extraoral",
"ImgType": "Photo",
"ToothNumbers": "1,2",
"Index": "true"
}
Hello laborspy,

It sounds like POST documents UploadSftp would be a better fit for your application.

Thanks!

laborspy
Posts: 14
Joined: Wed Nov 13, 2024 6:52 pm
Contact:

Re: API Request -- Documents Import?

Post by laborspy » Wed Jan 29, 2025 6:31 am

I will migrate coding to that and setup a SFTP server. Ideally just writing the file into the A-to-Z folder and somehow requesting Open Dental to index it would be amazing as it is less overhead.

Post Reply