Auto Auction Integration Manual

Developer guidance for integrating DecisioQ Auto Auctions decisions with auction, remarketing, dealer, fleet, lender, and logistics platforms.
1Auto Auctions Overview

The Auto Auctions sector in the DecisioQ Decision Catalog is identified by AUTO-AUCT. It supports auction and remarketing workflows where teams compare vehicles, lots, buyers, sellers, reserves, lane choices, and transportation vendors.

DecisioQ integrations should not hard-code old template names. They should load the Decision Catalog, select the Auto Auctions sector, choose a real category, then choose a decision by Decision Name while preserving the decision ID internally.

Recommended first deployment: start with one high-value advisory workflow, such as vehicle acquisition or bid optimization. Compare DecisioQ recommendations against existing buyer or auction manager decisions before automating actions.

2Catalog Discovery Flow

Auto Auction client applications should use the same discovery flow as the Business Decision Studio:

  1. Call GET /decisioncatalog.
  2. Select sector AUTO-AUCT using its sector name and decision count.
  3. Populate Category from the selected sector's real categories[] collection.
  4. Populate Decision from the selected category's decisions[], or call GET /decisioncatalog/sectors/AUTO-AUCT/categories/{categoryCode}/decisions when decisions are not embedded.
  5. Display Decision Name in dropdowns and keep the decision ID as the option value.
  6. Call GET /decisioncatalog/decisions/{decisionId} to load full decision metadata, criteria, profiles, scenarios, validation, samples, and overview content.

Decision detail metadata should drive the UI. Criterion summaries, purpose, business meaning, data guidance, and common pitfalls can be shown beside the Business Data entry fields.

For regional deployments, keep DecisioQ technical identifiers stable and localize only user-facing labels and guidance. Unless the selected endpoint and decision schema explicitly support unit-qualified input, convert mileage, distance, pressure, temperature, mass, volume, speed, fuel consumption, and other measurements to the required canonical units before submission. Do not infer units or currency from locale.

3Auto Auction Use Cases
Use CasePrimary UsersTypical Decision Factors
Vehicle acquisitionBuyer, acquisition desk, fleet intake.Expected profit, market demand, condition, estimated winning bid, transport cost, expected days to sell.
Bid optimizationOnline or live auction bidding team.Expected ROI, current bid, demand, risk, condition, reserve confidence.
Reserve price settingSeller services and pricing teams.Sale probability, expected proceeds, inventory age, competition, market movement.
Lane schedulingAuction operations managers.Buyer interest, expected revenue, volume, complexity, staffing and lane capacity.
Seller selectionCommercial account teams.Vehicle quality, sell-through, profit, dispute rate, volume, strategic value.
Buyer qualificationRegistration, compliance, credit, and floorplan teams.Purchase history, payment reliability, credit support, dispute history, compliance risk.
Transportation vendor selectionPost-sale operations and dispatch.Cost, delivery time, damage rate, capacity, reliability, route fit.
4Business Data Mapping

Auto Auction integrations should map operational data into decision-specific Business Data. The selected decision detail defines which criteria are required, how values should be measured, and whether lower or higher values are better.

Source FieldBusiness MeaningMapping Guidance
VIN, lot ID, seller stock numberStable candidate identifier.Use as optionId. It must be editable or traceable in the UI when users enter candidate cases.
Condition report scoreVehicle quality and expected reconditioning effort.Map to the decision criterion used for condition. Keep scale and unit consistent with catalog guidance.
Estimated winning bid or acquisition priceCost to obtain the vehicle.Include buyer fees when they are part of acquisition cost.
Market demand indexExpected retail or wholesale demand.Use a normalized demand score from the same lookback window across candidates.
Transportation estimateCost and effort to move the vehicle after sale.Use the current route quote or a standardized lane estimate.
Days to sell or inventory ageLiquidity and holding-cost risk.Do not mix age in days with derived score unless the criterion explicitly asks for a score.

Do not invent criterion IDs or fallback names in client code. Use canonical criterion IDs and display names from /decisioncatalog/decisions/{decisionId}.

5Preview and Execute Workflow

Production integrations should keep credentials and bearer tokens on trusted servers or server-side gateways. Browser pages should use same-origin proxy handlers or their own backend service.

  1. Trusted backend obtains a JWT token from identity.vinquery.com.
  2. Application loads catalog and decision detail metadata.
  3. User or system prepares Business Data for candidate cases.
  4. Call POST /api/v1/validate to validate and prepare the request before execution.
  5. Call POST /api/v1/decide to return the authoritative Decision Result.
  6. Display the recommendation, ranked alternatives, warnings, assumptions, and Explanation of Decision Result.
  7. Keep execution trace and diagnostics available to integrators, but collapsed or hidden by default for business users.

Use /api/v1/decide for both Prepared Criteria Mode and business-data integrations that submit a businessData object. New public onboarding should prefer Preview Decision and Execute Decision terminology.

6Example Request Shape

The exact fields depend on the selected Auto Auction decision. The example below shows the integration style rather than a guaranteed schema for every decision.

