Cubu Docs
Technical Guide
Technical Guide
  • Welcome to Cubu's Technical Guide!
  • White Papers
    • Data Protection
    • Sign On and Authentication
  • Advanced Configuration
    • Configuring Video Meetings
      • ⚒️Using Microsoft Teams for Video Meetings
      • ⚒️Using Zoom for Online Meetings
    • Calendar Integration
      • ⚒️Configuring Microsoft Office 365 Calendar Integration
      • ⚒️Configuring Google Workspace Calendar Integration
    • Configuring Single Sign On (SSO)
      • ⚒️Configuring SSO with Azure AD
      • ⚒️Configuring SSO with Okta
      • ⚒️Configuring SSO with Auth0
    • Configuring Chatbots
      • Configure Chatbot using WhatsApp
  • Webhooks
    • Webhooks Configuration
    • Developing Webhooks
      • Dev Tools
      • HMAC Validation (ASP.NET Core)
    • Webhooks Reference
      • Organization Webhooks
        • 🪝Webhook: Send SMS
      • Data Table Webhooks
        • 🪝Webhook: Query
        • 🪝Webhook: Find
        • 🪝Webhook: Fetch
      • Service Webhooks
        • 🪝After Book Appointment
        • 🪝After Check In
        • 🪝After Close
        • 🪝Before Book Appointment
        • 🪝Before Check In
        • 🪝Before Queue-Up
        • 🪝Before Resolve
        • 🪝After Queue-up
        • 🪝After Resolve
        • 🪝After Start Work
      • Kiosk Webhooks
        • 🪝Before Query Appointments
  • Server to Server (S2S) API
    • Server to Server (S2S) API
Powered by GitBook
On this page
  • API
  • URL
  • Request Body
  • Response Body
  1. Webhooks
  2. Webhooks Reference
  3. Data Table Webhooks

Webhook: Fetch

This webhook fetches a specific data record from the remote system. The request contains the table’s slug and the remote record ID (the record ID is stored on the legacy database).

This method is called when a customer record is linked to a case record. The fetched data record is stored in the Customers table, and the local record is linked to the case record.

If a local data record already exists, it is updated with the remote data.

API

URL

[base-url]/dataTable/actions/fetch

Request Body

  • dataTableSlug: The data table's slug.

  • remoteRecordId: The ID of the record to fetch from the legacy system.

Response Body

  • remoteRecordId: The ID of the record on the legacy system.

  • displayName: The data record display name.

  • fields: An array of:

    • slug: The field’s slug.

    • data: The field’s data object (see ).

PreviousWebhook: FindNextService Webhooks

Last updated 1 year ago

🪝