Create project attribute defaults

post

/fscmRestApi/resources/11.13.18.05/projectAttributeDefaultsForSupplyChain

Request

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
  • DFF
  • The user-supplied code of the expenditure organization if one is part of the record defining the set of defaults. Either this attribute, OrganizationId or OrganizationName is required to identify an organization.
  • Title: Organization
    The value that uniquely identifies the expenditure organization if one is part of the record defining the set of defaults. Either this attribute, OrganizationName, or OrganizationCode is required to identify an organization.
  • The name of the expenditure organization if one is part of the record defining the set of defaults. Either this attribute, OrganizationId or OrganizationCode is required to identify an organization.
  • Title: Project Number
    The value that uniquely identifies the project if one is part of the record defining the set of defaults. Either this attribute or ProjectNumber is required to identify a project. When both are null, you can't add task information.
  • The user-specified value of the project if one is part of the record defining the set of defaults. Either this attribute or ProjectId is required to identify a project. When both are null, you can't add task information.
  • Title: Task Number
    The value that uniquely identifies the task if one is part of the record defining the set of defaults. Either this attribute or TaskNumber is required to identify a project task.
  • The user-specified value of the task if one is part of the record defining the set of defaults. Either this attribute or TaskId is required to identify a project task.
Nested Schema : DFF
Type: array
Show Source
  • Discriminator: __FLEX_Context
    Discriminator: { "propertyName":"__FLEX_Context", "mapping":{ "AP_Distribution_Sets":"#/components/schemas/oracle_apps_flex_scm_rcs_projectIntegration_pjcDff_view_PJCDFFAP__5FDistribution__5FSetsVO-item-post-request", "AP_Invoice_Distribution":"#/components/schemas/oracle_apps_flex_scm_rcs_projectIntegration_pjcDff_view_PJCDFFAP__5FInvoice__5FDistributionVO-item-post-request", "AP_Invoice_Line":"#/components/schemas/oracle_apps_flex_scm_rcs_projectIntegration_pjcDff_view_PJCDFFAP__5FInvoice__5FLineVO-item-post-request", "EXM_Expense_Report":"#/components/schemas/oracle_apps_flex_scm_rcs_projectIntegration_pjcDff_view_PJCDFFEXM__5FExpense__5FReportVO-item-post-request", "EXM_Expense_Report_Line":"#/components/schemas/oracle_apps_flex_scm_rcs_projectIntegration_pjcDff_view_PJCDFFEXM__5FExpense__5FReport__5FLineVO-item-post-request", "INV_Misc_Transactions":"#/components/schemas/oracle_apps_flex_scm_rcs_projectIntegration_pjcDff_view_PJCDFFINV__5FMisc__5FTransactionsVO-item-post-request", "OM_Sales_Order":"#/components/schemas/oracle_apps_flex_scm_rcs_projectIntegration_pjcDff_view_PJCDFFOM__5FSales__5FOrderVO-item-post-request", "PJC_All":"#/components/schemas/oracle_apps_flex_scm_rcs_projectIntegration_pjcDff_view_PJCDFFPJC__5FAllVO-item-post-request", "PJC_Expenditure_Batch":"#/components/schemas/oracle_apps_flex_scm_rcs_projectIntegration_pjcDff_view_PJCDFFPJC__5FExpenditure__5FBatchVO-item-post-request", "POR_Requisition":"#/components/schemas/oracle_apps_flex_scm_rcs_projectIntegration_pjcDff_view_PJCDFFPOR__5FRequisitionVO-item-post-request", "POR_User_Preferences":"#/components/schemas/oracle_apps_flex_scm_rcs_projectIntegration_pjcDff_view_PJCDFFPOR__5FUser__5FPreferencesVO-item-post-request", "PO_Purchase_Order":"#/components/schemas/oracle_apps_flex_scm_rcs_projectIntegration_pjcDff_view_PJCDFFPO__5FPurchase__5FOrderVO-item-post-request", "PO_Purchase_Order_Line":"#/components/schemas/oracle_apps_flex_scm_rcs_projectIntegration_pjcDff_view_PJCDFFPO__5FPurchase__5FOrder__5FLineVO-item-post-request", "PO_Purchase_Order_Schedule":"#/components/schemas/oracle_apps_flex_scm_rcs_projectIntegration_pjcDff_view_PJCDFFPO__5FPurchase__5FOrder__5FScheduleVO-item-post-request" } }
