Setting Effort using effortAllocation

Hey folks!

I'm having some issues setting Effort using the API. Per the "tasks" page in the API Documentation, I'm trying to set a task's Effort using effortAllocation in a POST request, but the tasks will not upload if I include it. My JSON for effortAllocation is as follows:

effortAllocation: {
"mode": "Basic",
"allocatedEffort": 90,
"totalEffort": 90
}

I append that to my URI in JavaScript as follows:

encodeURI(`/api/v4/folders/${folder}/tasks?...&effortAllocation=${JSON.stringify(job.effortAllocation)}`)

Also of note:

  • When I don't include effortAllocation, the tasks push into the desired folder just fine
  • I have tried building my JSON object with just "mode" and "allocatedEffort", "mode" and "totalEffort" and, even just with "mode", but none of them have properly loaded
  • Other JSON objects stringify without breaking the request
  • I'm using a Wrike Enterprise Basic account, if that were to effect anything

Any help with this would be immensely appreciated!

0
1 comentario
Spot On Innovative Approach Stellar Advice
Avatar

Hello Jacob Joslyn, welcome to the Community 👋🏻

Our Support team is in touch with you about your question here via email. Please let me know if I can help with anything else 🙋🏻‍♀️

Cansu Community Team at Wrike Wrike Product Manager Infórmate sobre las funciones y prácticas recomendadas de Wrike

Cansu Wrike Team member Infórmate sobre las funciones y prácticas recomendadas de Wrike

0
Acciones de comentarios Permalink

Folllowing List for Post: Setting Effort using effortAllocation
[this list is visible for admins and agents only]

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