Auto Auction Integration Manual
Developer guidance for integrating DecisioQ Auto Auctions decisions with auction, remarketing, dealer, fleet, lender, and logistics platforms.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.
Auto Auction client applications should use the same discovery flow as the Business Decision Studio:
- Call
GET /decisioncatalog. - Select sector
AUTO-AUCTusing its sector name and decision count. - Populate Category from the selected sector's real
categories[]collection. - Populate Decision from the selected category's
decisions[], or callGET /decisioncatalog/sectors/AUTO-AUCT/categories/{categoryCode}/decisionswhen decisions are not embedded. - Display Decision Name in dropdowns and keep the decision ID as the option value.
- 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.
| Use Case | Primary Users | Typical Decision Factors |
|---|---|---|
| Vehicle acquisition | Buyer, acquisition desk, fleet intake. | Expected profit, market demand, condition, estimated winning bid, transport cost, expected days to sell. |
| Bid optimization | Online or live auction bidding team. | Expected ROI, current bid, demand, risk, condition, reserve confidence. |
| Reserve price setting | Seller services and pricing teams. | Sale probability, expected proceeds, inventory age, competition, market movement. |
| Lane scheduling | Auction operations managers. | Buyer interest, expected revenue, volume, complexity, staffing and lane capacity. |
| Seller selection | Commercial account teams. | Vehicle quality, sell-through, profit, dispute rate, volume, strategic value. |
| Buyer qualification | Registration, compliance, credit, and floorplan teams. | Purchase history, payment reliability, credit support, dispute history, compliance risk. |
| Transportation vendor selection | Post-sale operations and dispatch. | Cost, delivery time, damage rate, capacity, reliability, route fit. |
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 Field | Business Meaning | Mapping Guidance |
|---|---|---|
| VIN, lot ID, seller stock number | Stable candidate identifier. | Use as optionId. It must be editable or traceable in the UI when users enter candidate cases. |
| Condition report score | Vehicle 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 price | Cost to obtain the vehicle. | Include buyer fees when they are part of acquisition cost. |
| Market demand index | Expected retail or wholesale demand. | Use a normalized demand score from the same lookback window across candidates. |
| Transportation estimate | Cost and effort to move the vehicle after sale. | Use the current route quote or a standardized lane estimate. |
| Days to sell or inventory age | Liquidity 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}.
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.
- Trusted backend obtains a JWT token from
identity.vinquery.com. - Application loads catalog and decision detail metadata.
- User or system prepares Business Data for candidate cases.
- Call
POST /api/v1/validateto validate and prepare the request before execution. - Call
POST /api/v1/decideto return the authoritative Decision Result. - Display the recommendation, ranked alternatives, warnings, assumptions, and Explanation of Decision Result.
- 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.
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"
}
}
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();
}
| UI Element | Recommended Display | Why It Matters |
|---|---|---|
| Choose a Decision | Sector, Category, Decision, Profile, and Scenario selectors populated from catalog metadata. | Users see business names while integrators retain stable IDs. |
| Selection Overview | Sector, category, and decision overviews in one collapsible panel. | Business users understand the decision before entering data. |
| Guided Data Collection | Criterion label, field, data type indicator, summary, and expandable "More about this criterion". | Improves data quality and reduces support questions. |
| Candidate Cases | Two 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 Result | Recommendation, ranking, confidence, and key drivers. | Users need the answer and the reason. |
| Outcome Follow-up | Accepted, Rejected, or Overridden; selected option and override reason when applicable. | Connects the recommendation to the action actually taken. |
| Realized Value | Outcome status plus a consistently defined financial or operational metric. | Measures adoption and business value without changing deterministic scoring. |
| Explanation | Business-friendly explanation without AI provider branding. | Supports trust while keeping the UI provider-neutral. |
| Diagnostics | Collapsed technical panel for status, timings, warnings, and errors. | Useful for integrators without distracting business users. |
- 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
requestIdwith the host business transaction, then callPOST /api/v1/decision-outcomeswhen the action and realized result are known. - Require an
overrideReasonfor overridden recommendations; never infer acceptance merely because a result was displayed. - Monitor
GET /api/v1/decision-outcomes/summaryfor 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.
| Symptom | Likely Cause | Fix |
|---|---|---|
| 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. |
