Create a Performance Debugger Logging Task
post
/rest/v19/performanceDebugger/actions/createLog
Use this endpoint to create a performance debugger log for the Configuration action identified in the request payload.
Request
Supported Media Types
- application/json
Root Schema : Performance Debugger Create Log Request
Type:
objectTitle:
Show Source
Performance Debugger Create Log Request-
actionName:
string
Title:
Action NameWhat action to performance profile -
bsId:
integer
Title:
bsIdID of a transaction used as a configuration source (for reconfigure) or an invocation target (for add to transaction) -
description:
string
Title:
DescriptionUser entered description of the run -
documentNumber:
integer
Title:
documentNumberDocument Number for a model line on the specified transaction to be used as a data source (for reconfigure) -
favoriteId:
integer
Title:
Favorite IDID of a favorite to be used as input data -
headlessMode:
boolean
Title:
Headless ModeThis property determines the API execution behavior. When false, API execution mimics the legacy UI behavior. When true, executes in UI agnostic mode. The default value is false. -
invocationId:
integer
Title:
Invocation IDID of a process invocation to be used for invocation -
model:
string
Title:
ModelThe variable name of the model -
productFamily:
string
Title:
Product FamilyThe variable name of the product family -
productLine:
string
Title:
Product LineThe variable name of the product line
Response
Supported Media Types
- application/json
Default Response
Root Schema : Performance Debugger Create Log Response
Type:
objectTitle:
Show Source
Performance Debugger Create Log Response-
id:
integer
Title:
IdPrimary Key of the resource
Examples
The following example shows how to create a performance debugger log for the Configuration action identified in the request payload 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/performanceLogger/actions/createLog
Request Body Samples
Add to an Existing Transaction
{
"actionName": "CONFIG_ADD_TO_TXN" ,
"favoriteId": 3023525714,
"bsid" : 3023337829
}
Add to Cart
{
"actionName": "CONFIG_ADD_TO_CART",
"favoriteId": 3023525714,
"invocationId": 6993047
}
Configure
{
"actionName": "CONFIG_CONFIGURE",
"description": "CONFIGURE: Vision Vehicles SUV",
"productFamily": "visionVehicles",
"productLine": "consumerVehicles",
"model": "sUV"
}
Create a New Transaction from Configuration (i.e. Invocation)
{
"favoriteId": 3023525714,
"invocationId": 12068225,
"actionName": "CONFIG_INVOKE"
}
Reconfigure (Inbound)
{
"bsId": 12068225,
"documentNumber": 2,
"actionName": "CONFIG_RECONFIGURE"
}
Reconfigure and Save
{
"actionName": "CONFIG_SAVE_AFTER_RECONFIGURE",
"bsid" : 3023337829,
"documentNumber": 2
}
Update
{
"description": "This is a test payload",
"favoriteId": 18350193,
"actionName": "CONFIG_UPDATE"
}
Response Body Sample
{
"id": "3023221370"
}