Nested Schema : Discriminator: __FLEX_Context
Type: object
Discriminator: __FLEX_Context

Discriminator Values

Match One Schema
Show Source
Nested Schema : oracle_apps_flex_scm_rcs_projectIntegration_pjcDff_view_PJCDFFAP__5FDistribution__5FSetsVO-item-post-request
Type: object
Show Source
Nested Schema : oracle_apps_flex_scm_rcs_projectIntegration_pjcDff_view_PJCDFFAP__5FInvoice__5FDistributionVO-item-post-request
Type: object
Show Source
Nested Schema : oracle_apps_flex_scm_rcs_projectIntegration_pjcDff_view_PJCDFFAP__5FInvoice__5FLineVO-item-post-request
Type: object
Show Source
Nested Schema : oracle_apps_flex_scm_rcs_projectIntegration_pjcDff_view_PJCDFFEXM__5FExpense__5FReportVO-item-post-request
Type: object
Show Source
Nested Schema : oracle_apps_flex_scm_rcs_projectIntegration_pjcDff_view_PJCDFFEXM__5FExpense__5FReport__5FLineVO-item-post-request
Type: object
Show Source
Nested Schema : oracle_apps_flex_scm_rcs_projectIntegration_pjcDff_view_PJCDFFINV__5FMisc__5FTransactionsVO-item-post-request
Type: object
Show Source
Nested Schema : oracle_apps_flex_scm_rcs_projectIntegration_pjcDff_view_PJCDFFOM__5FSales__5FOrderVO-item-post-request
Type: object
Show Source
Nested Schema : oracle_apps_flex_scm_rcs_projectIntegration_pjcDff_view_PJCDFFPJC__5FAllVO-item-post-request
Type: object
Show Source
Nested Schema : oracle_apps_flex_scm_rcs_projectIntegration_pjcDff_view_PJCDFFPJC__5FExpenditure__5FBatchVO-item-post-request
Type: object
Show Source
Nested Schema : oracle_apps_flex_scm_rcs_projectIntegration_pjcDff_view_PJCDFFPOR__5FRequisitionVO-item-post-request
Type: object
Show Source
Nested Schema : oracle_apps_flex_scm_rcs_projectIntegration_pjcDff_view_PJCDFFPOR__5FUser__5FPreferencesVO-item-post-request
Type: object
Show Source
Nested Schema : oracle_apps_flex_scm_rcs_projectIntegration_pjcDff_view_PJCDFFPO__5FPurchase__5FOrderVO-item-post-request
Type: object
Show Source
Nested Schema : oracle_apps_flex_scm_rcs_projectIntegration_pjcDff_view_PJCDFFPO__5FPurchase__5FOrder__5FLineVO-item-post-request
Type: object
Show Source
Nested Schema : oracle_apps_flex_scm_rcs_projectIntegration_pjcDff_view_PJCDFFPO__5FPurchase__5FOrder__5FScheduleVO-item-post-request
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 : projectAttributeDefaultsForSupplyChain-item-response
Type: object
Show Source
  • Read Only: true
    The value that uniquely identifies the set of attribute defaults for a combination of project, task and organization. It's a primary key that the application generates.
  • Read Only: true
    Maximum Length: 64
    User who created the record.
  • Read Only: true
    Date and time when the user created the record.
  • DFF
  • Read Only: true
    Date and time when the user most recently updated the record.
  • Read Only: true
    Maximum Length: 64
    User who most recently updated the record.
  • Links
  • The user-supplied code of the expenditure organization if one is part of the record defining the set of defaults. Either this attribute, OrganizationId or OrganizationName is required to identify an organization.
  • Title: Organization
    The value that uniquely identifies the expenditure organization if one is part of the record defining the set of defaults. Either this attribute, OrganizationName, or OrganizationCode is required to identify an organization.
  • The name of the expenditure organization if one is part of the record defining the set of defaults. Either this attribute, OrganizationId or OrganizationCode is required to identify an organization.
  • Title: Project Number
    The value that uniquely identifies the project if one is part of the record defining the set of defaults. Either this attribute or ProjectNumber is required to identify a project. When both are null, you can't add task information.
  • The user-specified value of the project if one is part of the record defining the set of defaults. Either this attribute or ProjectId is required to identify a project. When both are null, you can't add task information.
  • Title: Task Number
    The value that uniquely identifies the task if one is part of the record defining the set of defaults. Either this attribute or TaskNumber is required to identify a project task.
  • The user-specified value of the task if one is part of the record defining the set of defaults. Either this attribute or TaskId is required to identify a project task.
