How to add/update timephased remaining work using a flow in Power Automate?

%3CLINGO-SUB%20id%3D%22%5C%26quot%3Blingo-sub-3163353%5C%26quot%3B%22%20slang%3D%22%5C%26quot%3Ben-US%5C%26quot%3B%22%3EHow%20to%20add%2Fupdate%20timephased%20work%20using%20a%20flow%20in%20Power%20Automate%3F%26lt%3B%5C%2Flingo-sub%26gt%3B%3CLINGO-BODY%20id%3D%22%5C%26quot%3Blingo-body-3163353%5C%26quot%3B%22%20slang%3D%22%5C%26quot%3Ben-US%5C%26quot%3B%22%3E%3CP%3EI'm%20trying%20to%20work%20out%20how%20to%20add%20or%20update%20timephased%20work%20to%20an%20existing%20assignment%20using%20a%20flow%20in%20Power%20Automate.%26lt%3B%5C%2FP%26gt%3B%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EAs%20far%20as%20I%20can%20see%20I%20need%20to%20do%20something%20like%20the%20following%3A%26lt%3B%5C%2FP%26gt%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%26lt%3B%5C%2FP%26gt%3B%3C%2FP%3E%3CP%20data-unlink%3D%22%5C%26quot%3Btrue%5C%26quot%3B%22%3Ehttps%3A%2F%2FURL.sharepoint.com%2Fsites%2FURL%2F_api%2Fprojectserver%2FEnterpriseResources('%3CID%3E')%2FAssignments%2FGetTimePhaseByUrl(start%3D'2022-01-04'%2Cend%3D'2022-01-10')%26nbsp%3B%26nbsp%3B%26lt%3B%5C%2FP%26gt%3B%3C%2FID%3E%3C%2FP%3E%3CP%20data-unlink%3D%22%5C%26quot%3Btrue%5C%26quot%3B%22%3E(i.e.%20update%20timephase%20work%20for%20between%2001-04%20and%2001-04)%26lt%3B%5C%2FP%26gt%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%26lt%3B%5C%2FP%26gt%3B%3C%2FP%3E%3CP%3EBut%20from%20there%20I%20can't%20work%20out%20how%20to%20actually%20make%20a%20timephased%20work%20update%3F%26lt%3B%5C%2FP%26gt%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%26lt%3B%5C%2FP%26gt%3B%3C%2FP%3E%3CP%3EMany%20thanks%26lt%3B%5C%2FP%26gt%3B%26lt%3B%5C%2Flingo-body%26gt%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3C%2FLINGO-SUB%3E
New Contributor

I'm trying to work out how to add or update timephased remaining work to an existing assignment using a flow in Power Automate, for example between Jan 1st and Jan 10th..


As far as I can see I need to do something like either of the following:

 

https://URL.sharepoint.com/sites/URL/_api/projectserver/EnterpriseResources('<Id>')/Assignments/GetTimePhaseByUrl(start='2022-01-04',end='2022-01-10')  

 

https://URL.sharepoint.com/sites/URL/_api/projectserver/EnterpriseResources('<Id>')/Assignments/GetTimePhaseByUrl(start='2022-01-04',end='2022-01-10')/Assignments('<Id>')

 

But from there I can't work out how to actually make a timephased remaining work update?

 

Many thanks

0 Replies