Reputation: 21
There is a task with status of "New" which I'm trying to set the "Planned Hours" for using the Attask Rest API. The Object Relationships document shows that "workRequired" Task variable represents planned hours. The url I use looks like this:
https:///attask/api/task/5339c3d700027c67da8a648bd3a5896e?method=put&workRequired=120
After issuing this put, the task's planned hours does not change from its current value of 0. What more must I do with the url to have the API changed the workRequired?
Upvotes: 0
Views: 101
Reputation: 21
Use workRequiredExpression instead of workRequired. Also, you must have durationType set to A (Calculated Assignment) in order to manipulate Planned Hours.
Upvotes: 2