openapi: 3.0.0 info: title: LeanData Matching and Round Robin API description: >- Real-time Salesforce-native matching and routing via the LeanData managed package Apex REST endpoint. Includes lead/contact/account matching, duplicate detection, related-record lookups, and round-robin assignment. version: 1.0.0 servers: - url: https://yourinstance.my.salesforce.com paths: /services/apexrest/LeanData/LeanDataAPI: post: tags: - Matching summary: One Time Routing description: >

Purpose: Runs one-time routing via a specified graph on a set of standard objects (Lead, Contact, Account, Opportunity, Case) based on SOQL query

Required Body Params:

Optional Body Params:

Available in version 1.500+ of LeanData

requestBody: content: application/json: schema: type: object example: requesterName: LeanData apiType: routing operation: oneTime version: '2' objectType: Lead condition: Title ='CEO' graphName: Test Routing Api notificationsDisabled: false sendEmail: true nodeType: Update Trigger edgeName: Lead is MQL parameters: - name: Authorization in: header schema: type: string example: Bearer {{sessionid}} - name: Content-Type in: header schema: type: string example: application/json responses: '200': description: Successful response content: application/json: {}