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
  • Title: Business Unit
    A field that identifies the display name of the business unit associated with the invoicing partner.
  • Title: Preferred Currency
    Maximum Length: 15
    The currency code used when creating invoices for the partner. If the currency code isn't populated, the stakeholder's currency will be used.
  • Title: Customer Account Number
    Maximum Length: 255
    The account number of the customer.
  • Title: Customer Address
    Maximum Length: 290
    The formatted address of the customer.
  • Title: Customer Set Name
    Maximum Length: 255
    A field for identifying the customer set name in the customer information for an invoicing partner.The customer set name is associated with the customer site ID.
  • Title: Customer Site
    Maximum Length: 255
    The location of the customer site.
  • Title: Description
    Maximum Length: 240
    The description of the joint venture invoicing partner.
  • Invoicing Partner Descriptive Flexfields
    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.
  • Title: Status
    Maximum Length: 80
    The status of the joint venture invoicing partner.
  • Title: Joint Interest Billing Report Output Format
    The format of the Joint Interest Billing report output that will default on stakeholders associated with this invoicing partner.
  • Title: Joint Interest Billing Report Template
    Maximum Length: 100
    The name of the Joint Interest Billing report template that will default on stakeholders associated with this invoicing partner.
  • Title: Supplier Address
    Maximum Length: 290
    The formatted address of the supplier.
  • Title: Supplier BU
    The business unit of the supplier site.
  • Title: Supplier
    Maximum Length: 360
    The name of the supplier.
  • Title: Supplier Site
    Maximum Length: 255
    The site code of the supplier.
  • Title: Warning Message
    Indicates if there are any warning messages when creating a joint venture invoicing partner.
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