Update a joint venture invoicing partner

patch

/fscmRestApi/resources/11.13.18.05/jointVentureInvoicingPartners/{invoicingPartnerId}

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 : Invoicing Partner Descriptive Flexfields
Type: array
Title: Invoicing Partner Descriptive Flexfields
The joint venture invoicing partner descriptive flexfields resource is used to manage details about the descriptive flexfield references for a joint venture.
Show Source
Nested Schema : jointVentureInvoicingPartners-invoicingPartnerDFF-item-patch-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 : jointVentureInvoicingPartners-item-response
Type: object
Show Source
Nested Schema : Invoicing Partner Descriptive Flexfields
Type: array
Title: Invoicing Partner Descriptive Flexfields
The joint venture invoicing partner descriptive flexfields resource is used to manage details about the descriptive flexfield references for a joint venture.
Show Source
Nested Schema : jointVentureInvoicingPartners-invoicingPartnerDFF-item-response
Type: object
Show Source
Back to Top

Examples

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

curl -u username:password -i -X PATCH -H "Content-Type: application/json" -d " https://servername.fa.us2.oraclecloud.com/ledgerApi/resources/11.13.18.05/jointVentureInvoicingPartners/300100186133327

Request Body Example

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

{
"invoicingPartnerDescription": "Refinery and Oil Corporation Updated",
"invoicingPartnerStatus": "Pending"
} 

Response Body Example

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

{
  "invoicingPartnerDescription" : "Refinery and Oil Corporation Updated",
  "invoicingPartnerId" : 300100186133327,
  "invoicingPartnerName" : "GOILBASINPROM",
  "invoicingPartnerShortName" : "GOILBASINPROM",
  "supplierPartyName" : "Green Corp",
  "customerPartyName" : "Seven Corporation",
  "supplierBU" : null,
  "supplierSiteCode" : "POZ14170",
  "supplierName" : "Green Corp",
  "invoicingPartnerStatus" : "Pending",
  "customerTaxNumber" : null,
  "supplierTaxNumber" : null,
  "customerAccountNumber" : "3560",
  "customerSetName" : null,
  "customerSiteLocation" : null,
  "warningMessage" : "
  "<message><number>JV-6165020</number><text>The supplier and customer associated with the invoicing partner are different as they have different party IDs.</text><cause></cause><action></action><details></details><incident></incident></message>",
  "customerAccountName" : "Seven, Inc.",
  "createdBy" : "username",
  "creationDate" : "2020-02-12T10:33:00+00:00",
  "lastUpdatedBy" : "username",
  "lastUpdateDate" : "2020-02-12T11:05:06+00:00",
  "supplierAddress" : "666 University Avenue,NY,New York,10299,US",
  "customerAddress" : "666 University Avenue,NY,New York,10299,US",
  "supplierEmailAddress" : null,
  "customerEmailAddress" : null,
  "supplierPhone" : null,
  "customerPhone" : null,
  "activeFlag" : false
}
Back to Top