Request Data Extract
post
/rest/v16/extract/transactions
Use this endpoint to submit an asynchronous task to extract CPQ transaction and transaction lines data.
Request
Supported Media Types
- application/json
Root Schema : extractData_TransactionRequest
Type:
Show Source
object
-
attributes(required):
string
Title:
Attribute Names
Pipe(|)separated attribute names to extract -
documentName(required):
string
Title:
Document Variable Name
Document Variable Name -
modifiedDate:
string
Title:
Modified Date
Modified Date -
parURL(required):
string
Title:
Pre-Authenticated Request URL
Pre-Authenticated Request URL -
processName(required):
string
Title:
Process Variable Name
Process Variable Name -
timeoutHours:
integer
Title:
Timeout Hours
Timeout Hours as a positive integer
Response
Supported Media Types
- application/json
Default Response
Provides taskId and a message
Root Schema : extractData_SubmitResponse
Type:
Show Source
object
-
message:
string
Title:
Message
Submit Task Message -
taskId:
string
Title:
Task Identifier
Task Id
Examples
The following example shows how to submit an asynchronous task to extract CPQ transaction and transaction lines data by submitting a POST request to the REST resource using cURL. For more information about cURL, see Use cURL.
curl - X POST - i - H "Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQg" - H "Content-type: application/json" https://sitename.oracle.com/rest/v16/extract/transactions
Request Body
{ "processName": "transaction_bmClone_2", "documentName": "quote", "attributes": "ID|subtotal|_bill_to_address|addFromCatalogSaveFromForm|addFromCatalogAdvancedModifyInput|addFromCatalogAdvancedModifyOutput|addFromCatalogFormulaInput|addFromCatalogFormulaOutput", "modifiedDate": "yyyy-MM-dd HH:mm:ss", "parURL": "your storage parURL", "timeoutHours": "24" }
Response Body
{ "Task Id": 3022955677, "Message": "Extract request submitted successfully" }