How setting Effort on my task with API

Hi,

 

I want to update effortAllocation in a task.

I have my task, i can update the title with this code :

$fields = array ( "title" => "xxx");

But when i try to to update effortAllocation i have a message : Parameter is not allowed.

$fields = array( "effortAllocation" => array(
                    "mode" => "Basic",
                    "allocatedEffort" => 12
                    )
                );

 

What is the method to do this ?

 

Thanks you in advance.

Cyril.

0
👍 Spot On 💡 Innovative Approach 💪 Stellar Advice ✅ Solved 🪄 Remove Kudos
1 comment
Avatar
Hugh

Hey Cyril VERDY!

You should be able to find the code through our API documentation. If you can't find the code in this, let me know and I'll raise a Support ticket for you 😊

0
👍 Spot On 💡 Innovative Approach 💪 Stellar Advice ✅ Solved 🪄 Remove Kudos

Folllowing List for Post: How setting Effort on my task with API
[this list is visible for admins and agents only]

Top

Upcoming Live Sessions

Didn’t find what you were looking for? Write new post