Subscription Events not getting triggered

For requests or help with our API
Post Reply
arpan.t
Posts: 1
Joined: Mon Nov 21, 2022 1:45 am

Subscription Events not getting triggered

Post by arpan.t » Mon Nov 21, 2022 2:05 am

Problem: We are able to successfully subscribe for the below endpoint, but triggers are not fired on patient/appointment created/updated case.
POST /subscriptions
{
"EndPointUrl": "https://mydomain/apievents/",
"Workstation": "Test",
"WatchTable": "Patient",
"PollingSeconds": 5,
"DateTimeStart": "2022-01-31"
}


Able to fetch and look at the subscribed event using the below endpoint.
GET /subscriptions

Request you to share a reference guide/link to troubleshoot this issue.

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

Re: Subscription Events not getting triggered

Post by SLeon » Mon Nov 21, 2022 8:06 am

Good morning,

Here a few troubleshooting steps that other forum users found helpful:

When you call Subscriptions GET, does the DateTimeStart field update? This column is updated everytime Open Dental checks the database for entries to send in an event. Meaning this field will increment by the PollingSeconds value whether there are events to send or not.

Is either Open Dental or the API Service running? This is how the subscriptions are processed and ApiEvents are sent.

Is the Workstation specified in the Subscription accurate? You have "Workstation":"Test" shown above. Is this the name of the machine that is running Open Dental/API Service?

Which webhook service are you utilizing to catch these events? Sites like Webhook.site and Zapier can significantly differ in how events are processed. See discussion here https://www.opendentalsoft.com:8085/for ... f=9&t=7783.

Post Reply