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"
}
API Request -- Documents Import?
Re: API Request -- Documents Import?
Hello laborspy,laborspy wrote: ↑Tue Jan 28, 2025 12:49 pmIf 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"
}
It sounds like POST documents UploadSftp would be a better fit for your application.
Thanks!
Re: API Request -- Documents Import?
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.