Documentation
HomeSupportStatusSign in ->
  • Developer guide
  • How it works?
  • Integration Quick Guide
    • Link Flow
    • Embedded Flow
    • Running Workflow
  • Production setup
  • Webhooks
  • Widget
    • Methods
    • Inline mode
  • Postman Collection
  • Changelog
  • Records
    • Introduction
    • Migration Guide: Migrating from Cases to Records
  • TRANSACTIONLINK API
    • API Reference
      • Authentication
      • Cases (deprecated)
      • Resources
      • Parameters
      • Token
      • Link
      • Workflows
      • Records
        • Attachments
    • API Changelog
    • API Versioning
  • Integrations
    • AIS
      • Data fields availability across banks
      • Testing data
    • Autopay
    • BIG Info Monitor
      • Company Report
      • Personal Report
      • Entrepreneur Report
      • Plus Sco Plus CR3 Report
    • BankID
      • 🇳🇴Norway
      • 🇩🇰Denmark
    • CEIDG
      • Get company
      • List companies
    • Companies House
      • Public Data Api
        • Exemptions
        • Persons with significant Control
        • UK Establishments
        • Filing History
        • Registers
        • Registered Office Address
        • Company Profile
        • Officers
        • Insolvency
        • Charges
      • Documents Api
    • ComplyAdvantage
    • ComplyCube
      • Identity Verification
        • Document Check
        • Proof of Address Check
        • Identity Check
      • Document Check
      • AML Screening Check
      • Face Authentication Check
    • Data Ninja
      • Labeling
      • Profiling
      • Scoring
    • eDO App
    • GUS
    • IAML
    • KRD
      • Company Report
      • Personal Report
      • Identity Card Verification
    • mObywatel
      • CitizenDetails
      • CitizenNationality
    • OnDato
    • Polish VAT Whitelist
    • Przelewy 24
    • PWG
    • QARD
    • Rejestr.io
    • Registru Centras
      • Get company
      • List documents
      • Get document
    • Smart-ID
    • SMS API
    • Twilio
    • MojeId
    • Veriff
      • Supported Browsers
    • VIES (Vat Validation)
      • vies
    • Zoho Sign
      • Adding document fields automatically using text tags
    • Idenfy
    • GBG
      • IDScan
      • Verifications
    • Visa
    • KYB
      • Company Profile
    • Handelsregister
      • Company profile
        • List companies
        • Get company
        • Get company documents
    • InfoCamere
      • Company profile
        • List companies
        • List persons
        • Get company
        • Get person
        • Get documents
    • CBE - Belgium Company Register
      • Company profile
        • List companies
        • Get company
        • List documents
        • Get document
    • Transparenzregister
      • Beneficial owners
        • List companies
        • List documents
        • Get documents
    • CVR (Danish Central Business Register)
      • Company profile
        • List Companies
        • Get Company
        • Get document
    • Malta Business Registry
      • Company profile
        • List Companies
        • Get Company
Powered by GitBook
On this page
  • Overview
  • Key Changes
  • API Changes
  • Migration Steps
  • Frequently Asked Questions (FAQ)

Was this helpful?

  1. Records

Migration Guide: Migrating from Cases to Records

PreviousIntroductionNextAPI Reference

Last updated 3 months ago

Was this helpful?

Overview

This guide outlines the changes related to workflow execution in the API and provides steps for adapting integrations accordingly.

Key Changes

Creating a Case is Now Optional

  • Previously, running a workflow required associating it with a case.

  • Now, workflows can be executed without creating a case.

  • In the new API, creating a case is no longer necessary, and workflows can be executed independently.

Deprecation of Case API

  • The API for creating cases will be marked as deprecated in favor of the new Records system.

  • Workflows can still be run independently, even without using Records.

Running Workflows for Records

  • A recordId can be provided to execute a workflow for a specific record.

  • If recordId is omitted, workflows can create records dynamically if configured properly.

Important: recordId is optional unless you want to use our CRM system. If you wish to do so, please contact for configuration. Without this, you can still execute workflows and retrieve results as usual.

API Changes

Migration Steps

When making API requests, ensure that you send the header Accept: application/json;version=2 to use new endpoints.

1. Update Workflow Execution

Changes:

  • Old: POST /workflows/run (uses caseId)

  • New: POST /workflows/run (uses recordId)

Migration Steps:

  • Replace caseId with recordId in the request payload.

  • Ensure that the correct recordId is passed when applicable.

  • If no recordId is given, workflows will execute normally.

2. Update Workflow Status Retrieval

Changes:

  • Old: GET /workflows/{workflowId} returns caseId.

  • New: GET /workflows/{workflowId} returns recordId

Migration Steps:

  • Modify your integration to use recordId instead of caseId in the response when applicable.

  • Ensure that any business logic that depends on caseId is updated accordingly.

3. Update Workflow Result Retrieval

Changes:

  • Old: GET /case/{caseId} returns case-based data (deprecated).

  • New: GET /workflows/{workflowId}/result returns workflow-based data.

  • The response structure remains the same.

Steps:

  • Update all API references from /case/{caseId} to /workflows/{workflowId}/result.

  • Ensure that workflows are correctly mapped to their corresponding workflowId.

4. Update Token Generation

Changes:

  • Old: POST /token (uses caseId).

  • New: POST /token (uses recordId).

Steps:

  • Replace caseId with recordId in the token generation request.

  • Ensure that the correct recordId is passed when applicable.

5. Update Link Generation

Changes:

  • Old: POST /link and POST /link/send (uses caseId).

  • New: POST /link and POST /link/send (uses recordId and requires email in POST /link/send).

Steps:

  • Replace caseId with recordId in link generation requests.

  • Ensure that the correct recordId is passed when applicable.

  • Ensure that email is included in POST /link/send requests.

Frequently Asked Questions (FAQ)

1. Do I need to use recordId for all workflows?

No, recordId is optional unless you are using our CRM system. Workflows can still be executed without it.

2. What should I do if I used the /cases/{caseId} endpoint to retrieve the process result?

You have two options:

  1. Migrate to the record-based functionality by updating your workflow to use recordId instead of caseId. This may require modifying workflows to ensure compatibility with the new Records system.

  2. Use the /workflows/{workflowId}/result endpoint to retrieve workflow results instead of /case/{caseId}.

3. Can I still use the caseId parameter?

No, caseId is deprecated. You must switch to using recordId instead.

4. What should I do if my integration depends on caseId?

Update all references to caseId and replace them with recordId. Ensure that workflows function correctly with the updated API.

For further assistance, contact our support team at

tech@transactionlink.io
tech@transactionlink.io
Changelog 2025-02-13