To move a task from one project to another, you need to specify the ID of an existing project or to create a new project. Either way, the project to which you want to move the task must have the same target locale as the task.
Before you begin
Make sure that you have the appropriate permissions to move tasks or to create projects. Otherwise, WorldServer will return a 403 Forbidden status code.
Procedure
- Log in to the WorldServer API.
A response similar to the following is returned. In the response, identify the value of the
sessionId parameter. You will need this value in all the calls you make.
- Do one of the following:
- If you want to move the task to an existing project, get the ID of that project.
- Create a new project in which to move the task. To create a new project, you need to specify in the request model the IDs of the task that you want to move and a valid workgroup ID.
Note: If you are not sure what workgroup ID to use, you can receive a list of available workgroups by making a
GET call to the
/workgroups endpoint:
- Move the task to the project.
Make sure you know the ID of the project, regardless of whether you want to move the task to an existing project or to a newly created one. Either way, the project to which you want to move the task must have the same target locale as the task.