Create a resource in a planning resource breakdown structure
/fscmRestApi/resources/11.13.18.05/projectPlanningRbs/{projectPlanningRbsUniqID}/child/Elements
Request
-
projectPlanningRbsUniqID(required): string
This is the hash key of the attributes which make up the composite key for the Planning Resource Breakdown Structures for Projects resource and used to uniquely identify an instance of Planning Resource Breakdown Structures for Projects. The client should not generate the hash key value. Instead, the client should query on the Planning Resource Breakdown Structures for Projects collection resource in order to navigate to a specific instance of Planning Resource Breakdown Structures for Projects to get the hash key.
-
Effective-Of: string
This header accepts a string value. The string is a semi-colon separated list of
= . It is used to perform effective date range operations. The accepted parameters are RangeMode, RangeSpan, RangeStartDate, RangeEndDate, RangeStartSequence and RangeEndSequence. The parameter values are always strings. The possible values for RangeMode are SET_LOGICAL_START, SET_LOGICAL_END, END_DATE, SET_EFFECTIVE_START, SET_EFFECTIVE_END, REPLACE_CORRECTION, REPLACE_UPDATE, RECONCILE_CORRECTION, CORRECTION, RECONCILE_UPDATE, UPDATE, ZAP and DELETE_CHANGES. The possible values for RangeSpan are PHYSICAL_ROW_END_DATE and LOGICAL_ROW_END_DATE. The values for RangeStartDate and RangeEndDate have to be a string representation of a date in yyyy-MM-dd format. The value for RangeStartSequence and RangeEndSequence must be strings such that when parsed they yield positive integers. -
Metadata-Context: string
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".
-
REST-Framework-Version: string
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.
-
Upsert-Mode: string
Contains one of the following values: true or false. If true, the server performs an Upsert operation instead of a Create operation. During an Upsert operation, the server attempts to find an existing resource that matches the payload. If a match is found, the server updates the existing resource instead of creating a new one. If not found or false (default), the server performs a Create operation. Note that the Upsert operation isn't supported for date-effective REST resources.
- application/json
object-
DisabledFlag: boolean
Title:
DisabledMaximum Length:1Indicates if the resource is disabled for use in planning. -
EventTypeId: integer
(int64)
Title:
Event Type IDUnique identifier of the event type. If the format has Event Type, then you must enter a value for either this attribute or Event Type but not both while creating a resource element. -
EventTypeName: string
Title:
Event TypeMaximum Length:240Name of the event type. If the format has Event Type, then you must enter a value for either this attribute or Event Type ID but not both while creating a resource element. -
ExpenditureCategoryId: integer
(int64)
Title:
Expenditure Category IDUnique identifier of the expenditure category. If the format has Expenditure Category, then you must enter a value for either this attribute or Expenditure Category but not both while creating a resource element. -
ExpenditureCategoryName: string
Title:
Expenditure CategoryMaximum Length:240Name of the expenditure category. If the format has Expenditure Category, then you must enter a value for either this attribute or Expenditure Category ID but not both while creating a resource element. -
ExpenditureTypeId: integer
(int64)
Title:
Expenditure Type IDUnique identifier of the expenditure type. If the format has Expenditure Type, then you must enter a value for either this attribute or Expenditure Type but not both while creating a resource element. -
ExpenditureTypeName: string
Title:
Expenditure TypeMaximum Length:240Name of the expenditure type. If the format has Expenditure Type, then you must enter a value for either this attribute or Expenditure Type ID but not both while creating a resource element. -
FormatId: integer
(int64)
Title:
Format IDUnique identifier of the resource format. You must enter a value for either this attribute or Format but not both while creating a resource element. -
FormatName: string
Title:
FormatMaximum Length:240Name of the resource format. You must enter a value for either this attribute or Format ID but not both while creating a resource element. -
InventoryItemId: integer
(int64)
Title:
Inventory Item IDUnique identifier of the inventory item. If the format has Inventory Item, then you must enter a value for either this attribute or Inventory Item Number but not both while creating a resource element. -
InventoryItemNumber: string
Title:
Inventory Item NumberMaximum Length:300Number assigned to the inventory item. If the format has Inventory Item, then you must enter a value for either this attribute or Inventory Item ID but not both while creating a resource element. -
ItemCategoryCode: string
Title:
Item Category CodeMaximum Length:820Code of the item category. If the format has Item Category, then you must enter a value for only one from among this attribute, Item Category ID, and Item Category but not all three or a combination of them while creating a resource element. -
ItemCategoryId: integer
(int64)
Title:
Item Category IDUnique identifier of the item category. If the format has Item Category, then you must enter a value for only one from among this attribute, Item Category Code, and Item Category but not all three or a combination of them while creating a resource element. -
ItemCategoryName: string
Title:
Item CategoryMaximum Length:2400Name of the item category. If the format has Item Category, then you must enter a value for only one from among this attribute, Item Category ID, and Item Category Code but not all three or a combination of them while creating a resource element. -
JobCode: string
Title:
Job CodeMaximum Length:30Code of the job. If the format has Job, then you must enter a value for only one from among this attribute, Job ID, and Job but not all three or a combination of them while creating a resource element. -
JobId: integer
(int64)
Title:
Job IDUnique identifier of the job. If the format has Job, then you must enter a value for only one from among this attribute, Job Code, and Job but not all three or a combination of them while creating a resource element. -
JobName: string
Title:
JobMaximum Length:240Name of the job. If the format has Job, then you must enter a value for only one from among this attribute, Job ID, and Job Code but not all three or a combination of them while creating a resource element. -
NonlaborResourceId: integer
(int64)
Title:
Nonlabor Resource IDUnique identifier of the nonlabor resource. If the format has Project Nonlabor Resource, then you must enter a value for either this attribute or Nonlabor Resource but not both while creating a resource element. -
NonlaborResourceName: string
Title:
Nonlabor ResourceMaximum Length:240Name of the nonlabor resource. If the format has Project Nonlabor Resource, then you must enter a value for either this attribute or Nonlabor Resource ID but not both while creating a resource element. -
OrganizationId: integer
(int64)
Title:
Organization IDUnique identifier of the organization. If the format has Organization, then you must enter a value for either this attribute or Organization but not both while creating a resource element. -
OrganizationName: string
Title:
OrganizationMaximum Length:240Name of the organization. If the format has Organization, then you must enter a value for either this attribute or Organization ID but not both while creating a resource element. -
PersonEmail: string
Title:
Person EmailMaximum Length:240Email of the person. If the format has Named Person, then you must enter a value for only one from among this attribute, Person ID, and Person but not all three or a combination of them while creating a resource element. -
PersonId: integer
(int64)
Title:
Person IDUnique identifier of the person. If the format has Named Person, then you must enter a value for only one from among this attribute, Person Email, and Person but not all three or a combination of them while creating a resource element. -
PersonName: string
Title:
PersonMaximum Length:4000Name of the person. If the format has Named Person, then you must enter a value for only one from among this attribute, Person ID, and Person Email but not all three or a combination of them while creating a resource element. -
PersonType: string
Title:
Person TypeMaximum Length:80Type of the person. If the format has System Person Type, then you must enter a value for either this attribute or Person Type Code but not both while creating a resource element. -
PersonTypeCode: string
Title:
Person Type CodeMaximum Length:255Code of the person type. If the format has System Person Type, then you must enter a value for either this attribute or Person Type but not both while creating a resource element. -
ProjectRoleId: integer
(int64)
Title:
Project Role IDUnique identifier of the project role. If the format has Project Role, then you must pass a value for Project Role ID or Project Role Name but not both values while creating a resource element. -
ProjectRoleName: string
Title:
Project RoleMaximum Length:240Name of the project role. If the format has Project Role, then you must pass a value for Project Role ID or Project Role Name but not both values while creating a resource element. -
ResourceClassId: integer
(int64)
Title:
Resource Class IDUnique identifier of the resource class. You must enter a value for either this attribute or Resource Class but not both while creating a resource element. -
ResourceClassName: string
Title:
Resource ClassMaximum Length:240Name of the resource class. You must enter a value for either this attribute or Resource Class ID but not both while creating a resource element. -
ResourceName: string
Title:
ResourceMaximum Length:240User defined short name for the resource breakdown structure element. -
RevenueCategoryCode: string
Title:
Revenue Category CodeMaximum Length:255Code of the revenue category. If the format has Revenue Category, then you must enter a value for either this attribute or Revenue Category but not both while creating a resource element. -
RevenueCategoryName: string
Title:
Revenue CategoryMaximum Length:80Name of the revenue category. If the format has Revenue Category, then you must enter a value for either this attribute or Revenue Category ID but not both while creating a resource element. -
SpreadCurveId: integer
(int64)
Title:
Spread Curve IDUnique identifier of the spread curve. If you want to specify the spread curve, then you must enter a value for either this attribute or Spread Curve but not both while creating a resource element. -
SpreadCurveName: string
Title:
Spread CurveMaximum Length:240Name of the spread curve. If you want to specify the spread curve, then you must enter a value for either this attribute or Spread Curve ID but not both while creating a resource element. -
SupplierId: integer
(int64)
Title:
Supplier IDUnique identifier of the supplier. If the format has Supplier, then you must enter a value for only one from among this attribute, Supplier Number, and Supplier but not all three or a combination of them while creating a resource element. -
SupplierName: string
Title:
SupplierMaximum Length:360Name of the supplier. If the format has Supplier, then you must enter a value for only one from among this attribute, Supplier ID, and Supplier Number but not all three or a combination of them while creating a resource element. -
SupplierNumber: string
Title:
Supplier NumberMaximum Length:30Number assigned to the supplier. If the format has Supplier, then you must enter a value for only one from among this attribute, Supplier ID, and Supplier but not all three or a combination of them while creating a resource element.
Response
- application/json
Default Response
-
Metadata-Context:
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".
-
REST-Framework-Version:
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.
object-
CreatedBy: string
Title:
Created ByRead Only:trueMaximum Length:64The user who created the record. -
CreationDate: string
(date-time)
Title:
Creation DateRead Only:trueThe date when the record was created. -
DisabledFlag: boolean
Title:
DisabledMaximum Length:1Indicates if the resource is disabled for use in planning. -
EventTypeId: integer
(int64)
Title:
Event Type IDUnique identifier of the event type. If the format has Event Type, then you must enter a value for either this attribute or Event Type but not both while creating a resource element. -
EventTypeName: string
Title:
Event TypeMaximum Length:240Name of the event type. If the format has Event Type, then you must enter a value for either this attribute or Event Type ID but not both while creating a resource element. -
ExpenditureCategoryId: integer
(int64)
Title:
Expenditure Category IDUnique identifier of the expenditure category. If the format has Expenditure Category, then you must enter a value for either this attribute or Expenditure Category but not both while creating a resource element. -
ExpenditureCategoryName: string
Title:
Expenditure CategoryMaximum Length:240Name of the expenditure category. If the format has Expenditure Category, then you must enter a value for either this attribute or Expenditure Category ID but not both while creating a resource element. -
ExpenditureTypeId: integer
(int64)
Title:
Expenditure Type IDUnique identifier of the expenditure type. If the format has Expenditure Type, then you must enter a value for either this attribute or Expenditure Type but not both while creating a resource element. -
ExpenditureTypeName: string
Title:
Expenditure TypeMaximum Length:240Name of the expenditure type. If the format has Expenditure Type, then you must enter a value for either this attribute or Expenditure Type ID but not both while creating a resource element. -
FormatId: integer
(int64)
Title:
Format IDUnique identifier of the resource format. You must enter a value for either this attribute or Format but not both while creating a resource element. -
FormatName: string
Title:
FormatMaximum Length:240Name of the resource format. You must enter a value for either this attribute or Format ID but not both while creating a resource element. -
InventoryItemId: integer
(int64)
Title:
Inventory Item IDUnique identifier of the inventory item. If the format has Inventory Item, then you must enter a value for either this attribute or Inventory Item Number but not both while creating a resource element. -
InventoryItemNumber: string
Title:
Inventory Item NumberMaximum Length:300Number assigned to the inventory item. If the format has Inventory Item, then you must enter a value for either this attribute or Inventory Item ID but not both while creating a resource element. -
ItemCategoryCode: string
Title:
Item Category CodeMaximum Length:820Code of the item category. If the format has Item Category, then you must enter a value for only one from among this attribute, Item Category ID, and Item Category but not all three or a combination of them while creating a resource element. -
ItemCategoryId: integer
(int64)
Title:
Item Category IDUnique identifier of the item category. If the format has Item Category, then you must enter a value for only one from among this attribute, Item Category Code, and Item Category but not all three or a combination of them while creating a resource element. -
ItemCategoryName: string
Title:
Item CategoryMaximum Length:2400Name of the item category. If the format has Item Category, then you must enter a value for only one from among this attribute, Item Category ID, and Item Category Code but not all three or a combination of them while creating a resource element. -
JobCode: string
Title:
Job CodeMaximum Length:30Code of the job. If the format has Job, then you must enter a value for only one from among this attribute, Job ID, and Job but not all three or a combination of them while creating a resource element. -
JobId: integer
(int64)
Title:
Job IDUnique identifier of the job. If the format has Job, then you must enter a value for only one from among this attribute, Job Code, and Job but not all three or a combination of them while creating a resource element. -
JobName: string
Title:
JobMaximum Length:240Name of the job. If the format has Job, then you must enter a value for only one from among this attribute, Job ID, and Job Code but not all three or a combination of them while creating a resource element. -
LastUpdateDate: string
(date-time)
Title:
Last Updated DateRead Only:trueThe date when the record was last updated. -
LastUpdatedBy: string
Title:
Last Updated ByRead Only:trueMaximum Length:64The user who last updated the record. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
NonlaborResourceId: integer
(int64)
Title:
Nonlabor Resource IDUnique identifier of the nonlabor resource. If the format has Project Nonlabor Resource, then you must enter a value for either this attribute or Nonlabor Resource but not both while creating a resource element. -
NonlaborResourceName: string
Title:
Nonlabor ResourceMaximum Length:240Name of the nonlabor resource. If the format has Project Nonlabor Resource, then you must enter a value for either this attribute or Nonlabor Resource ID but not both while creating a resource element. -
OrganizationId: integer
(int64)
Title:
Organization IDUnique identifier of the organization. If the format has Organization, then you must enter a value for either this attribute or Organization but not both while creating a resource element. -
OrganizationName: string
Title:
OrganizationMaximum Length:240Name of the organization. If the format has Organization, then you must enter a value for either this attribute or Organization ID but not both while creating a resource element. -
PersonEmail: string
Title:
Person EmailMaximum Length:240Email of the person. If the format has Named Person, then you must enter a value for only one from among this attribute, Person ID, and Person but not all three or a combination of them while creating a resource element. -
PersonId: integer
(int64)
Title:
Person IDUnique identifier of the person. If the format has Named Person, then you must enter a value for only one from among this attribute, Person Email, and Person but not all three or a combination of them while creating a resource element. -
PersonName: string
Title:
PersonMaximum Length:4000Name of the person. If the format has Named Person, then you must enter a value for only one from among this attribute, Person ID, and Person Email but not all three or a combination of them while creating a resource element. -
PersonType: string
Title:
Person TypeMaximum Length:80Type of the person. If the format has System Person Type, then you must enter a value for either this attribute or Person Type Code but not both while creating a resource element. -
PersonTypeCode: string
Title:
Person Type CodeMaximum Length:255Code of the person type. If the format has System Person Type, then you must enter a value for either this attribute or Person Type but not both while creating a resource element. -
ProjectRoleId: integer
(int64)
Title:
Project Role IDUnique identifier of the project role. If the format has Project Role, then you must pass a value for Project Role ID or Project Role Name but not both values while creating a resource element. -
ProjectRoleName: string
Title:
Project RoleMaximum Length:240Name of the project role. If the format has Project Role, then you must pass a value for Project Role ID or Project Role Name but not both values while creating a resource element. -
ResourceClassId: integer
(int64)
Title:
Resource Class IDUnique identifier of the resource class. You must enter a value for either this attribute or Resource Class but not both while creating a resource element. -
ResourceClassName: string
Title:
Resource ClassMaximum Length:240Name of the resource class. You must enter a value for either this attribute or Resource Class ID but not both while creating a resource element. -
ResourceElementId: integer
(int64)
Title:
Resource Element IDRead Only:trueUnique identifier of the resource breakdown structure element. -
ResourceName: string
Title:
ResourceMaximum Length:240User defined short name for the resource breakdown structure element. -
RevenueCategoryCode: string
Title:
Revenue Category CodeMaximum Length:255Code of the revenue category. If the format has Revenue Category, then you must enter a value for either this attribute or Revenue Category but not both while creating a resource element. -
RevenueCategoryName: string
Title:
Revenue CategoryMaximum Length:80Name of the revenue category. If the format has Revenue Category, then you must enter a value for either this attribute or Revenue Category ID but not both while creating a resource element. -
SpreadCurveId: integer
(int64)
Title:
Spread Curve IDUnique identifier of the spread curve. If you want to specify the spread curve, then you must enter a value for either this attribute or Spread Curve but not both while creating a resource element. -
SpreadCurveName: string
Title:
Spread CurveMaximum Length:240Name of the spread curve. If you want to specify the spread curve, then you must enter a value for either this attribute or Spread Curve ID but not both while creating a resource element. -
SupplierId: integer
(int64)
Title:
Supplier IDUnique identifier of the supplier. If the format has Supplier, then you must enter a value for only one from among this attribute, Supplier Number, and Supplier but not all three or a combination of them while creating a resource element. -
SupplierName: string
Title:
SupplierMaximum Length:360Name of the supplier. If the format has Supplier, then you must enter a value for only one from among this attribute, Supplier ID, and Supplier Number but not all three or a combination of them while creating a resource element. -
SupplierNumber: string
Title:
Supplier NumberMaximum Length:30Number assigned to the supplier. If the format has Supplier, then you must enter a value for only one from among this attribute, Supplier ID, and Supplier but not all three or a combination of them while creating a resource element. -
UnitOfMeasure: string
Title:
Unit of MeasureRead Only:trueMaximum Length:80Name of the default unit of measure of costing or planning transactions. -
UnitOfMeasureCode: string
Title:
Unit of Measure CodeRead Only:trueMaximum Length:30Code of the default unit of measure of costing or planning transactions.
arrayLinksobject-
href: string
Title:
hyperlink referenceThe URI to the related resource. -
kind: string
Title:
kindAllowed Values:[ "collection", "item", "describe", "other" ]The kind of the related resource. -
name: string
Title:
nameThe name of the link to the related resource. -
properties: object
properties
-
rel: string
Title:
relationAllowed Values:[ "self", "lov", "parent", "canonical", "child", "enclosure", "action", "custom" ]The name of the relation to the resource instance. Example: self.
object-
changeIndicator: string
Change indicator or the ETag value of the resource instance.
Examples
The following example shows how to create a resource in a planning resource breakdown structure by submitting a POST request on the REST resource using cURL.
curl --user ppm_cloud_user -X POST -d @example_request_payload.json --header "Content-Type: application/json" https://your_organization.com:port/fscmRestApi/resources/11.13.18.05/projectPlanningRbs/300100149222696/child/Elements
Request Body Example
The following shows an example of the request body in JSON format.
{
"ResourceClassName" : "Labor",
"FormatName": "Named Person",
"PersonEmail": "Elbert.Hampton@oracle.com"
}Response Body Example
The following shows an example of the response body in JSON format.
{
"DisabledFlag": false,
"EventTypeId": null,
"EventTypeName": null,
"ExpenditureCategoryId": null,
"ExpenditureCategoryName": null,
"ExpenditureTypeId": null,
"ExpenditureTypeName": null,
"FormatId": 195,
"FormatName": "Named Person",
"InventoryItemId": null,
"InventoryItemNumber": null,
"ItemCategoryCode": null,
"ItemCategoryId": null,
"ItemCategoryName": null,
"JobCode": null,
"JobId": null,
"JobName": null,
"NonlaborResourceId": null,
"NonlaborResourceName": null,
"OrganizationId": null,
"OrganizationName": null,
"PersonEmail": "Elbert.Hampton@oracle.com",
"PersonId": 300100008980523,
"PersonName": "ZHRR-Hampton, Elbert",
"PersonType": null,
"PersonTypeCode": null,
"ResourceClassId": 1,
"ResourceClassName": "Labor",
"ResourceElementId": 300100149380687,
"ResourceName": "ZHRR-Hampton, Elbert",
"RevenueCategoryCode": null,
"RevenueCategoryName": null,
"SpreadCurveId": 1,
"SpreadCurveName": "Prorated Even",
"SupplierId": null,
"SupplierName": null,
"SupplierNumber": null,
"UnitOfMeasure": "Hours",
"UnitOfMeasureCode": "HOURS",
"CreatedBy": "ABRAHAM.MASON",
"CreationDate": "2018-11-12T17:32:56+05:30",
"LastUpdateDate": "2018-11-12T17:33:10.438+05:30",
"LastUpdatedBy": "ABRAHAM.MASON"
}The following example shows how to create multipleresources in a planning resource breakdown structure with names by submitting a POST request on the REST resource using cURL.
curl --user ppm_cloud_user -X POST -d @example_request_payload.json --header "Content-Type: application/json" https://your_organization.com:port/fscmRestApi/resources/11.13.18.05/
Request Body Example
The following shows an example of the request body in JSON format.
{
"parts" : [
{
"id" : "part0", "path" : "/projectPlanningRbs/300100149222696/child/Elements", "operation" : "create",
"payload" : {
"ResourceClassName" : "Labor",
"FormatName": "Revenue Category",
"RevenueCategoryName": "Indirect"
}
},
{
"id" : "part1", "path" : "/projectPlanningRbs/300100149222696/child/Elements", "operation" : "create",
"payload" : {
"ResourceClassName" : "Labor",
"FormatName": "System Person Type",
"PersonType": "Contingent worker"
}
},
{
"id" : "part2", "path" : "/projectPlanningRbs/300100149222696/child/Elements", "operation" : "create",
"payload" : {
"ResourceClassName" : "Equipment",
"FormatName": "Project Nonlabor Resource",
"NonlaborResourceName": "PJC_Alloc_Personal"
}
},
{
"id" : "part3", "path" : "/projectPlanningRbs/300100149222696/child/Elements", "operation" : "create",
"payload" : {
"ResourceClassName" : "Financial Resources",
"FormatName": "Expenditure Category",
"ExpenditureCategoryName": "Chargebacks"
}
},
{
"id" : "part4", "path" : "/projectPlanningRbs/300100149222696/child/Elements", "operation" : "create",
"payload" : {
"ResourceClassName" : "Material Items",
"FormatName": "Event Type",
"EventTypeName": "Cash Discount"
}
},
{
"id" : "part5", "path" : "/projectPlanningRbs/300100149222696/child/Elements", "operation" : "create",
"payload" : {
"ResourceClassName" : "Labor",
"FormatName": "Named Person",
"PersonEmail": "Elbert.Hampton@oracle.com"
}
},
{
"id" : "part6", "path" : "/projectPlanningRbs/300100149222696/child/Elements", "operation" : "create",
"payload" : {
"ResourceClassName" : "Labor",
"FormatName": "Job",
"JobCode": "ZHRT-Sales Job"
}
},
{
"id" : "part7", "path" : "/projectPlanningRbs/300100149222696/child/Elements", "operation" : "create",
"payload" : {
"ResourceClassName" : "Labor",
"FormatName": "Supplier",
"SupplierNumber": "1449703225"
}
},
{
"id" : "part8", "path" : "/projectPlanningRbs/300100149222696/child/Elements", "operation" : "create",
"payload" : {
"ResourceClassName" : "Material Items",
"FormatName": "Inventory Item",
"InventoryItemNumber": "02-TDC56877"
}
},
{
"id" : "part9", "path" : "/projectPlanningRbs/300100149222696/child/Elements", "operation" : "create",
"payload" : {
"ResourceClassName" : "Material Items",
"FormatName": "Item Category",
"ItemCategoryCode": "060.18"
}
},
{
"id" : "part10", "path" : "/projectPlanningRbs/300100149222696/child/Elements", "operation" : "create",
"payload" : {
"ResourceClassName" : "Labor",
"FormatName": "Organization",
"OrganizationName": "Vision Operations"
}
},
{
"id" : "part11", "path" : "/projectPlanningRbs/300100149222696/child/Elements", "operation" : "create",
"payload" : {
"ResourceClassName" : "Labor",
"FormatName": "Expenditure Type",
"ExpenditureTypeName": "Airfare"
}
}
]
}Response Body Example
The following shows an example of the response body in JSON format.
{
"parts": [
{
"id": "part0",
"path": "http://servername/fscmRestApi/resources/11.13.18.05/projectPlanningRbs/300100149222696/child/Elements",
"operation": "create",
"payload": {
"DisabledFlag": false,
"EventTypeId": null,
"EventTypeName": null,
"ExpenditureCategoryId": null,
"ExpenditureCategoryName": null,
"ExpenditureTypeId": null,
"ExpenditureTypeName": null,
"FormatId": 438,
"FormatName": "Revenue Category",
"InventoryItemId": null,
"InventoryItemNumber": null,
"ItemCategoryCode": null,
"ItemCategoryId": null,
"ItemCategoryName": null,
"JobCode": null,
"JobId": null,
"JobName": null,
"NonlaborResourceId": null,
"NonlaborResourceName": null,
"OrganizationId": null,
"OrganizationName": null,
"PersonEmail": null,
"PersonId": null,
"PersonName": null,
"PersonType": null,
"PersonTypeCode": null,
"ResourceClassId": 1,
"ResourceClassName": "Labor",
"ResourceElementId": 300100149380690,
"ResourceName": "Indirect",
"RevenueCategoryCode": "INDIRECT",
"RevenueCategoryName": "Indirect",
"SpreadCurveId": 1,
"SpreadCurveName": "Prorated Even",
"SupplierId": null,
"SupplierName": null,
"SupplierNumber": null,
"UnitOfMeasure": "Hours",
"UnitOfMeasureCode": "HOURS",
"CreatedBy": "ABRAHAM.MASON",
"CreationDate": "2018-11-12T18:08:00+05:30",
"LastUpdateDate": "2018-11-12T18:08:10.920+05:30",
"LastUpdatedBy": "ABRAHAM.MASON",
]
}
},
{
"id": "part1",
"path": "http://servername/fscmRestApi/resources/11.13.18.05/projectPlanningRbs/300100149222696/child/Elements",
"operation": "create",
"payload": {
"DisabledFlag": false,
"EventTypeId": null,
"EventTypeName": null,
"ExpenditureCategoryId": null,
"ExpenditureCategoryName": null,
"ExpenditureTypeId": null,
"ExpenditureTypeName": null,
"FormatId": 278,
"FormatName": "System Person Type",
"InventoryItemId": null,
"InventoryItemNumber": null,
"ItemCategoryCode": null,
"ItemCategoryId": null,
"ItemCategoryName": null,
"JobCode": null,
"JobId": null,
"JobName": null,
"NonlaborResourceId": null,
"NonlaborResourceName": null,
"OrganizationId": null,
"OrganizationName": null,
"PersonEmail": null,
"PersonId": null,
"PersonName": null,
"PersonType": "Contingent worker",
"PersonTypeCode": "CWK",
"ResourceClassId": 1,
"ResourceClassName": "Labor",
"ResourceElementId": 300100149380692,
"ResourceName": "Contingent worker",
"RevenueCategoryCode": null,
"RevenueCategoryName": null,
"SpreadCurveId": 1,
"SpreadCurveName": "Prorated Even",
"SupplierId": null,
"SupplierName": null,
"SupplierNumber": null,
"UnitOfMeasure": "Hours",
"UnitOfMeasureCode": "HOURS",
"CreatedBy": "ABRAHAM.MASON",
"CreationDate": "2018-11-12T18:08:00.635+05:30",
"LastUpdateDate": "2018-11-12T18:08:10.940+05:30",
"LastUpdatedBy": "ABRAHAM.MASON",
]
}
},
{
"id": "part2",
"path": "http://servername/fscmRestApi/resources/11.13.18.05/projectPlanningRbs/300100149222696/child/Elements",
"operation": "create",
"payload": {
"DisabledFlag": false,
"EventTypeId": null,
"EventTypeName": null,
"ExpenditureCategoryId": null,
"ExpenditureCategoryName": null,
"ExpenditureTypeId": null,
"ExpenditureTypeName": null,
"FormatId": 306,
"FormatName": "Project Nonlabor Resource",
"InventoryItemId": null,
"InventoryItemNumber": null,
"ItemCategoryCode": null,
"ItemCategoryId": null,
"ItemCategoryName": null,
"JobCode": null,
"JobId": null,
"JobName": null,
"NonlaborResourceId": 100000012472016,
"NonlaborResourceName": "PJC_Alloc_Personal",
"OrganizationId": null,
"OrganizationName": null,
"PersonEmail": null,
"PersonId": null,
"PersonName": null,
"PersonType": null,
"PersonTypeCode": null,
"ResourceClassId": 2,
"ResourceClassName": "Equipment",
"ResourceElementId": 300100149380694,
"ResourceName": "PJC_Alloc_Personal",
"RevenueCategoryCode": null,
"RevenueCategoryName": null,
"SpreadCurveId": 2,
"SpreadCurveName": "Back Loaded",
"SupplierId": null,
"SupplierName": null,
"SupplierNumber": null,
"UnitOfMeasure": "Hours",
"UnitOfMeasureCode": "HOURS",
"CreatedBy": "ABRAHAM.MASON",
"CreationDate": "2018-11-12T18:08:00.881+05:30",
"LastUpdateDate": "2018-11-12T18:08:10.947+05:30",
"LastUpdatedBy": "ABRAHAM.MASON",
]
}
},
{
"id": "part3",
"path": "http://servername/fscmRestApi/resources/11.13.18.05/projectPlanningRbs/300100149222696/child/Elements",
"operation": "create",
"payload": {
"DisabledFlag": false,
"EventTypeId": null,
"EventTypeName": null,
"ExpenditureCategoryId": 10002,
"ExpenditureCategoryName": "Chargebacks",
"ExpenditureTypeId": null,
"ExpenditureTypeName": null,
"FormatId": 35,
"FormatName": "Expenditure Category",
"InventoryItemId": null,
"InventoryItemNumber": null,
"ItemCategoryCode": null,
"ItemCategoryId": null,
"ItemCategoryName": null,
"JobCode": null,
"JobId": null,
"JobName": null,
"NonlaborResourceId": null,
"NonlaborResourceName": null,
"OrganizationId": null,
"OrganizationName": null,
"PersonEmail": null,
"PersonId": null,
"PersonName": null,
"PersonType": null,
"PersonTypeCode": null,
"ResourceClassId": 4,
"ResourceClassName": "Financial Resources",
"ResourceElementId": 300100149380696,
"ResourceName": "Chargebacks",
"RevenueCategoryCode": null,
"RevenueCategoryName": null,
"SpreadCurveId": 1,
"SpreadCurveName": "Prorated Even",
"SupplierId": null,
"SupplierName": null,
"SupplierNumber": null,
"UnitOfMeasure": "Currency",
"UnitOfMeasureCode": "DOLLARS",
"CreatedBy": "ABRAHAM.MASON",
"CreationDate": "2018-11-12T18:08:01.597+05:30",
"LastUpdateDate": "2018-11-12T18:08:10.976+05:30",
"LastUpdatedBy": "ABRAHAM.MASON",
]
}
},
{
"id": "part4",
"path": "http://servername/fscmRestApi/resources/11.13.18.05/projectPlanningRbs/300100149222696/child/Elements",
"operation": "create",
"payload": {
"DisabledFlag": false,
"EventTypeId": 10285,
"EventTypeName": "Cash Discount",
"ExpenditureCategoryId": null,
"ExpenditureCategoryName": null,
"ExpenditureTypeId": null,
"ExpenditureTypeName": null,
"FormatId": 1,
"FormatName": "Event Type",
"InventoryItemId": null,
"InventoryItemNumber": null,
"ItemCategoryCode": null,
"ItemCategoryId": null,
"ItemCategoryName": null,
"JobCode": null,
"JobId": null,
"JobName": null,
"NonlaborResourceId": null,
"NonlaborResourceName": null,
"OrganizationId": null,
"OrganizationName": null,
"PersonEmail": null,
"PersonId": null,
"PersonName": null,
"PersonType": null,
"PersonTypeCode": null,
"ResourceClassId": 3,
"ResourceClassName": "Material Items",
"ResourceElementId": 300100149380698,
"ResourceName": "Cash Discount",
"RevenueCategoryCode": null,
"RevenueCategoryName": null,
"SpreadCurveId": 4,
"SpreadCurveName": "S Curve",
"SupplierId": null,
"SupplierName": null,
"SupplierNumber": null,
"UnitOfMeasure": "Currency",
"UnitOfMeasureCode": "DOLLARS",
"CreatedBy": "ABRAHAM.MASON",
"CreationDate": "2018-11-12T18:08:01.814+05:30",
"LastUpdateDate": "2018-11-12T18:08:10.983+05:30",
"LastUpdatedBy": "ABRAHAM.MASON",
]
}
},
{
"id": "part5",
"path": "http://servername/fscmRestApi/resources/11.13.18.05/projectPlanningRbs/300100149222696/child/Elements",
"operation": "create",
"payload": {
"DisabledFlag": false,
"EventTypeId": null,
"EventTypeName": null,
"ExpenditureCategoryId": null,
"ExpenditureCategoryName": null,
"ExpenditureTypeId": null,
"ExpenditureTypeName": null,
"FormatId": 195,
"FormatName": "Named Person",
"InventoryItemId": null,
"InventoryItemNumber": null,
"ItemCategoryCode": null,
"ItemCategoryId": null,
"ItemCategoryName": null,
"JobCode": null,
"JobId": null,
"JobName": null,
"NonlaborResourceId": null,
"NonlaborResourceName": null,
"OrganizationId": null,
"OrganizationName": null,
"PersonEmail": "Elbert.Hampton@oracle.com",
"PersonId": 300100008980523,
"PersonName": "ZHRR-Hampton, Elbert",
"PersonType": null,
"PersonTypeCode": null,
"ResourceClassId": 1,
"ResourceClassName": "Labor",
"ResourceElementId": 300100149380700,
"ResourceName": "ZHRR-Hampton, Elbert",
"RevenueCategoryCode": null,
"RevenueCategoryName": null,
"SpreadCurveId": 1,
"SpreadCurveName": "Prorated Even",
"SupplierId": null,
"SupplierName": null,
"SupplierNumber": null,
"UnitOfMeasure": "Hours",
"UnitOfMeasureCode": "HOURS",
"CreatedBy": "ABRAHAM.MASON",
"CreationDate": "2018-11-12T18:08:02.088+05:30",
"LastUpdateDate": "2018-11-12T18:08:10.990+05:30",
"LastUpdatedBy": "ABRAHAM.MASON",
]
}
},
{
"id": "part6",
"path": "http://servername/fscmRestApi/resources/11.13.18.05/projectPlanningRbs/300100149222696/child/Elements",
"operation": "create",
"payload": {
"DisabledFlag": false,
"EventTypeId": null,
"EventTypeName": null,
"ExpenditureCategoryId": null,
"ExpenditureCategoryName": null,
"ExpenditureTypeId": null,
"ExpenditureTypeName": null,
"FormatId": 166,
"FormatName": "Job",
"InventoryItemId": null,
"InventoryItemNumber": null,
"ItemCategoryCode": null,
"ItemCategoryId": null,
"ItemCategoryName": null,
"JobCode": "ZHRT-Sales Job",
"JobId": 100000016898081,
"JobName": "ZHRT-Sales Job",
"NonlaborResourceId": null,
"NonlaborResourceName": null,
"OrganizationId": null,
"OrganizationName": null,
"PersonEmail": null,
"PersonId": null,
"PersonName": null,
"PersonType": null,
"PersonTypeCode": null,
"ResourceClassId": 1,
"ResourceClassName": "Labor",
"ResourceElementId": 300100149380702,
"ResourceName": "ZHRT-Sales Job",
"RevenueCategoryCode": null,
"RevenueCategoryName": null,
"SpreadCurveId": 1,
"SpreadCurveName": "Prorated Even",
"SupplierId": null,
"SupplierName": null,
"SupplierNumber": null,
"UnitOfMeasure": "Hours",
"UnitOfMeasureCode": "HOURS",
"CreatedBy": "ABRAHAM.MASON",
"CreationDate": "2018-11-12T18:08:02.268+05:30",
"LastUpdateDate": "2018-11-12T18:08:10.998+05:30",
"LastUpdatedBy": "ABRAHAM.MASON",
]
}
},
{
"id": "part7",
"path": "http://servername/fscmRestApi/resources/11.13.18.05/projectPlanningRbs/300100149222696/child/Elements",
"operation": "create",
"payload": {
"DisabledFlag": false,
"EventTypeId": null,
"EventTypeName": null,
"ExpenditureCategoryId": null,
"ExpenditureCategoryName": null,
"ExpenditureTypeId": null,
"ExpenditureTypeName": null,
"FormatId": 551,
"FormatName": "Supplier",
"InventoryItemId": null,
"InventoryItemNumber": null,
"ItemCategoryCode": null,
"ItemCategoryId": null,
"ItemCategoryName": null,
"JobCode": null,
"JobId": null,
"JobName": null,
"NonlaborResourceId": null,
"NonlaborResourceName": null,
"OrganizationId": null,
"OrganizationName": null,
"PersonEmail": null,
"PersonId": null,
"PersonName": null,
"PersonType": null,
"PersonTypeCode": null,
"ResourceClassId": 1,
"ResourceClassName": "Labor",
"ResourceElementId": 300100149380704,
"ResourceName": "REST_SUPPLIER_02",
"RevenueCategoryCode": null,
"RevenueCategoryName": null,
"SpreadCurveId": 1,
"SpreadCurveName": "Prorated Even",
"SupplierId": 300100103138007,
"SupplierName": "REST_SUPPLIER_02",
"SupplierNumber": "1449703225",
"UnitOfMeasure": "Hours",
"UnitOfMeasureCode": "HOURS",
"CreatedBy": "ABRAHAM.MASON",
"CreationDate": "2018-11-12T18:08:02.729+05:30",
"LastUpdateDate": "2018-11-12T18:08:11.005+05:30",
"LastUpdatedBy": "ABRAHAM.MASON",
]
}
},
{
"id": "part8",
"path": "http://servername/fscmRestApi/resources/11.13.18.05/projectPlanningRbs/300100149222696/child/Elements",
"operation": "create",
"payload": {
"DisabledFlag": false,
"EventTypeId": null,
"EventTypeName": null,
"ExpenditureCategoryId": null,
"ExpenditureCategoryName": null,
"ExpenditureTypeId": null,
"ExpenditureTypeName": null,
"FormatId": 114,
"FormatName": "Inventory Item",
"InventoryItemId": 97614,
"InventoryItemNumber": "03-HY47141-A1",
"ItemCategoryCode": null,
"ItemCategoryId": null,
"ItemCategoryName": null,
"JobCode": null,
"JobId": null,
"JobName": null,
"NonlaborResourceId": null,
"NonlaborResourceName": null,
"OrganizationId": null,
"OrganizationName": null,
"PersonEmail": null,
"PersonId": null,
"PersonName": null,
"PersonType": null,
"PersonTypeCode": null,
"ResourceClassId": 3,
"ResourceClassName": "Material Items",
"ResourceElementId": 300100149380706,
"ResourceName": "03-HY47141-A1",
"RevenueCategoryCode": null,
"RevenueCategoryName": null,
"SpreadCurveId": 4,
"SpreadCurveName": "S Curve",
"SupplierId": null,
"SupplierName": null,
"SupplierNumber": null,
"UnitOfMeasure": "Each",
"UnitOfMeasureCode": "Ea",
"CreatedBy": "ABRAHAM.MASON",
"CreationDate": "2018-11-12T18:08:03.867+05:30",
"LastUpdateDate": "2018-11-12T18:08:11.275+05:30",
"LastUpdatedBy": "ABRAHAM.MASON",
]
}
},
{
"id": "part9",
"path": "http://servername/fscmRestApi/resources/11.13.18.05/projectPlanningRbs/300100149222696/child/Elements",
"operation": "create",
"payload": {
"DisabledFlag": false,
"EventTypeId": null,
"EventTypeName": null,
"ExpenditureCategoryId": null,
"ExpenditureCategoryName": null,
"ExpenditureTypeId": null,
"ExpenditureTypeName": null,
"FormatId": 140,
"FormatName": "Item Category",
"InventoryItemId": null,
"InventoryItemNumber": null,
"ItemCategoryCode": "060.18",
"ItemCategoryId": 344,
"ItemCategoryName": "Brake Fluid",
"JobCode": null,
"JobId": null,
"JobName": null,
"NonlaborResourceId": null,
"NonlaborResourceName": null,
"OrganizationId": null,
"OrganizationName": null,
"PersonEmail": null,
"PersonId": null,
"PersonName": null,
"PersonType": null,
"PersonTypeCode": null,
"ResourceClassId": 3,
"ResourceClassName": "Material Items",
"ResourceElementId": 300100149380708,
"ResourceName": "Brake Fluid",
"RevenueCategoryCode": null,
"RevenueCategoryName": null,
"SpreadCurveId": 4,
"SpreadCurveName": "S Curve",
"SupplierId": null,
"SupplierName": null,
"SupplierNumber": null,
"UnitOfMeasure": "Currency",
"UnitOfMeasureCode": "DOLLARS",
"CreatedBy": "ABRAHAM.MASON",
"CreationDate": "2018-11-12T18:08:05.836+05:30",
"LastUpdateDate": "2018-11-12T18:08:11.284+05:30",
"LastUpdatedBy": "ABRAHAM.MASON",
]
}
},
{
"id": "part10",
"path": "http://servername/fscmRestApi/resources/11.13.18.05/projectPlanningRbs/300100149222696/child/Elements",
"operation": "create",
"payload": {
"DisabledFlag": false,
"EventTypeId": null,
"EventTypeName": null,
"ExpenditureCategoryId": null,
"ExpenditureCategoryName": null,
"ExpenditureTypeId": null,
"ExpenditureTypeName": null,
"FormatId": 205,
"FormatName": "Organization",
"InventoryItemId": null,
"InventoryItemNumber": null,
"ItemCategoryCode": null,
"ItemCategoryId": null,
"ItemCategoryName": null,
"JobCode": null,
"JobId": null,
"JobName": null,
"NonlaborResourceId": null,
"NonlaborResourceName": null,
"OrganizationId": 204,
"OrganizationName": "Vision Operations",
"PersonEmail": null,
"PersonId": null,
"PersonName": null,
"PersonType": null,
"PersonTypeCode": null,
"ResourceClassId": 1,
"ResourceClassName": "Labor",
"ResourceElementId": 300100149380710,
"ResourceName": "Vision Operations",
"RevenueCategoryCode": null,
"RevenueCategoryName": null,
"SpreadCurveId": 1,
"SpreadCurveName": "Prorated Even",
"SupplierId": null,
"SupplierName": null,
"SupplierNumber": null,
"UnitOfMeasure": "Hours",
"UnitOfMeasureCode": "HOURS",
"CreatedBy": "ABRAHAM.MASON",
"CreationDate": "2018-11-12T18:08:06.268+05:30",
"LastUpdateDate": "2018-11-12T18:08:11.314+05:30",
"LastUpdatedBy": "ABRAHAM.MASON",
]
}
},
{
"id": "part11",
"path": "http://servername/fscmRestApi/resources/11.13.18.05/projectPlanningRbs/300100149222696/child/Elements",
"operation": "create",
"payload": {
"DisabledFlag": false,
"EventTypeId": null,
"EventTypeName": null,
"ExpenditureCategoryId": null,
"ExpenditureCategoryName": null,
"ExpenditureTypeId": 10001,
"ExpenditureTypeName": "Airfare",
"FormatId": 80,
"FormatName": "Expenditure Type",
"InventoryItemId": null,
"InventoryItemNumber": null,
"ItemCategoryCode": null,
"ItemCategoryId": null,
"ItemCategoryName": null,
"JobCode": null,
"JobId": null,
"JobName": null,
"NonlaborResourceId": null,
"NonlaborResourceName": null,
"OrganizationId": null,
"OrganizationName": null,
"PersonEmail": null,
"PersonId": null,
"PersonName": null,
"PersonType": null,
"PersonTypeCode": null,
"ResourceClassId": 1,
"ResourceClassName": "Labor",
"ResourceElementId": 300100149380712,
"ResourceName": "Airfare",
"RevenueCategoryCode": null,
"RevenueCategoryName": null,
"SpreadCurveId": 1,
"SpreadCurveName": "Prorated Even",
"SupplierId": null,
"SupplierName": null,
"SupplierNumber": null,
"UnitOfMeasure": "Hours",
"UnitOfMeasureCode": "HOURS",
"CreatedBy": "ABRAHAM.MASON",
"CreationDate": "2018-11-12T18:08:06.908+05:30",
"LastUpdateDate": "2018-11-12T18:08:11.330+05:30",
"LastUpdatedBy": "ABRAHAM.MASON",
]
}
}
]
}