/multiActions/<multiActionID>/executions/<executionID>

Allows you to query the execution status of an initiated multi action.

GET /api/v1/multiActions/<multiActionID>/executions/<executionID>

Queries the execution status of an initiated multi action.

  • HTTP Headers:

    • Authorization: Bearer <access_token>

  • URL Parameters: <multiActionID> should be of format <packageId>:<objectId>. For example, t.TEST:CEEFOKMRUKJBY5BN47F1NS2L8G. <executionID> is available in the response from the request to initiate the multi action.

  • Response Body

    Response

    Example Response

    200: Normal response returned

    Successful:
    {
       "executionId": "51601280F5B5DE962C3DF075030EF53B",
       "status": "successful",
       "utcStartDate": "2023-07-12T10:08:28.000Z",
       "executionResult": {
           "messages": []
      }
    }
    
    Failed:
    {
       "executionId": "DBA802077505034BD274C96CA0963167",
       "status": "failed",
       "executionResult": {
           "messages": [
              {
                   "code": "501000515",
                   "severity": "error",
                   "message": "Member \"public.Budget\" does not exist in the dimension or selected hierarchy or is hidden.",
                   "details": [
                      {
                           "parameterId": "TargetVersion"
                      }
                  ]
              },
              {
                   "code": "502004003",
                   "severity": "error",
                   "message": "The automatic version management task couldn't be validated, because the version public.Budget of model MD1 doesn't exist.",
                   "details": [
                      {
                           "stepName": "VM Step",
                           "parameterId": "TargetVersion"
                      }
                  ]
              }
          ]
      }
    }
    

    401: Unauthorized

    Unauthorized

    404: Not Found

    "messages": [
    {
    "code": "596000996",
    "severity": "error",
    "message": "The resource does not exist or you do not have permission to read it."
    }
    ]
    }
    

    500: Server error/exception

    {
    "messages": [
    {
    "code": "597000997",
    "severity": "error",
    "message": "<some internal server error>"
    }
    ]
    }
    
    Refer to the following format for normal response:
    {
        "executionId": "7EA803048316FA689A6349A0E7537366",
        "status": "successful"|"failed"|"warning"|"running",
        "executionResult": {
     
          "messages": [
              {
                "severity": "string",
                "code": "string",
                "message": "string",
                "details": [{
                    "parameterId": "string", //this property is only supposed to be applied to validation error if the error is related to some step
                    "stepName":"string", //this property is only supposed to be applied to validation error if the error is related to some step
                    "logs": [//this field only applies to step execution errors,and it collects error/warning logs from execution of steps
                        {
                            message: "string",
                            severity: "error"|"warning"|"info"
                        }
                    ]
              }]
           }
        ]
     
         }
    }