Create a joint venture invoicing partner

post

/fscmRestApi/resources/11.13.18.05/jointVentureInvoicingPartners

Request

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.
  • Contains one of the following values: true or false. If true, the server performs an Upsert operation instead of a Create operation. During an Upsert operation, the server attempts to find an existing resource that matches the payload. If a match is found, the server updates the existing resource instead of creating a new one. If not found or false (default), the server performs a Create operation. Note that the Upsert operation isn't supported for date-effective REST resources.
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 : 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 : 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 create an invoicing partner by submitting a POST request on the REST resource using cURL.

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

Request Body Example

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

{
"customerSetName":"Vision Operations",
"invoicingPartnerShortName":"GOILBASINPROM",
"invoicingPartnerDescription": "Refinery and Oil Corporation",
"customerAccountNumber":"3560",
"supplierName": "Green Corp",
"supplierBU": 204,
"supplierSiteCode":"POZ14170",
"invoicingPartnerStatus": "Active"
}

Response Header Example

The following shows an example of the response header.

<Enter the Response header>

Response Body Example

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

{
  "invoicingPartnerDescription" : "Refinery and Oil Corporation",
  "invoicingPartnerId" : 300100186133327,
  "invoicingPartnerName" : "GOILBASINPROM",
  "invoicingPartnerShortName" : "GOILBASINPROM",
  "supplierPartyName" : "Green Corp",
  "customerPartyName" : "Seven Corporation",
  "supplierBU" : 204,
  "supplierSiteCode" : "POZ14170",
  "supplierName" : "Green Corp",
  "invoicingPartnerStatus" : "Active",
  "customerTaxNumber" : null,
  "supplierTaxNumber" : null,
  "customerAccountNumber" : "3560",
  "customerSetName" : "Vision Operations",
  "customerSiteLocation" : null,
  "warningMessage" : "JV-6165020-The supplier and customer associated with the invoicing partner are different as they have different party IDs.",
  "customerAccountName" : "Green, Inc.",
  "createdBy" : "username",
  "creationDate" : "2020-02-12T10:33:00+00:00",
  "lastUpdatedBy" : "username",
  "lastUpdateDate" : "2020-02-12T10:33:00.159+00:00",
  "supplierAddress" : "900 Long Ridge Road,Stamford,CT,US,06902",
  "customerAddress" : "900 Long Ridge Road,Stamford,CT,US,06902",
  "supplierEmailAddress" : null,
  "customerEmailAddress" : null,
  "supplierPhone" : null,
  "customerPhone" : null,
  "activeFlag" : true
}
Back to Top