Update a joint venture partner contribution

patch

/fscmRestApi/resources/11.13.18.05/jointVentureContributions/{contributionId}

Request

Path Parameters
  • The value of this parameter could be a hash of the key that is used to uniquely identify the resource item. The client should not generate the hash key value. Instead, the client should query on the collection resource with a filter to navigate to a specific resource item. For example: products?q=InventoryItemId=
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 : contributionDFF
Type: array
Show Source
Nested Schema : Partner Contribution References
Type: array
Title: Partner Contribution References
The contribution references resource is used to view, update, or delete the transaction references required to fund or close partner contributions.
Show Source
Nested Schema : schema
Type: object
Show Source
Nested Schema : jointVentureContributions-contributionDFF-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 : jointVentureContributions-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 : contributionDFF
Type: array
Show Source
Nested Schema : Partner Contribution References
Type: array
Title: Partner Contribution References
The contribution references resource is used to view, update, or delete the transaction references required to fund or close partner contributions.
Show Source
Nested Schema : jointVentureContributions-attachments-item-response
Type: object
Show Source
Nested Schema : jointVentureContributions-contributionDFF-item-response
Type: object
Show Source
Nested Schema : jointVentureContributions-contributionReferences-item-response
Type: object
Show Source
Back to Top

Examples

The following example shows how to update a partner contribution 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 @JVCreate.json https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/latest/jointVentureContributions/{contributionId)

Request Body Example

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

{
      "contributionAmount": 12500
}

Response Body Example

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

{
  "contributionId": 300100208456391,
  "contributionDescription": "Contribution for GREENCORP",
  "jointVentureShortName": "URBANDEVPROJECTJV",
  "stakeholderShortName": "GREENCORP",
  "startDate": "2017-01-01",
  "contributionStatus": "Pending",
  "contributionAmount": 12500,
  "contributionOpenAmount": null,
  "transactionNumber": null,
  "transactionDate": null,
  "closeType": null,
  "closeDate": null,
  "closeReason": null,
  "agreementDefaultCharge": null,
  "refundAmount": null,
  "createdBy": "username",
  "creationDate": "2020-07-30T19:39:22+00:00",
  "lastUpdatedBy": "username",
  "lastUpdateDate": "2020-07-30T19:50:58+00:00",
  "currencyCode": "USD",
  "links": [
    {
      "rel": "self",
      "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/jointVentureContributions/300100208456391",
      "name": "jointVentureContributions",
      "kind": "item",
      "properties": {
        "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000278"
      }
    },
    {
      "rel": "canonical",
      "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/jointVentureContributions/300100208456391",
      "name": "jointVentureContributions",
      "kind": "item"
    },
    {
      "rel": "child",
      "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/jointVentureContributions/300100208456391/child/contributionDFF",
      "name": "contributionDFF",
      "kind": "collection"
    },
    {
      "rel": "child",
      "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/jointVentureContributions/300100208456391/child/contributionReferences",
      "name": "contributionReferences",
      "kind": "collection"
    }
  ]
}
Back to Top