Generate work steps from the tasks assigned to a work package. The work steps are assigned to the work package.
You can also assign work steps from another system to a work package in Smart Completions
using the WorkPackagesSteps endpoint.
Supported HTTPS Methods: POST
Request URLs:
<HOSTNAME>/sc/datalake/v1/Instances(2)/Projects(313)/WorkPackages(3)/CreateWorkStepsFromTasks
Header parameters:
Header Parameter |
Description |
---|---|
Authorization |
A token required for authenticating a request. The bearer token is a string, usually generated by the server in response to a login request. You must include this header in every request. |
Content-Type |
The request format or the original media type of the resource. |
Sample request payload:
{
"WPId": 1
"SortingRuleId" : 1
}
Request payload parameters:
|
|
Required, Optional, |
|
---|---|---|---|
WPId |
Integer |
Required |
ID of the work package that the work task is being assigned to. Options are chosen from the WorkPackageItem select list. |
SortingRuleId |
Integer |
Optional |
The position of the work step within the list. If omitted, the steps are organized alpha-numerically. |
Response:
Collection of the newly-created work steps.