My client needs to mark tasks done via the API. Is TaskStatus a supported field for PUT requests to Tasks? I don't see it included in the Tasks API spec.
If this is not supported, does anyone have a query handy that can be used via the Query API to update a task's TaskStatus only?
Thanks so much!
Jarrod Drysdale
Tasks API - PUT with TaskStatus
-
- Posts: 5
- Joined: Tue Feb 27, 2024 9:29 am
- Contact:
Re: Tasks API - PUT with TaskStatus
Good afternoon studiofellow,studiofellow wrote: ↑Tue Feb 27, 2024 9:43 amMy client needs to mark tasks done via the API. Is TaskStatus a supported field for PUT requests to Tasks? I don't see it included in the Tasks API spec.
If this is not supported, does anyone have a query handy that can be used via the Query API to update a task's TaskStatus only?
Thanks so much!
Jarrod Drysdale
You are correct, it is currently not possible to update the status of a task via the API. I have added updating task.TaskStatus to our development list. We will update this thread when your request is complete.
All queries submitted via the API are read only. It is not possible to update task.TaskStatus.
Thanks!
-
- Posts: 5
- Joined: Tue Feb 27, 2024 9:29 am
- Contact:
Re: Tasks API - PUT with TaskStatus
Thank you Justine for your help! I appreciate you adding task.TaskStatus to the development list and clarifying the Query endpoint.
Re: Tasks API - PUT with TaskStatus
Hello studiofellow,studiofellow wrote: ↑Tue Feb 27, 2024 9:43 amMy client needs to mark tasks done via the API. Is TaskStatus a supported field for PUT requests to Tasks? I don't see it included in the Tasks API spec.
If this is not supported, does anyone have a query handy that can be used via the Query API to update a task's TaskStatus only?
Thanks so much!
Jarrod Drysdale
This feature request is complete and is available in version 24.2.10. For more information see our online documentation https://www.opendental.com/site/apitasks.html
-
- Posts: 5
- Joined: Tue Feb 27, 2024 9:29 am
- Contact:
Re: Tasks API - PUT with TaskStatus
This is amazing, thanks so much to the Open Dental team for implementing this so quickly!