Creates Resource Demands.
post
/primeapi/restapi/v16.2/resourceDemand/batch
Request
Supported Media Types
- application/json
Body Parameter
Resource Demands to be created.
Root Schema : /paths/~1v16.2~1resourceDemand~1batch/post/parameters/0/schema
Type:
array
-
Type:
object
ApiEntityResourceDemand
Nested Schema : ApiEntityResourceDemand
Type:
object
- allocationPercentage
-
Type:
object
Percent - commitEndDate
-
Type:
string
(date-time
)??RM_DEMAND,COMMIT_END_DATE?? - commitStartDate
-
Type:
string
(date-time
)??RM_DEMAND,COMMIT_START_DATE?? - demandId
-
Type:
integer
(int64
)??RM_DEMAND,DEMAND_ID?? - demandUnits
-
Type:
object
Unit - duration
-
Type:
object
Duration - endDate
-
Type:
string
(date-time
)??RM_DEMAND,END_DATE?? - periodId
-
Type:
integer
(int64
)??RM_DEMAND,PERIOD_ID?? - projectId
-
Type:
integer
(int64
)??RM_DEMAND,PROJ_ID?? - requesterId
-
Type:
integer
(int64
)??RM_DEMAND,REQUESTER_ID?? - resourceDemandData
-
Type:
array
resourceDemandDataUnique Items Required:true
- resourceId
-
Type:
integer
(int64
)??RM_DEMAND,RESOURCE_ID?? - sequenceNumber
-
Type:
integer
(int64
)??RM_DEMAND,SEQ_NUM?? - startDate
-
Type:
string
(date-time
)??RM_DEMAND,START_DATE?? - status
-
Type:
string
Allowed Values:[ "DRAFT", "COMMITTED", "NEW", "REVISED", "REVIEWED" ]
??RM_DEMAND,STATUS??
Nested Schema : Percent
Type:
object
- bigDecimal
-
Type:
number
- double
-
Type:
number
(double
)
Nested Schema : Unit
Type:
object
Nested Schema : Duration
Type:
object
- bigDecimal
-
Type:
number
- double
-
Type:
number
(double
)
Nested Schema : resourceDemandData
Nested Schema : ApiEntityResourceDemandData
Type:
object
- allocatedUnits
-
Type:
object
Unit - commitDate
-
Type:
string
(date-time
)??RM_DEMAND_DATA,COMMIT_DATE?? - committedFlag
-
Type:
boolean
Default Value:false
??RM_DEMAND_DATA,COMMITTED_FLAG?? - committedUnits
-
Type:
object
Unit - demandDataId
-
Type:
integer
(int64
)??RM_DEMAND_DATA,DEMAND_DATA_ID?? - demandUnits
-
Type:
object
Unit - duration
-
Type:
object
Duration - endDate
-
Type:
string
(date-time
)??RM_DEMAND_DATA,END_DATE?? - resourceDemandId
-
Type:
integer
(int64
)??RM_DEMAND_DATA,DEMAND_ID?? - startDate
-
Type:
string
(date-time
)??RM_DEMAND_DATA,START_DATE?? - startOfMonth
-
Type:
string
(date-time
)??RM_DEMAND_DATA,MONTH_START?? - status
-
Type:
string
Allowed Values:[ "DRAFT", "COMMITTED", "NEW", "REVISED", "REVIEWED" ]
??RM_DEMAND_DATA,STATUS??
Response
Supported Media Types
- application/json
200 Response
successful operation
Body
Root Schema : ApiEntityResourceDemand
Type:
object
- allocationPercentage
-
Type:
object
Percent - commitEndDate
-
Type:
string
(date-time
)??RM_DEMAND,COMMIT_END_DATE?? - commitStartDate
-
Type:
string
(date-time
)??RM_DEMAND,COMMIT_START_DATE?? - demandId
-
Type:
integer
(int64
)??RM_DEMAND,DEMAND_ID?? - demandUnits
-
Type:
object
Unit - duration
-
Type:
object
Duration - endDate
-
Type:
string
(date-time
)??RM_DEMAND,END_DATE?? - periodId
-
Type:
integer
(int64
)??RM_DEMAND,PERIOD_ID?? - projectId
-
Type:
integer
(int64
)??RM_DEMAND,PROJ_ID?? - requesterId
-
Type:
integer
(int64
)??RM_DEMAND,REQUESTER_ID?? - resourceDemandData
-
Type:
array
resourceDemandDataUnique Items Required:true
- resourceId
-
Type:
integer
(int64
)??RM_DEMAND,RESOURCE_ID?? - sequenceNumber
-
Type:
integer
(int64
)??RM_DEMAND,SEQ_NUM?? - startDate
-
Type:
string
(date-time
)??RM_DEMAND,START_DATE?? - status
-
Type:
string
Allowed Values:[ "DRAFT", "COMMITTED", "NEW", "REVISED", "REVIEWED" ]
??RM_DEMAND,STATUS??
Nested Schema : Percent
Type:
object
- bigDecimal
-
Type:
number
- double
-
Type:
number
(double
)
Nested Schema : Unit
Type:
object
Nested Schema : Duration
Type:
object
- bigDecimal
-
Type:
number
- double
-
Type:
number
(double
)
Nested Schema : resourceDemandData
Nested Schema : ApiEntityResourceDemandData
Type:
object
- allocatedUnits
-
Type:
object
Unit - commitDate
-
Type:
string
(date-time
)??RM_DEMAND_DATA,COMMIT_DATE?? - committedFlag
-
Type:
boolean
Default Value:false
??RM_DEMAND_DATA,COMMITTED_FLAG?? - committedUnits
-
Type:
object
Unit - demandDataId
-
Type:
integer
(int64
)??RM_DEMAND_DATA,DEMAND_DATA_ID?? - demandUnits
-
Type:
object
Unit - duration
-
Type:
object
Duration - endDate
-
Type:
string
(date-time
)??RM_DEMAND_DATA,END_DATE?? - resourceDemandId
-
Type:
integer
(int64
)??RM_DEMAND_DATA,DEMAND_ID?? - startDate
-
Type:
string
(date-time
)??RM_DEMAND_DATA,START_DATE?? - startOfMonth
-
Type:
string
(date-time
)??RM_DEMAND_DATA,MONTH_START?? - status
-
Type:
string
Allowed Values:[ "DRAFT", "COMMITTED", "NEW", "REVISED", "REVIEWED" ]
??RM_DEMAND_DATA,STATUS??