Get Auto-Generate Configuration Models Task Logs

get

/rest/v19/bomItemSetups/actions/getLogs/{taskId}

Use this endpoint to retrieve detailed processing logs related to model configuration generation. It returns status details of BOM processing, including success, failure, and skipped counts. It also includes processing metrics like total processing time and per-record performance.

Request

Path Parameters
Back to Top

Response

Supported Media Types

200 Response

Successful response containing logs for the specified taskId.
Body ()
Root Schema : schema
Type: object
Response model for Get Logs API
Show Source
Nested Schema : details
Type: array
Show Source
Nested Schema : metrics
Type: object
Show Source
Nested Schema : summary
Type: object
Show Source
Nested Schema : items
Type: object
Show Source
Back to Top

Examples

The following example shows how to retrieve detailed processing logs related to model configuration generation by submitting a GET request to the REST resource using cURL. For more information about cURL, see Use cURL.

curl -X GET -H "Authorization: Bearer <token>" -H "Accept: application/json"
https://sitename.oracle.com/rest/v19/bomItemSetups/actions/getLogs/12345

Response Body Sample

{
  "taskId": 12345,
  "overallBatchStatus": "Completed",
  "summary": {
    "totalNumberOfBomsFailed": 2,
    "totalNumberOfBomsProcessed": 18,
    "totalNumberOfBomsRead": 20,
    "totalNumberOfBomsSkipped": 0
  },
  "metrics": {
    "averageProcessingTimePer1000Records": "5.2s",
    "totalTimeTaken": "2m30s"
  },
  "details": [{
      "rootBomVarName": "BOM_001",
      "status": "Processed"
    }, {
      "rootBomVarName": "BOM_002",
      "status": "Failed"
    }
  ]
}
Back to Top