Update resource demands
put
/primeapi/restapi/resourceDemand/batch
Send a request to this endpoint to update one or more resource demands.
Request
Supported Media Types
- application/json
One or more resource demand objects.
Root Schema : List<ApiEntityResourceDemand>
Type:
array
Title:
Show Source
List<ApiEntityResourceDemand>
Nested Schema : ApiEntityResourceDemand
Type:
Show Source
object
-
allocationPercentage(optional):
object Percent
-
commitDuration(optional):
object Duration
-
commitEndDate(optional):
string(date-time)
The finish date of the allocation commitment.
-
commitFTE(optional):
number
The total committed FTE. Calculated as total commitment units divided by total commitment duration.
-
commitStartDate(optional):
string(date-time)
The start date of the allocation commitment.
-
committedUnits(optional):
object Unit
-
demandFTE(optional):
number
The total demand FTE. Calculated as total demand units divided by total demand duration.
-
demandId(optional):
integer(int64)
The unique identifier of the demand.
-
demandUnits(optional):
object Unit
-
duration(optional):
object Duration
-
endDate(optional):
string(date-time)
The finish date for the demand.
Calculated as Start plus Total Demand. -
link(optional):
string(url)
Read Only:
true
-
periodId(optional):
integer(int64)
The unique identifier for the period.
-
projectId(optional):
integer(int64)
The unique identifier for the project.
-
proposedAllocationUnits(optional):
object Unit
-
proposedDuration(optional):
object Duration
-
proposedEndDate(optional):
string(date-time)
The finish date of the proposed role allocations.
-
proposedFTE(optional):
number
The total proposed allocation FTE. Calculated as total proposed role allocation units divided by the total proposed role allocation duration.
-
proposedStartDate(optional):
string(date-time)
The start date of the proposed role allocations.
-
requesterId(optional):
integer(int64)
The unique identifier of the user who submitted the demand.
-
resourceDemandData(optional):
array resourceDemandData
Unique Items Required:
true
-
resourceId(optional):
integer(int64)
The unique identifier of the assigned role.
-
sequenceNumber(optional):
integer(int64)
Determines the order of appearance of demands in a list.
-
startDate(optional):
string(date-time)
The start date for the demand.
-
status(optional):
string
Allowed Values:
[ "DRAFT", "COMMITTED", "NEW", "REVISED", "REVIEWED" ]
The status of the current demand. -
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.
Nested Schema : Unit
Type:
object
Nested Schema : ApiEntityResourceDemandData
Type:
Show Source
object
-
allocatedUnits(optional):
object Unit
-
commitDate(optional):
string(date-time)
The commitment date for the demand.
-
committedFlag(optional):
boolean
Indicates whether the weekly demand data is committed.
-
committedUnits(optional):
object Unit
-
demandDataId(optional):
integer(int64)
The unique identifier for the weekly demand data.
-
demandUnits(optional):
object Unit
-
duration(optional):
object Duration
-
endDate(optional):
string(date-time)
The finish date for the weekly demand data.
Calculated as Start plus Total Demand. -
link(optional):
string(url)
Read Only:
true
-
resourceDemandId(optional):
integer(int64)
The unique identifier for the demand.
-
startDate(optional):
string(date-time)
The start date for the weekly demand data.
-
startOfMonth(optional):
string(date-time)
The month in which the demand starts.
-
status(optional):
string
Allowed Values:
[ "DRAFT", "COMMITTED", "NEW", "REVISED", "REVIEWED" ]
The status of the current weekly demand data. -
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
200 Response
A collection of object IDs mapped to a canonical link of the object. For example - {"links":{"1":"https://:/primeapi/restapi/
400 Response
Invalid input for the Resource Demand service.