Forum

Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.

I can't add work ti...
 
Notifications
Clear all

I can't add work time to a ticket using the Work Table API.

2 Posts
2 Users
0 Reactions
895 Views
(@zeinebb)
Posts: 6
Active Member
Topic starter
 
[#9447]

While consuming APIs from Projeqtor, I'm attempting to add work time to existing tickets in the Projeqtor platform. When I click the button to dispatch the dialog containing date, resource, and work fields, I try to add this information using the API through the work table (../projeqtor/api/Work). However, the problem arises when I add these details; they don't show up in the dispatch, including the new work hours and date, and even the `realWork` doesn't update accordingly for sure . On the other hand, when I update an existing work entry in the dispatch using the API (specifically, the PUT method for the work table that I already created in the Projeqtor platform), it does get updated.


 
Posted : 07 May 2024 13H17
(@babynus)
Posts: 14952
Member Admin
 

You probably missed to enter so values.
I think about idWorkElement, that is the item that stores work on ticket.

To be sure : create new ticket, enter 1 simple work entry on the ticket and look how it is stored in the database.
Then remove the work from the ticket and try to push data from API (as seen on the table)


 
Posted : 16 May 2024 19H01
Share:

Scroll to Top