workflow.get

Retrieve comprehensive information about a specific Workflow.

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

Usage Info

This method returns detailed information about a Workflow, including its type, current state, associated Subject Record, and specific workflow details based on type. Use this method to track workflow progress, display workflow information to users, or determine what additional information might be needed to complete the workflow process.

Request

Authentication: KSig1-HMAC-SHA256

Parameters

ParameterTypeRequiredDescription
workflow_idstringYesThe ID for the Workflow.

Example

{
  "workflow_id": "w_2dJFFW3HY8a3zOjqwUXhQc"
}

Response

Data

ParameterTypeDescription
workflowobjectThe workflow parameter is defined in the tables below.

Workflow Parameters

ParameterTypeDescription
workflow_idstringThe ID for the Workflow.
typestringThe type of Workflow. Must be one of WORKFLOW_TYPES.
subject_record_idstringThe Subject Record to associate with the Workflow. If the value is not supplied then a new Subject Record of the appropriate type is created.
statestringThe state of the Workflow. Must be one of WORKFLOW_STATES.
detailsobjectOne of the Workflow Details object.
started_atstringThe date-time when the Worfkow was started.

The value will be in ISO 8601 date and time format (YYYY-MM-DDTHH:mm:ss.SSSZ).
ended_atstringThe date-time when the Workflow was ended.

The value will be in ISO 8601 date and time format (YYYY-MM-DDTHH:mm:ss.SSSZ).
created_atstringThe date-time when the Worfkow was created.

The value will be in ISO 8601 date and time format (YYYY-MM-DDTHH:mm:ss.SSSZ).
updated_atstringThe date-time when the Workflow was last updated. If there has been no update, the value will be the same as the created_at value.

The value will be in ISO 8601 date and time format (YYYY-MM-DDTHH:mm:ss.SSSZ).

Workflow Details

Workflow TypeWorkflow Details
BUSINESS_APPLICATIONBusiness Application Details

Business Application Details Parameters

ParameterTypeDescription
applying_userobjectThe object containing information about the Applying User. This information is used for identification, communication, and authentication.
pricing_model_idstringThe ID of the pricing model to use. Different pricing models allow a single account to allow different rules for determining pricing.
equipment_catalog_idstringThe ID of the equipment collection catalog to use. Equipment collections are created during account setup and is optional.
referrer_idstringThe customer provided value to identify how application was referred, such as a marketplace, website, or sales person.

Applying User Parameters

ParameterTypeDescription
emailstringThe email address of the applying user.
first_namestringThe first name of the applying user.
last_namestringThe last name of the applying user.

Example

{
  "meta": {
    "status": "SUCCESS",
    "trace_id": "trc_6OI5blm21ZoSlq0PC3RqJV",
    "version": "2025-03-24"
  },
  "data": {
    "workflow": {
      "workflow_id": "w_2dJFFW3HY8a3zOjqwUXhQc",
      "type": "BUSINESS_APPLICATION",
      "subject_record_id": "sr_163Gh1ONk6BCHF9iYVDHcv",
      "state": "STARTED",
      "details": {
        "business_application_details": {
          "applying_user": {
            "email": "[email protected]"
          },
          "referrer_value": "UAYACG123"
        }
      },
      "started_at": "2025-01-18T07:29:18.472Z",
      "ended_at": "2025-01-18T07:29:18.472Z",
      "created_at": "2025-01-18T07:29:18.472Z",
      "updated_at": "2025-01-18T07:29:18.472Z"
    }
  }
}

Errors

Error CodeHTTP CodeDescription
BAD_REQUEST400Required parameters not provided.
Invalid values provided.
ENTITY_NOT_FOUND 400The workflow_idprovided does not exist.