Aspose.Tasks REST API to Add Multiple Tasks in Microsoft Project

Hi,
Is there a way to create all tasks for one schedule with just one request 1? Or I have to create one by one ?

@delio.tomaz

Yes, you currently need a separate API call to add each task. However, we have logged a ticket TASKSCLOUD-397 for further investigation and implementing your requested feature. We will keep you updated about the issue resolution progress.

Hi Tilal,
Thanks for you answer.
Just one more question.
If I have a project with 500 tasks, so I have to do 500 requests for API, is that correct ?
And about credits, I will be billed 500 credits?

@delio.tomaz

Yes your understanding is correct and each api call will consume one credit.

@delio.tomaz

Please note your above reported feature is implemented in Aspose.Tasks Cloud 20.11. We have introduced a new API method PostTasks to add multiple tasks in Microsoft Project with a single API call. Please check the following API method for more details. We have also included sample Unit Tests for the new API in Aspose.Tasks Cloud SDKs.

POST ​/tasks​/{name}​/tasks​/batch Create multiple tasks by single request.