Retrieve Task Status for Oracle Profitability and Cost Management Cloud

Displays the current status of the job process name.

REST Resource

GET/epm/rest/{api_version}/applications/jobs/checkTaskStatusJob/{processName}

Request

Supported Media Types: application/json

Parameters

The following table summarizes the client request.

Table 13-11 Parameters

Name Description Type Required Default
api_version Version of the API you are developing with Path Yes None
applications Included in the path Path Yes None
processName The ID of the process or task flow for which to check the task status Path Yes None

Response

Parameters

The following table summarizes the response parameters.

Table 13-12 Parameters

Name Description
processName The Process Name or TaskflowId, such as RBkML1_ExportTemplate_D20160112T025419_836
task Task name, such as ExportTemplate
status Task status, such as Success

Supported Media Types: application/json

Example of Response Body

{
    "type": "Profitability",
    "links": [{
        "href": "https://<SERVICE_NAME>-<TENANT_NAME>.<SERVICE_TYPE>.<dcX>.oraclecloud.com/epm/rest/v1/applications/jobs/ChecktaskStatusJob/RBkML1_ExportTemplate_D20160112T025419_836",
        "action": "GET",
        "rel": "self"
    }],
    "status": 0,
    "details": "ExportTemplate=Success,RBkML1_ExportTemplate_D20160112T025419_836=Done",
    "statusMessage": "Success"