Clarification on DateTStamp Filtering and API Behavior Across Multiple Open Dental Modules
Posted: Fri Oct 11, 2024 4:21 am
I'm working with various Open Dental API modules to sync data, and I have several questions regarding the handling of specific parameters like `DateTStamp` and the behavior of certain endpoints. Below are my questions for different modules:
FamilyModule
1. Tables used in GET Insurance response:
What are the names of the tables that generate the GET Insurance response in the FamilyModule? I'm trying to understand which tables are involved in fetching insurance data through the API.
OperatoriesModule
1. GET operatories/1 behavior:
When I call the `GET operatories/1` API with a specific request parameter, it returns the entire list of operatories instead of the requested single record. Is this the expected behavior?
2. DateTStamp missing in response:
The response from the `GET operatories` endpoint does not include the `DateTStamp` field, even though this column exists in the `Operatory` table. Is there a reason why this field is not being returned?
3. DateTStamp filter not working:
When I call `GET operatories?DateTStamp=2024-10-09` with a timestamp filter, it still returns the entire list of records instead of the ones matching the `DateTStamp`. Could you clarify how this parameter should work?
RefAttaches Module
1. DateTStamp filter not working:
I called `GET refattaches?DateTStamp=2024-10-08 03:12:16` to filter records by the `DateTStamp`, but the API returned the entire list instead of filtered records. Is this a bug, or am I using the parameter incorrectly?
2. Empty response on POST:
When using the `POST /refattaches` endpoint to insert data, the response model shown in the documentation is not returned in Postman. Instead, I receive an empty result with a `201 Created` status. Is this the expected behavior for successful insertions?
Recalls Module
1. DateTStamp filter not working:
When calling `GET recalls?DateTStamp=2024-10-08 03:12:16`, I expect to see only records updated after that timestamp, but the entire list is returned. Can you provide guidance on how to use the `DateTStamp` filter effectively?
ProcedureLogs Module
1. GET procedurelogs/20 behavior:
I called `GET procedurelogs/20` expecting a single record, but the API returned the entire list of procedure logs instead. Is this normal behavior, or should I be getting only the record with the specified ID?
PatientNote Module
There is no `DateTStamp` column in the `PatientNote` table. Can data sync be achieved using the `SecDateTEdit` column instead?
ProcedureCodes Module
1. GET procedurecodes/81 behavior:
When I call `GET /procedurecodes/81`, the API returns multiple records instead of the single one specified. Is this expected?
2. Missing fields in response:
The response from the API in Postman contains fewer fields than what is listed in the documentation. Could you explain the discrepancy between the documented response model and what is returned via the API?
3. DateTStamp filter not working:
I used `GET procedurecodes?DateTStamp=2024-10-08 03:12:16` to filter records by timestamp, but the API returned the entire list instead. How can I ensure that only records after the specified timestamp are fetched?
ProcNote Module
1. GET method not valid:
When attempting to call `GET /procnotes`, the API returns the message "procnotes GET is not a valid method." Is this endpoint supported for fetching records?
2. No DateTStamp in table:
There is no `DateTStamp` column in the `ProcNote` table, and there is no update API available for this resource. Can I use the `EntryDateTime` column for data sync?
TreatPlan Module
There is no `DateTStamp` column in the `TreatPlan` table. Can the `SecDateTEdit` column be used for data sync in place of `DateTStamp`?
RecallType Module
When accessing the `RecallTypes` resource, the API returns "Recalltypes is not a valid resource." Is this endpoint supported, or is it currently unavailable?
Referrals Module
1. DateTStamp missing in response:
In the Referrals module, the `DateTStamp` field is present in the `Referral` table, but it is not included in the API response model. Is there a reason for this?
2. DateTStamp filter not working:
I called `GET referrals?DateTStamp=2024-10-08 03:12:16` expecting a filtered list of records, but the API returned the entire list instead. How should I properly use the `DateTStamp` filter for this endpoint?
Any guidance or best practices on resolving these issues and syncing data efficiently using `DateTStamp` filtering would be greatly appreciated! Thank you.
FamilyModule
1. Tables used in GET Insurance response:
What are the names of the tables that generate the GET Insurance response in the FamilyModule? I'm trying to understand which tables are involved in fetching insurance data through the API.
OperatoriesModule
1. GET operatories/1 behavior:
When I call the `GET operatories/1` API with a specific request parameter, it returns the entire list of operatories instead of the requested single record. Is this the expected behavior?
2. DateTStamp missing in response:
The response from the `GET operatories` endpoint does not include the `DateTStamp` field, even though this column exists in the `Operatory` table. Is there a reason why this field is not being returned?
3. DateTStamp filter not working:
When I call `GET operatories?DateTStamp=2024-10-09` with a timestamp filter, it still returns the entire list of records instead of the ones matching the `DateTStamp`. Could you clarify how this parameter should work?
RefAttaches Module
1. DateTStamp filter not working:
I called `GET refattaches?DateTStamp=2024-10-08 03:12:16` to filter records by the `DateTStamp`, but the API returned the entire list instead of filtered records. Is this a bug, or am I using the parameter incorrectly?
2. Empty response on POST:
When using the `POST /refattaches` endpoint to insert data, the response model shown in the documentation is not returned in Postman. Instead, I receive an empty result with a `201 Created` status. Is this the expected behavior for successful insertions?
Recalls Module
1. DateTStamp filter not working:
When calling `GET recalls?DateTStamp=2024-10-08 03:12:16`, I expect to see only records updated after that timestamp, but the entire list is returned. Can you provide guidance on how to use the `DateTStamp` filter effectively?
ProcedureLogs Module
1. GET procedurelogs/20 behavior:
I called `GET procedurelogs/20` expecting a single record, but the API returned the entire list of procedure logs instead. Is this normal behavior, or should I be getting only the record with the specified ID?
PatientNote Module
There is no `DateTStamp` column in the `PatientNote` table. Can data sync be achieved using the `SecDateTEdit` column instead?
ProcedureCodes Module
1. GET procedurecodes/81 behavior:
When I call `GET /procedurecodes/81`, the API returns multiple records instead of the single one specified. Is this expected?
2. Missing fields in response:
The response from the API in Postman contains fewer fields than what is listed in the documentation. Could you explain the discrepancy between the documented response model and what is returned via the API?
3. DateTStamp filter not working:
I used `GET procedurecodes?DateTStamp=2024-10-08 03:12:16` to filter records by timestamp, but the API returned the entire list instead. How can I ensure that only records after the specified timestamp are fetched?
ProcNote Module
1. GET method not valid:
When attempting to call `GET /procnotes`, the API returns the message "procnotes GET is not a valid method." Is this endpoint supported for fetching records?
2. No DateTStamp in table:
There is no `DateTStamp` column in the `ProcNote` table, and there is no update API available for this resource. Can I use the `EntryDateTime` column for data sync?
TreatPlan Module
There is no `DateTStamp` column in the `TreatPlan` table. Can the `SecDateTEdit` column be used for data sync in place of `DateTStamp`?
RecallType Module
When accessing the `RecallTypes` resource, the API returns "Recalltypes is not a valid resource." Is this endpoint supported, or is it currently unavailable?
Referrals Module
1. DateTStamp missing in response:
In the Referrals module, the `DateTStamp` field is present in the `Referral` table, but it is not included in the API response model. Is there a reason for this?
2. DateTStamp filter not working:
I called `GET referrals?DateTStamp=2024-10-08 03:12:16` expecting a filtered list of records, but the API returned the entire list instead. How should I properly use the `DateTStamp` filter for this endpoint?
Any guidance or best practices on resolving these issues and syncing data efficiently using `DateTStamp` filtering would be greatly appreciated! Thank you.