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
-
taskId(required): integer(int32)
Id of the task created by the generateConfigurations API
Response
Supported Media Types
- application/json
200 Response
Successful response containing logs for the specified taskId.
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" } ] }