Additional Parameters

Overview

This topic provides information for various parameters for CPQ REST APIs.

ClosedDestination URL Parameter

This parameter contains the destination URL when an Oracle CPQ action has a destination tab with a configured destination. When available, the destination URL is returned in the JSON response.

Destination URL Sample
"destinationURL": "https://sitename.oracle.com/commerce/display_company_profile.jsp?action_id=17905905&document_id=4356178&bsId=18016533&versionId=15514396"
The destination URL value may change from release to release. Consequently, logic should not rely on a specific fragment of the URL.

ClosedPartner Information Parameter ( for New Transaction REST API )

The "partnerInfo" parameter for New Transaction actions supports Commerce integrations. This parameter contains the "partnerOpportunityId" and "partnerAccountId" parameters.

ClosedRequest Body Sample

ClosedRevision Id Parameter

The "revsionId" parameter can be included in the request and response body for most Commerce action REST APIs. The revisionId is a critical part of client-server communication for collaboration. It enables the server to identify the latest revision from the clients. The most recent revision of a data change is applied on top of the last revision. Without the revision id, it's possible that an out-of-date request from one client could accidentally revert a concurrent change requested by a different client.

Unlike the cacheInstanceId, "-1" is not a valid revisionId value. When loading a Transaction for the first time, the revisionId parameter is omitted from the request. After the first request, the client should retrieve the revisionId from every response, store it on client side, and include it with the next request.

Note: The following Commerce actions currently do not accept the revisionId parameter: _dropCache, _send_email, _print_document, _pipelineViewer, and _retrieve_alternate_address. Do not send the revisionId parameter with these actions.


ClosedSelection Parameter

The Selection parameter is used in the REST call request body to select specific items, such as external order asset keys, data table items, eligibility rules, tasks, or transaction lines. This parameter can be used for transaction level actions that support line selection.

ClosedAsset Key Example

ClosedData Table Examples

ClosedTasks Example

ClosedTransaction Line Example


ClosedSkip Integration Parameter

RESTful action services automatically execute the integration tasks specified in the integration tab of the action definition. Set the "skipIntegration" parameter to "true" to disable the execution of integration tasks.

Skip Integration Syntax: "skipIntegration": true.


ClosedSkip Rules Parameter

To optimize Commerce rules evaluation during REST API services, customers can include the "skipRules" parameter in request body for Commerce Modify type REST API calls. When this parameter is provided in the REST call, Access Rules will not be evaluated. This parameter can be used with the endpoint for any Modify type action.

 {
  "cacheInstanceId": "...",
  "criteria": {
    ...
  },
  ...,
  "skipRules": ["HIDING"],
  "documents": {
    ...
  }
}

Related Topics

Related Topics Link IconSee Also