workflow.applicationSummary.getDownload

Get the download url for an application summary.

POST http://api.kompliant.com/workflow.applicationSummary.getDownload (OpenAPI specification)

Usage Info

Retrieve a the download url of a specific application summary of the specified workflow.

This method is only supported for Workflows of type BUSINESS_APPLICATIONand requires Workflow to have status :ENDED

Request

Authentication: KSig1-HMAC-SHA256

Parameters

ParameterTypeRequiredDescription
workflow_idstringYesThe identifier for the Workflow

Example

{
  "workflow_id": "w_7h1EpxerrZQyLnRC1EQ9Ck",
}

Response

Data

ParameterTypeDescription
application_summaryobjectThe application_summary parameter is described below.

Application Summary Parameters

ParameterTypeDescription
download_urlstringThe presigned url of the application summary.

Example

{
  "meta": {
    "status": "SUCCESS",
    "trace_id": "trc_6zNzQZHSf26V83BO3uW6dS",
    "version": "2025-03-24"
  },
  "data": {
    "application_summary": {
      "download_url": "https://mockurl.com/url",
    }
  }
}

Errors

Error CodeHTTP CodePossible Cause
BAD_REQUEST400Required parameters not provided.
Invalid values provided.
ENTITY_NOT_FOUND400The workflow_id provided does not exist.
SYSTEM_RULE_VIOLATION400System rule violations are described below
SYSTEM_EXCEPTION400System exceptions are described below

System Rule Violations

When a SYSTEM_RULE_VIOLATION error occurs, the response will include additional entity_type and sub_code fields to provide more specific information:

Entity TypeSub-codeDescription
WorkflowWORKFLOW_IN_PROGRESSapplicationSummary.getDownload action is not allowed when the workflow is in STARTED state
WorkflowWORKFLOW_CREATEDapplicationSummary.getDownload action is not allowed when the workflow is in CREATED state
WorkflowINVALID_WORKFLOW_TYPEWorkflow must be type BUSINESS_APPLICATION

System Exceptions

When a SYSTEM_EXCEPTION error occurs, the response will include additional entity_type and sub_code fields to provide more specific information:

Entity TypeSub-codeDescription
ApplicationSummaryAPPLICATION_SUMMARY_FAILEDThe generation for the application summary failed and is not possible to generate an url for download.
ApplicationSummaryAPPLICATION_SUMMARY_IN_PROGRESSThe application summary is not ready for download yet.
ApplicationSummaryAPPLICATION_SUMMARY_NOT_FOUNDApplication summary for specified workflow_idnot found.