EDIT: Disregard. Issue on my end. You can delete this post if you'd like.
See example for Get /treatplans below as well as the corresponding sql query/return. OD version 24.1.44.0
"request": {
"url": "http://[---sanitized---]:30223/api/v1/treatplans?PatNum=1",
"method": "GET",
"body": null,
"headers": {
"Authorization": "---sanitized---"
}
},
"response": {
"data": [],
"headers": {
"content-length": [
"2034"
],
"content-type": [
"application/json"
],
"server": [
"Microsoft-HTTPAPI/2.0"
],
"date": [
"Thu, 11 Jul 2024 20:51:45 GMT"
]
},
"status": 200,
"statusText": "OK"
}
}
DB check:
select * from treatplan where patnum = 1
854 1 01/05/2024 12:00:00 AM Saved Plan 1 If you have dental insurance, please be aware that THIS IS AN ESTIMATE ONLY. Coverage may be different if your deductible has not been met, annual maximum has been met, or if your coverage table is lower than average. 0 0 0 0 6 01/05/2024 12:00:00 AM 01/05/2024 10:06:52 AM 6 0 01/01/0001 12:00:00 AM 01/01/0001 12:00:00 AM 0
921 1 01/01/0001 12:00:00 AM Unassigned If you have dental insurance, please be aware that THIS IS AN ESTIMATE ONLY. Coverage may be different if your deductible has not been met, annual maximum has been met, or if your coverage table is lower than average. 0 0 0 2 6 01/26/2024 12:00:00 AM 01/26/2024 7:42:06 PM 0 0 01/01/0001 12:00:00 AM 01/01/0001 12:00:00 AM 0
918 1 01/01/0001 12:00:00 AM Active Treatment Plan If you have dental insurance, please be aware that THIS IS AN ESTIMATE ONLY. Coverage may be different if your deductible has not been met, annual maximum has been met, or if your coverage table is lower than average. 0 0 0 1 6 01/26/2024 12:00:00 AM 01/26/2024 7:36:12 PM 0 0 01/01/0001 12:00:00 AM 01/01/0001 12:00:00 AM 0
GET /treatplans && GET /treatplanattaches returning empty arrays
-
- Posts: 107
- Joined: Wed Apr 06, 2022 12:04 pm
GET /treatplans && GET /treatplanattaches returning empty arrays
Last edited by rinse-dental on Thu Jul 11, 2024 2:21 pm, edited 1 time in total.
-
- Posts: 107
- Joined: Wed Apr 06, 2022 12:04 pm
Re: GET /treatplans && GET /treatplanattaches returning empty arrays
Disregard. My issue.