View Resource Demands by Project ID
get
/primeapi/restapi/resourceDemand/project/{id}
This endpoint returns resource demands that meet the following requirements:
- The object has a project with an ID value that matches the value of the {projectId} path parameter.
Request
Path Parameters
-
id: integer(int64)
The system-generated identifier of a project.
Response
Supported Media Types
- application/json
200 Response
successful operation
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.
204 Response
Successful operation with no content.
404 Response
The requested resource demand does not exist, or you do not have access to it.