Update a planning resource for a project budget version

patch

/fscmRestApi/resources/11.13.18.05/projectBudgets/{PlanVersionId}/child/PlanningResources/{PlanningElementId}

Request

Path Parameters
Header Parameters
  • If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
  • The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
Nested Schema : Planning Amounts
Type: array
Title: Planning Amounts
The Planning Amounts resource is used to view, create, update, and delete periodic amounts for a budget line.
Show Source
Nested Schema : schema
Type: object
Show Source
Nested Schema : Plan Lines Descriptive Flexfields
Type: array
Title: Plan Lines Descriptive Flexfields
The Plan Lines Descriptive Flexfields resource is used to capture, view, and update additional information for planning amounts in project budgets.
Show Source
Nested Schema : Planning Amount Details
Type: array
Title: Planning Amount Details
The Planning Amount Details resource is used to view, create, and update periodic amounts for a budget line.
Show Source
Nested Schema : schema
Type: object
Show Source
Nested Schema : schema
Type: object
Show Source
Back to Top

Response

Supported Media Types

Default Response

The following table describes the default response for this task.
Headers
  • If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
  • The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
Body ()
Root Schema : projectBudgets-PlanningResources-item-response
Type: object
Show Source
Nested Schema : Planning Amounts
Type: array
Title: Planning Amounts
The Planning Amounts resource is used to view, create, update, and delete periodic amounts for a budget line.
Show Source
Nested Schema : projectBudgets-PlanningResources-PlanningAmounts-item-response
Type: object
Show Source
Nested Schema : Plan Lines Descriptive Flexfields
Type: array
Title: Plan Lines Descriptive Flexfields
The Plan Lines Descriptive Flexfields resource is used to capture, view, and update additional information for planning amounts in project budgets.
Show Source
Nested Schema : Planning Amount Details
Type: array
Title: Planning Amount Details
The Planning Amount Details resource is used to view, create, and update periodic amounts for a budget line.
Show Source
Nested Schema : projectBudgets-PlanningResources-PlanningAmounts-PlanLinesDFF-item-response
Type: object
Show Source
Nested Schema : projectBudgets-PlanningResources-PlanningAmounts-PlanningAmountDetails-item-response
Type: object
Show Source
Back to Top

Examples

The following example shows how to update a planning resource for a project budget version using a batch operation.

curl --user ppm_cloud_user -X POST -H "Content-Type: application/vnd.oracle.adf.batch+json" -d @example_request_payload.json "https://your_organization.com:port/fscmRestApi/resources/11.13.18.05" -H 'cache-control: no-cache'

Request Body Example

The following shows an example of the request body in JSON format.

{
   "parts":[
      {
         "id":"part1",
         "path":"/projectBudgets/10189/child/PlanningResources/450376",
         "operation":"update",
         "payload":{
           "PlanningEndDate": "2019-08-01T00:00:00+00:00"
           
         }
      },
            {
         "id":"part2",
         "path":"/projectBudgets/10189/child/PlanningResources/450213",
         "operation":"update",
         "payload":{
           "PlanningEndDate": "2020-08-01T00:00:00+00:00"
           
         }
      }
   ]
}

Response Body Example

The following shows an example of the response body in JSON format.

{
"parts": [
  {
"id": "part1",
"path": "https://your_organization.com:port/fscmRestApi/resources/11.13.18.05/projectBudgets/10189/child/PlanningResources/450376",
"operation": "update",
"payload": {
"PlanningElementId": 450376,
"TaskId": 100000041159879,
"TaskNumber": "1",
"TaskName": "Pre-Implementation Preparation",
"RbsElementId": 100000041113231,
"ResourceName": "Per Diem",
"UnitOfMeasure": "DOLLARS",
"PlanningStartDate": "2008-01-01T00:00:00+00:00",
"PlanningEndDate": "2019-08-01T00:00:00+00:00",
"links": [
  {
"rel": "self",
"href": "https://your_organization.com:port/fscmRestApi/resources/11.13.18.05/projectBudgets/10189/child/PlanningResources/450376",
"name": "PlanningResources",
"kind": "item",
"properties": {
"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000278"
}
},
  {
"rel": "canonical",
"href": "https://your_organization.com:port/fscmRestApi/resources/11.13.18.05/projectBudgets/10189/child/PlanningResources/450376",
"name": "PlanningResources",
"kind": "item"
},
  {
"rel": "parent",
"href": "https://your_organization.com:port/fscmRestApi/resources/11.13.18.05/projectBudgets/10189",
"name": "projectBudgets",
"kind": "item"
},
  {
"rel": "lov",
"href": "https://your_organization.com:port/fscmRestApi/resources/11.13.18.05/projectBudgets/10189/child/PlanningResources/450376/lov/PrimaryPlanningRBSLOVVO",
"name": "PrimaryPlanningRBSLOVVO",
"kind": "collection"
},
  {
"rel": "lov",
"href": "https://your_organization.com:port/fscmRestApi/resources/11.13.18.05/projectBudgets/10189/child/PlanningResources/450376/lov/FinancialTaskVersionLOVVO",
"name": "FinancialTaskVersionLOVVO",
"kind": "collection"
},
  {
"rel": "child",
"href": "https://your_organization.com:port/fscmRestApi/resources/11.13.18.05/projectBudgets/10189/child/PlanningResources/450376/child/PlanningAmounts",
"name": "PlanningAmounts",
"kind": "collection"
}
],
}
},
  {
"id": "part2",
"path": "https://your_organization.com:port/fscmRestApi/resources/11.13.18.05/projectBudgets/10189/child/PlanningResources/450213",
"operation": "update",
"payload": {
"PlanningElementId": 450213,
"TaskId": 100000041159879,
"TaskNumber": "1",
"TaskName": "Pre-Implementation Preparation",
"RbsElementId": 100000042522489,
"ResourceName": "Labor-Patel, Ravi",
"UnitOfMeasure": "HOURS",
"PlanningStartDate": "2008-01-01T00:00:00+00:00",
"PlanningEndDate": "2020-08-01T00:00:00+00:00",
"links": [
  {
"rel": "self",
"href": "https://your_organization.com:port/fscmRestApi/resources/11.13.18.05/projectBudgets/10189/child/PlanningResources/450213",
"name": "PlanningResources",
"kind": "item",
"properties": {
"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000278"
}
},
  {
"rel": "canonical",
"href": "https://your_organization.com:port/fscmRestApi/resources/11.13.18.05/projectBudgets/10189/child/PlanningResources/450213",
"name": "PlanningResources",
"kind": "item"
},
  {
"rel": "parent",
"href": "https://your_organization.com:port/fscmRestApi/resources/11.13.18.05/projectBudgets/10189",
"name": "projectBudgets",
"kind": "item"
},
  {
"rel": "lov",
"href": "https://your_organization.com:port/fscmRestApi/resources/11.13.18.05/projectBudgets/10189/child/PlanningResources/450213/lov/PrimaryPlanningRBSLOVVO",
"name": "PrimaryPlanningRBSLOVVO",
"kind": "collection"
},
  {
"rel": "lov",
"href": "https://your_organization.com:port/fscmRestApi/resources/11.13.18.05/projectBudgets/10189/child/PlanningResources/450213/lov/FinancialTaskVersionLOVVO",
"name": "FinancialTaskVersionLOVVO",
"kind": "collection"
},
  {
"rel": "child",
"href": "https://your_organization.com:port/fscmRestApi/resources/11.13.18.05/projectBudgets/10189/child/PlanningResources/450213/child/PlanningAmounts",
"name": "PlanningAmounts",
"kind": "collection"
}
],
}
}
],
}
Back to Top