Update a descriptive flex field

patch

/fscmRestApi/resources/11.13.18.05/compensationPlans/{CompensationPlanId}/child/compensationPlansDFF/{CompPlanId}

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
  • Title: Context Segment
    Maximum Length: 30
    The flex context segment code for the compensation plan. It determines which context-sensitive segments are displayed.
  • Title: Context Segment
    The flex context segment display name for the compensation plan. It determines which context-sensitive segments are displayed.
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 : compensationPlans-compensationPlansDFF-item-response
Type: object
Show Source
Back to Top

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/compensationPlans/300100090306794/child/compensationPlansDFF/300100090306794

Example of Request Body

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

{
"_Compensation__Plan__DFF": "Y"
}

Example of Response Body

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

{
  "CompPlanId": 300100090306794,
  "_Compensation__Plan__DFF": "Y",
  "newDfff": null,
  "newDfffNumber": null,
  "newDfffDate": null,
  "newDfffWithNewFile": null,
  "newDff25april": null,
  "comp25April222": null,
  "dffCp170520122852885": null,
  "dffCp170529142616148": null,
  "__FLEX_Context": null,
  "__FLEX_Context_DisplayValue": null,
  "links": [
    ...
  ]
}
Back to Top