{
  "decisionId": "AUTO-AUCT-008",
  "decisionPreparationModelId": "AUTO-AUCT-PROFILE-STANDARD",
  "scenarioId": "AUTO-AUCT-SCENARIO-MARKET-DEMAND",
  "businessData": {
    "candidates": [
      {
        "optionId": "LOT-10482",
        "name": "2021 Toyota Camry SE",
        "values": {
          "purchasePrice": 16800,
          "estimatedGrossProfit": 2900,
          "conditionScore": 86,
          "marketDemandScore": 78,
          "transportationCost": 425,
          "expectedDaysToSell": 24
        }
      },
      {
        "optionId": "LOT-10491",
        "name": "2020 Honda Accord EX",
        "values": {
          "purchasePrice": 15750,
          "estimatedGrossProfit": 2550,
          "conditionScore": 82,
          "marketDemandScore": 81,
          "transportationCost": 610,
          "expectedDaysToSell": 28
        }
      }
    ]
  },
  "requestContext": {
    "correlationId": "auction-workbench-20260717-001"
  }
}
7Backend Call Pattern

This pattern belongs in a trusted backend, not directly in browser JavaScript.

async function executeAutoAuctionDecision(decisionInput, jwtToken) {
  const response = await fetch(`${process.env.DECISIOQ_BASE_URL}/api/v1/decide`, {
    method: "POST",
    headers: {
      "Authorization": `Bearer ${jwtToken}`,
      "Content-Type": "application/json"
    },
    body: JSON.stringify(decisionInput)
  });

  if (!response.ok) {
    throw new Error(`DecisioQ execution failed: ${response.status} ${await response.text()}`);
  }

  return await response.json();
}
8UI and Workflow Integration
UI ElementRecommended DisplayWhy It Matters
Choose a DecisionSector, Category, Decision, Profile, and Scenario selectors populated from catalog metadata.Users see business names while integrators retain stable IDs.
Selection OverviewSector, category, and decision overviews in one collapsible panel.Business users understand the decision before entering data.
Guided Data CollectionCriterion label, field, data type indicator, summary, and expandable "More about this criterion".Improves data quality and reduces support questions.
Candidate CasesTwo fields per row where practical, editable option ID, and visible units or data type indicators.Auction operators can review lots quickly without feeling like they are using an API tool.
Decision ResultRecommendation, ranking, confidence, and key drivers.Users need the answer and the reason.
Outcome Follow-upAccepted, Rejected, or Overridden; selected option and override reason when applicable.Connects the recommendation to the action actually taken.
Realized ValueOutcome status plus a consistently defined financial or operational metric.Measures adoption and business value without changing deterministic scoring.
ExplanationBusiness-friendly explanation without AI provider branding.Supports trust while keeping the UI provider-neutral.
DiagnosticsCollapsed technical panel for status, timings, warnings, and errors.Useful for integrators without distracting business users.
9Production Readiness
  • Store identity credentials, Decision API base URL, and proxy configuration in trusted server configuration or a secret manager.
  • Do not expose bearer tokens or integration credentials in browser code.
  • Use catalog metadata rather than hard-coded categories, decisions, criteria, profiles, or scenarios.
  • Validate Business Data before execution and show user-friendly validation messages.
  • Persist correlation ID, decision ID, profile ID, scenario ID, selected option, score, and explanation for audit.
  • Retain the successful decision response requestId with the host business transaction, then call POST /api/v1/decision-outcomes when the action and realized result are known.
  • Require an overrideReason for overridden recommendations; never infer acceptance merely because a result was displayed.
  • Monitor GET /api/v1/decision-outcomes/summary for acceptance rate, override rate, and realized-value aggregates. Treat outcome feedback as reporting evidence, not automatic model training.
  • Redact sensitive buyer, seller, and payment data in logs and diagnostics.
  • Monitor catalog load failures, token refresh failures, API latency, validation failures, and unusual exclusion rates.
  • Define fallback behavior so auction workflows remain usable when DecisioQ is unavailable.
  • Review Decision Preparation Models and scenario assumptions with business owners when market conditions materially change.
10Troubleshooting
SymptomLikely CauseFix
Category list is empty.The catalog response does not include categories for the selected sector, or the client is reading an old category layer.Use selectedSector.categories[] from /decisioncatalog.
Decision dropdown shows IDs only.The client did not load decision detail or category decision names.Display Decision Name as the label and keep decision ID as the option value.
Criterion guidance is missing.Decision detail lacks criterion overview metadata or the page is not rendering it.Read criterion overview from /decisioncatalog/decisions/{decisionId} and show available summaries.
Secure session could not be refreshed.Token proxy or identity service configuration failed.Check server-side identity configuration and proxy logs; do not request tokens directly from browser JavaScript.
Decision execution failed.Decision API unavailable, invalid Business Data, authorization failure, or account verification issue.Check response envelope, HTTP status, correlation ID, Decision API health, and server logs.
Unexpected winner.Scale, units, direction, or values do not match catalog criterion guidance.Compare Business Data fields against criterion overview and validation metadata.