Apply Activity Uncertainty
post
/primeapi/restapi/action/applyActivityUncertainity/run
Send a request to this endpoint to apply activity uncertainty for a project. This endpoint returns a job ID. Send a request to the View Job Status endpoint to view the status of the activity uncertainty job.
Request
Supported Media Types
- application/json
An object specifying activity uncertainty run settings.
Root Schema : ApiEntityApplyActivityUncertainity
Type:
Show Source
object
-
distributionShape:
string
Allowed Values:
[ "NONE", "TRIANGLE", "UNIFORM" ]
The probability distribution that best models the three-point estimate durations. The valid values are Triangular and Uniform. -
maxDuration:
object Percent
-
minDuration:
object Percent
-
mostLikelyDuration:
object Percent
-
overwriteExisting:
boolean
If true, activity uncertainty fields will be overwritten.
-
projectId:
integer(int64)
The ID of the project that the activity is in.
Response
Supported Media Types
- application/json
201 Response
The object was successfully created.
Root Schema : ApiEntityScheduleJob
Type:
Show Source
object
-
jobId(optional):
integer(int64)
The unique identifier for the background service.
-
jobKey(optional):
integer(int64)
A unique identifier of a job.
-
jobStatus(optional):
string
Allowed Values:
[ "NEW", "QUEUED", "RUNNING", "DELEGATED", "ON_HOLD", "REJECTED", "COMPLETED", "COMPLETED_WITH_ERRORS", "FAILED", "NOOP", "COMPLETED_WITH_WARNINGS" ]
The status of the background service. -
link(optional):
string(url)
Read Only:
true
-
updateDate(optional):
string(date-time)
Read Only:
true
Date when the record was last updated. Used for viewing and filtering records, obtained ONLY from GET calls, modified on and after a particular date. Not a part of POST response.
400 Response
Invalid input for the Action service.