Request Data Extract
post
/rest/v19/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 NamesPipe(|)separated attribute names to extract -
documentName(required):
string
Title:
Document Variable NameDocument Variable Name -
modifiedDate:
string
Title:
Modified DateModified Date -
parURL(required):
string
Title:
Pre-Authenticated Request URLPre-Authenticated Request URL -
processName(required):
string
Title:
Process Variable NameProcess Variable Name -
timeoutHours:
integer
Title:
Timeout HoursTimeout 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:
MessageSubmit Task Message -
taskId:
string
Title:
Task IdentifierTask 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 -H "Authorization: Bearer <token>" - H "Content-type: application/json" https://sitename.oracle.com/rest/v19/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"
}