Update a joint venture stakeholder

patch

/fscmRestApi/resources/11.13.18.05/jointVentures/{jointVentureId}/child/stakeholders/{stakeholderId}

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 : Attachments
Type: array
Title: Attachments
The attachments resource is used to view, create, and update attachments.
Show Source
Nested Schema : Stakeholder Descriptive Flexfields
Type: array
Title: Stakeholder Descriptive Flexfields
The stakeholder descriptive flexfields resource is used to manage details about the descriptive flexfield references for a joint venture stakeholder.
Show Source
Nested Schema : jointVentures-stakeholders-attachments-item-patch-request
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 : jointVentures-stakeholders-item-response
Type: object
Show Source
Nested Schema : Attachments
Type: array
Title: Attachments
The attachments resource is used to view, create, and update attachments.
Show Source
Nested Schema : Stakeholder Descriptive Flexfields
Type: array
Title: Stakeholder Descriptive Flexfields
The stakeholder descriptive flexfields resource is used to manage details about the descriptive flexfield references for a joint venture stakeholder.
Show Source
Nested Schema : jointVentures-stakeholders-attachments-item-response
Type: object
Show Source
Nested Schema : jointVentures-stakeholders-stakeholderDFF-item-response
Type: object
Show Source
Back to Top

Examples

The following example shows how to update a stakeholder by submitting a PATCH request on the REST resource using cURL.

curl -i -u "username:password" -H "Content-Type: application/vnd.oracle.adf.resourceitem+json" -X PATCH -d @JVUpdateJVStakeholder.json https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/jointVentures/300100184768422/child/stakeholders/300100185158414

Request Body Example

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

 {
    "stakeholderStatus" : "Inactive",
    "distributionOnlyFlag" : true
 }

Response Body Example

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

{
  "costCenterSegmentValue" : "120",
  "invoicingPartnerName" : null,
  "createdBy" : "username",
  "creationDate" : "2020-02-20T16:12:04+00:00",
  "internalStakeholderFlag" : true,
  "lastUpdateDate" : "2020-02-20T18:06:08+00:00",
  "lastUpdatedBy" : "username",
  "stakeholderDescription" : "Apollo Drilling Service",
  "stakeholderId" : 300100185158414,
  "stakeholderShortName" : "APOLLODRILLING",
  "stakeholderStatus" : "Inactive",
  "stakeholderTypeCode" : null,
  "partyNumber" : null,
  "distributionOnlyFlag" : true,
  "partyAddress" : null,
  "partyEmail" : null,
  "partyPhone" : null,
  "partyName" : null,
}
Back to Top