Nested Schema : DFF
Type: array
Show Source
  • Discriminator: __FLEX_Context
    Discriminator: { "propertyName":"__FLEX_Context", "mapping":{ "AP_Distribution_Sets":"#/components/schemas/oracle_apps_flex_scm_rcs_projectIntegration_pjcDff_view_PJCDFFAP__5FDistribution__5FSetsVO-item-response", "AP_Invoice_Distribution":"#/components/schemas/oracle_apps_flex_scm_rcs_projectIntegration_pjcDff_view_PJCDFFAP__5FInvoice__5FDistributionVO-item-response", "AP_Invoice_Line":"#/components/schemas/oracle_apps_flex_scm_rcs_projectIntegration_pjcDff_view_PJCDFFAP__5FInvoice__5FLineVO-item-response", "EXM_Expense_Report":"#/components/schemas/oracle_apps_flex_scm_rcs_projectIntegration_pjcDff_view_PJCDFFEXM__5FExpense__5FReportVO-item-response", "EXM_Expense_Report_Line":"#/components/schemas/oracle_apps_flex_scm_rcs_projectIntegration_pjcDff_view_PJCDFFEXM__5FExpense__5FReport__5FLineVO-item-response", "INV_Misc_Transactions":"#/components/schemas/oracle_apps_flex_scm_rcs_projectIntegration_pjcDff_view_PJCDFFINV__5FMisc__5FTransactionsVO-item-response", "OM_Sales_Order":"#/components/schemas/oracle_apps_flex_scm_rcs_projectIntegration_pjcDff_view_PJCDFFOM__5FSales__5FOrderVO-item-response", "PJC_All":"#/components/schemas/oracle_apps_flex_scm_rcs_projectIntegration_pjcDff_view_PJCDFFPJC__5FAllVO-item-response", "PJC_Expenditure_Batch":"#/components/schemas/oracle_apps_flex_scm_rcs_projectIntegration_pjcDff_view_PJCDFFPJC__5FExpenditure__5FBatchVO-item-response", "POR_Requisition":"#/components/schemas/oracle_apps_flex_scm_rcs_projectIntegration_pjcDff_view_PJCDFFPOR__5FRequisitionVO-item-response", "POR_User_Preferences":"#/components/schemas/oracle_apps_flex_scm_rcs_projectIntegration_pjcDff_view_PJCDFFPOR__5FUser__5FPreferencesVO-item-response", "PO_Purchase_Order":"#/components/schemas/oracle_apps_flex_scm_rcs_projectIntegration_pjcDff_view_PJCDFFPO__5FPurchase__5FOrderVO-item-response", "PO_Purchase_Order_Line":"#/components/schemas/oracle_apps_flex_scm_rcs_projectIntegration_pjcDff_view_PJCDFFPO__5FPurchase__5FOrder__5FLineVO-item-response", "PO_Purchase_Order_Schedule":"#/components/schemas/oracle_apps_flex_scm_rcs_projectIntegration_pjcDff_view_PJCDFFPO__5FPurchase__5FOrder__5FScheduleVO-item-response" } }
