naftiko: 1.0.0-alpha2 info: label: LeanData Round Robin API — Routing description: >- LeanData Round Robin and One-Time Routing operations dispatched through the managed package's Apex REST endpoint. Supports standard rotation, flexible/weighted distribution with working-hours and vacation rules, pool inspection, and ad-hoc one-time routing across standard Salesforce objects (Lead, Contact, Account, Opportunity, Case). tags: - LeanData - Round Robin - Routing - Assignment - Salesforce created: '2026-05-25' modified: '2026-05-25' binds: - namespace: env keys: LEANDATA_SF_INSTANCE_URL: LEANDATA_SF_INSTANCE_URL LEANDATA_SF_ACCESS_TOKEN: LEANDATA_SF_ACCESS_TOKEN capability: consumes: - type: http namespace: leandata-round-robin baseUri: ${LEANDATA_SF_INSTANCE_URL} description: LeanData Round Robin and Routing — Salesforce Apex REST dispatch endpoint. headers: Authorization: Bearer ${LEANDATA_SF_ACCESS_TOKEN} Content-Type: application/json resources: - name: leandata-api path: /services/apexrest/LeanData/LeanDataAPI operations: - name: roundRobinStandard method: POST description: Run a standard round-robin assignment against a configured pool. outputRawFormat: json inputParameters: - name: body in: body type: object required: true - name: roundRobinFlexible method: POST description: Run a flexible/weighted round-robin assignment with vacation and working-hours rules. outputRawFormat: json - name: roundRobinPoolInformation method: POST description: Inspect a round-robin pool's members, weights, and availability state. outputRawFormat: json - name: oneTimeRouting method: POST description: Run one-time routing via a specified graph against standard Salesforce objects. outputRawFormat: json