Set a Current Baseline
put
/primeapi/restapi/action/setCurrentBaseline
Send a request to this endpoint to set the current baseline of a snapshot. Baselines are static representations of project plans against which project performance may be benchmarked or measured.
Request
Supported Media Types
- application/json
A segment object.
Root Schema : ApiEntityProjectSnapshot
Type:
Show Source
object
-
description(optional):
string
A detailed summary for the baseline or snapshot.
-
link(optional):
string(url)
Read Only:
true
-
name:
string
Name for the baseline or snapshot.
-
projectId:
integer(int64)
The unique identifier for the project.
-
snapshotCode(optional):
string
Read Only:
true
Code for the baseline or snapshot. -
snapshotId(optional):
integer(int64)
The unique identifier for a baseline or snapshot.
-
time(optional):
object TimezoneSensitiveDateTime
-
type(optional):
string
Read Only:
true
Allowed Values:[ "CAPITAL_PLAN", "PROJECT" ]
Identifies the type of the baseline. Valid values are Original, Current, or Blank. Original baselines mark the starting point for recurring change requests for modifications to Scope Items, Work Packages, and Scope Assignments. Current baselines indicate the latest set baseline when a related original baseline exists. Blank baselines indicate the baseline is a snapshot. -
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.
Response
Supported Media Types
- application/json
204 Response
Successful operation with no content.
400 Response
Invalid input for the Action service.