Nested Schema : Discriminator: __FLEX_Context
Type: object
Discriminator: __FLEX_Context

Discriminator Values

Match One Schema
Show Source
Nested Schema : oracle_apps_flex_scm_rcs_projectIntegration_pjcDff_view_PJCDFFAP__5FDistribution__5FSetsVO-item-response
Type: object
Show Source
Nested Schema : oracle_apps_flex_scm_rcs_projectIntegration_pjcDff_view_PJCDFFAP__5FInvoice__5FDistributionVO-item-response
Type: object
Show Source
Nested Schema : oracle_apps_flex_scm_rcs_projectIntegration_pjcDff_view_PJCDFFAP__5FInvoice__5FLineVO-item-response
Type: object
Show Source
Nested Schema : oracle_apps_flex_scm_rcs_projectIntegration_pjcDff_view_PJCDFFEXM__5FExpense__5FReportVO-item-response
Type: object
Show Source
Nested Schema : oracle_apps_flex_scm_rcs_projectIntegration_pjcDff_view_PJCDFFEXM__5FExpense__5FReport__5FLineVO-item-response
Type: object
Show Source
Nested Schema : oracle_apps_flex_scm_rcs_projectIntegration_pjcDff_view_PJCDFFINV__5FMisc__5FTransactionsVO-item-response
Type: object
Show Source
Nested Schema : oracle_apps_flex_scm_rcs_projectIntegration_pjcDff_view_PJCDFFOM__5FSales__5FOrderVO-item-response
Type: object
Show Source
Nested Schema : oracle_apps_flex_scm_rcs_projectIntegration_pjcDff_view_PJCDFFPJC__5FAllVO-item-response
Type: object
Show Source
Nested Schema : oracle_apps_flex_scm_rcs_projectIntegration_pjcDff_view_PJCDFFPJC__5FExpenditure__5FBatchVO-item-response
Type: object
Show Source
Nested Schema : oracle_apps_flex_scm_rcs_projectIntegration_pjcDff_view_PJCDFFPOR__5FRequisitionVO-item-response
Type: object
Show Source
Nested Schema : oracle_apps_flex_scm_rcs_projectIntegration_pjcDff_view_PJCDFFPOR__5FUser__5FPreferencesVO-item-response
Type: object
Show Source
Nested Schema : oracle_apps_flex_scm_rcs_projectIntegration_pjcDff_view_PJCDFFPO__5FPurchase__5FOrderVO-item-response
Type: object
Show Source
Nested Schema : oracle_apps_flex_scm_rcs_projectIntegration_pjcDff_view_PJCDFFPO__5FPurchase__5FOrder__5FLineVO-item-response
Type: object
Show Source
Nested Schema : oracle_apps_flex_scm_rcs_projectIntegration_pjcDff_view_PJCDFFPO__5FPurchase__5FOrder__5FScheduleVO-item-response
Type: object
Show Source
Back to Top

Examples

This example describes how to create project attribute defaults.

Example cURL Command

Use the following cURL command to submit a request on the REST resource.

curl -u username:password -X POST -H "Content-Type:application/vnd.oracle.adf.resourceitem+json" -d 'request payload' 
"https://servername/fscmRestApi/resources/version/projectAttributeDefaultsForSupplyChain"

Example Request Body

The following example includes the contents of the request body in JSON format. You replace the request payload in the cURL command with the contents of the Example Request Body. The request payload specifies attribute values that the command will use in the record that it creates.

{
	"ProjectNumber": "PDSC-CT-PDSCM1C-003",
	"TaskNumber": "1.2",
	"OrganizationCode": "M2",
}

Example Response Body

The following example includes the contents of the response body in JSON format:

{ 
	"AttributeDefaultId": 30310017603643,
	"ProjectNumber": "PDSC-CT-PDSCM1C-003",
	"ProjectId": 5427895427809,
	"TaskId": 23443280905,
	"TaskNumber": "1.2",
	"OrganizationId": 320133469224380,
	"OrganizationCode": "M2",
	"OrganizationName": "Vision Manufacturing",
	...
}
Back to Top