Hi,
i´m trying to set the value of a custom field on my tasks via api. I want to save the planned duration in a custom field. The problem is that the api returns only the duration in seconds. So when i try to put a request like this.
POST https://api.awork.com/api/v1/tasks/1039b67b-f946-4a36-a090-52d31f341545/setcustomfields
[ {
„customFieldDefinitionId“: „dc4832f4-cc60-47e2-8c68-2825cd04aff0“,
„numberValue“:„12000/3600“
}]
I get an error:
„List form“ from the request body as JSON.
Is there a way to calculate the duration in h in my request or do i need to calcualte ist before my request
Thanks for the help.