Update a descriptive flex field
/fscmRestApi/resources/11.13.18.05/planComponents/{planComponentsUniqID}/child/planComponentsDFF/{planComponentsDFFUniqID}
Request
-
planComponentsDFFUniqID(required): string
This is the hash key of the attributes which make up the composite key--- PlanComponentId and OrgId ---for the Plan Component Descriptive Flex Fields resource and used to uniquely identify an instance of Plan Component Descriptive Flex Fields. The client should not generate the hash key value. Instead, the client should query on the Plan Component Descriptive Flex Fields collection resource with a filter on the primary key values in order to navigate to a specific instance of Plan Component Descriptive Flex Fields.
For example: planComponentsDFF?q=PlanComponentId=<value1>;OrgId=<value2> -
planComponentsUniqID(required): string
This is the hash key of the attributes which make up the composite key--- PlanComponentId and OrgId ---for the Plan Components resource and used to uniquely identify an instance of Plan Components. The client should not generate the hash key value. Instead, the client should query on the Plan Components collection resource with a filter on the primary key values in order to navigate to a specific instance of Plan Components.
For example: planComponents?q=PlanComponentId=<value1>;OrgId=<value2>
-
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.
- application/json
object
-
__FLEX_Context: string
Title:
Context Segment
Maximum Length:30
This field represents the flex context segment code for the plan component. It determines which context-sensitive segments are displayed. -
__FLEX_Context_DisplayValue: string
Title:
Context Segment
This field represents the flex context segment display name for the plan component. It determines which context-sensitive segments are displayed.
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
-
__FLEX_Context: string
Title:
Context Segment
Maximum Length:30
This field represents the flex context segment code for the plan component. It determines which context-sensitive segments are displayed. -
__FLEX_Context_DisplayValue: string
Title:
Context Segment
This field represents the flex context segment display name for the plan component. It determines which context-sensitive segments are displayed. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
OrgId: integer
(int64)
Title:
Business Unit
The unique identifier of the business unit organisation. -
PlanComponentId: integer
(int64)
The unique identifier for the plan component record within a business unit.
array
Links
object
-
href: string
Title:
hyperlink reference
The URI to the related resource. -
kind: string
Title:
kind
Allowed Values:[ "collection", "item", "describe", "other" ]
The kind of the related resource. -
name: string
Title:
name
The name of the link to the related resource. -
properties: object
properties
-
rel: string
Title:
relation
Allowed 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.
- LVVO_V___FLEX_Context
-
Parameters:
- finder:
ValidValuesFinder%3BBind_ApplicationId%3D283%2CBind_DescriptiveFlexfieldCode%3DCN_PLAN_COMPONENTS_DFF
- finder:
- LVVO___FLEX_Context
-
Parameters:
- finder:
ValidValuesFinder%3BBind_ApplicationId%3D283%2CBind_DescriptiveFlexfieldCode%3DCN_PLAN_COMPONENTS_DFF
- finder:
Examples
The following example shows how to update a descriptive flex field by submitting a PATCH request on the REST resource using cURL.
cURL Command
curl -u <username:password> \ -X PATCH -d
@example_request_payload.json https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/planComponents/00020000000EACED00057708000110F07F4ABECA0000000EACED0005770800000000000000CC/child/planComponentsDFF/00020000000EACED00057708000110F07F4ABECA0000000EACED0005770800000000000000CC
Example of Request Body
The following example shows the contents of the request body in JSON format.
{ "Plan__Component__DFF" : "Only valid for key sales reps" }
Example of Response Body
The following example shows the contents of the response body in JSON format.
{ "PlanComponentId": 300100090511050, "OrgId": 204, "_Plan__Component__DFF": "Only valid for key sales reps", "usage": "Incentive", "status": null, "newDfff": null, "newDfffNumber": null, "newDfffDate": null, "newDfffWithNewFile": null, "newDff25april": null, "dffPc170520122852885": null, "dffPc170529142616148": null, "dffPc170606120644026": null, "__FLEX_Context": null, "__FLEX_Context_DisplayValue": null, "links": [ ... ] }