API Documentation

DecisioQ Vehicle Rental Developer Integration Manual

How software developers should incorporate DecisioQ into rental reservation, fleet allocation, branch operations, pricing, customer qualification, maintenance, damage, return, and utilization systems.

Vehicle Rental Industry Edition

Contents

1. Purpose and Scope

2. Industry System Architecture

3. Vehicle Rental Decision Workflows

4. Data Mapping for Rental Integrations

5. API Integration Pattern

6. Implementation Scenarios

7. Reference Data Model

8. Security, Privacy, and Compliance

9. Performance and Reliability

10. Testing Strategy

11. Implementation Checklist

12. Best Practices

13. Sample UI Placement

14. Developer Handoff Summary

1. Purpose and Scope

This manual explains how developers in the Vehicle Rental industry should embed DecisioQ into software systems used by car rental companies, truck rental firms, peer-to-peer rental marketplaces, corporate rental programs, replacement rental providers, airport rental operators, and local branch networks.

DecisioQ should be used as a configurable decision intelligence layer. It should not replace payment authorization, identity verification, credit checks, insurance validation, or legally required rental contract rules. Instead, DecisioQ coordinates multi-factor operational decisions such as which vehicle to assign, which branch should fulfill a reservation, which customer requires review, which vehicle should be held for maintenance, and which return condition requires escalation.

Best-Fit Rental Decisions

  • Which vehicle should fulfill a reservation based on class, branch inventory, mileage, maintenance status, customer tier, and utilization goals?
  • Should a customer be approved, conditionally approved, manually reviewed, or declined after identity, payment, license, and risk checks are complete?
  • Should the system offer an upgrade, substitute vehicle, branch transfer, waitlist option, or reservation adjustment?
  • Which vehicle should be pulled from rental availability because of damage, maintenance, telematics alerts, recalls, or cleaning status?
  • How should one-way rentals, airport surges, corporate accounts, and peak demand be prioritized across branches?
  • Which damage claim, late return, fuel discrepancy, toll charge, or cleaning fee should be auto-processed versus routed to review?

2. Industry System Architecture

Vehicle rental systems combine reservation search, rate management, fleet availability, branch operations, customer identity, payment, contract generation, mobile inspection, telematics, maintenance, and return processing. DecisioQ should be called by backend orchestration services after key data is normalized and before the rental platform commits an operational action.

Component Integration responsibility
Reservation / booking engine Captures customer search, dates, locations, vehicle class, rate code, corporate account, loyalty tier, and booking channel.
Fleet inventory system Tracks vehicle class, VIN, license plate, location, status, mileage, fuel/charge level, cleanliness, maintenance, and utilization.
Branch operations system Manages check-in, check-out, queue, counter workflow, upgrades, substitutions, transfers, and walk-up demand.
Risk and qualification layer Normalizes license validation, age policy, payment authorization, fraud score, insurance, and account history.
DecisioQ API Ranks operational alternatives and returns explainable recommendations with scores, criteria, template version, and decision ID.
Contract / billing / returns Applies selected action to rental agreement, ancillary charges, damage records, return settlement, and audit history.

Recommended Integration Pattern

  • Call DecisioQ from backend services only; do not expose API credentials to public booking pages, kiosks, or mobile clients.
  • Use deterministic services for hard constraints such as license validity, age rules, payment authorization, and vehicle eligibility before evaluating weighted alternatives.
  • Persist the DecisioQ decision ID on reservations, rental agreements, vehicle assignments, damage cases, branch transfers, and exception reviews.
  • Version templates by market, brand, branch group, rental type, and effective date to keep historical decisions defensible.

3. Vehicle Rental Decision Workflows

Decision workflow Developer use case Example criteria
Vehicle assignment Select the best specific vehicle for a reservation Class match, location, mileage, fuel/EV charge, maintenance status, cleanliness, utilization target, customer tier
Branch fulfillment Choose pickup branch or transfer source Branch inventory, distance, transfer cost, demand forecast, staffing, corporate SLA, airport priority
Customer qualification Recommend approve, review, deposit, or decline License status, age, payment authorization, fraud risk, prior incidents, account standing, insurance
Upgrade / substitution Recommend paid upgrade, free upgrade, downgrade credit, or waitlist Reserved class availability, customer value, margin, loyalty tier, vehicle aging, overbooking risk
Dynamic pricing support Recommend rate action or discount guardrail Demand, occupancy, competitor index, seasonality, branch utilization, corporate contract terms
Maintenance hold Remove or return vehicle to rentable pool DTC alerts, mileage interval, open recall, damage severity, tire/brake condition, inspection status
Return exception handling Route fees or disputes Late return, fuel/charge variance, damage photos, tolls, cleaning status, customer history
Fleet rebalancing Transfer vehicles between branches Demand forecast, idle days, one-way imbalance, transport cost, vehicle class shortage, event surge

4. Data Mapping for Rental Integrations

Developers should convert reservation, customer, vehicle, branch, telematics, payment, and inspection data into clear decision criteria. The most reliable integrations separate hard eligibility filtering from weighted DecisioQ ranking.

Field Type Purpose
decisionContext Object Rental type, brand, market, branch, channel, pickup/dropoff dates, customer segment, and template version.
customerSignals Object Loyalty tier, corporate account, rental history, incident history, qualification status, payment result, and risk score.
reservationSignals Object Reserved class, duration, rate plan, extras, one-way flag, SLA, special equipment, and booking priority.
vehicleAlternatives Array Specific rentable vehicles or vehicle classes being compared.
vehicleCriteria Object Mileage, location, fuel/charge, cleanliness, damage status, maintenance status, utilization, revenue opportunity.
branchSignals Object Inventory, staffing, counter queue, transfer capacity, local demand, airport surge, and event forecasts.
decisionOutput Object Recommended action, ranked alternatives, scores, explanation, decision ID, and required override reason if changed.

5. API Integration Pattern

5.1 Backend Decision Flow

1. Receive reservation, branch, check-out, return, or fleet operation event.
2. Validate hard constraints: license, age, payment, vehicle eligibility, branch policy.
3. Build DecisioQ criteria from normalized reservation, customer, vehicle, branch, and risk data.
4. Submit alternatives such as vehicles, branches, actions, prices, or review paths.
5. Receive ranked results and recommended action.
6. Apply the result to the rental workflow or present it to an authorized user.
7. Persist decision ID, template version, criteria snapshot, scores, outcome, and override reason.

5.2 Example REST Request: Vehicle Assignment

POST /api/decisions/evaluate
Authorization: Bearer {server_token}
Content-Type: application/json

{
  "templateCode": "vehicle-rental-assignment-v1",
  "criteria": {
    "classMatchWeight": 25,
    "maintenanceReadinessWeight": 20,
    "fuelOrChargeWeight": 10,
    "utilizationWeight": 15,
    "customerPreferenceWeight": 10,
    "revenueWeight": 10,
    "branchOperationalWeight": 10
  },
  "alternatives": [
    { "id": "VIN-1001", "label": "2025 SUV A", "classMatch": 100, "maintenanceReadiness": 95, "fuelOrCharge": 86, "utilizationFit": 80, "customerPreference": 75, "revenueFit": 70, "operationalFit": 90 },
    { "id": "VIN-1002", "label": "2024 SUV B", "classMatch": 100, "maintenanceReadiness": 78, "fuelOrCharge": 96, "utilizationFit": 85, "customerPreference": 70, "revenueFit": 75, "operationalFit": 82 }
  ],
  "context": {
    "correlationId": "optional",
    "attributes": {}
  }
}

5.3 Example Response

{
  "decisionId": "dq-20260703-000144",
  "templateCode": "vehicle-rental-assignment-v1",
  "recommendedAlternativeId": "VIN-1001",
  "recommendation": "Assign 2025 SUV A",
  "score": 88.6,
  "rankedAlternatives": [
    { "id": "VIN-1001", "score": 88.6, "rank": 1 },
    { "id": "VIN-1002", "score": 84.1, "rank": 2 }
  ],
  "explanation": "Best class match with stronger maintenance readiness and branch operational fit.",
  "requiresSupervisorReview": false,
  "context": {
    "correlationId": "optional",
    "attributes": {}
  }
}

6. Implementation Scenarios

6.1 Reservation and Vehicle Assignment

Before check-out, the rental platform should produce a candidate list of eligible vehicles. DecisioQ then ranks the vehicles by operational and customer value. This gives counter agents and automated kiosks a consistent recommendation while preserving the ability to override with a reason code.

  • Filter out vehicles that are not clean, not fueled/charged, recalled, damaged beyond threshold, due for service, or assigned to another rental.
  • Score eligible vehicles using class match, pickup proximity, maintenance readiness, mileage balancing, loyalty preference, revenue opportunity, and branch workload.
  • Store the decision with the rental agreement so utilization and override patterns can be reviewed later.

6.2 Customer Qualification and Risk Routing

Qualification decisions often combine rigid policy checks with judgment-based operational routing. DecisioQ should receive normalized results from identity, license, payment, fraud, and account history services and recommend the workflow path.

Recommended outcome Typical criteria System action
Approve License valid, payment approved, low risk, good rental history Continue to contract generation
Approve with deposit Moderate risk, limited rental history, payment acceptable Collect additional deposit and log reason
Manual review Mismatch, high-value vehicle, risk signal, prior incident Route to supervisor or fraud queue
Decline Hard policy failure or failed validation Stop rental, show controlled customer message

6.3 Upgrade, Substitution, and Overbooking Decisions

When a reserved class is unavailable, DecisioQ can recommend the least disruptive action: free upgrade, paid upgrade offer, class substitution, branch transfer, delivery from nearby branch, waitlist, or compensation.

  • Use customer loyalty, corporate SLA, rate plan, gross margin, vehicle aging, branch inventory, and overbooking risk as criteria.
  • Return both the operational recommendation and customer-safe explanation text.
  • Require override reasons for downgrades, exception discounts, and free upgrades above policy threshold.

6.4 Fleet Rebalancing and Branch Transfers

Branch transfer decisions should run as scheduled batch jobs and real-time exception workflows. DecisioQ can rank which vehicles to move, where to move them, and whether the transfer cost is justified.

Transfer trigger Alternative actions Criteria
Airport surge Move vehicles from local branches, hold returns, adjust pricing Forecast demand, transfer time, labor, class shortage, revenue impact
One-way imbalance Reposition vehicle, sell one-way rate, hold for local rental Idle days, branch shortage, transport cost, vehicle class, expected demand
Maintenance clustering Move ready vehicles, hold affected units, reroute reservations Open work orders, vehicle readiness, reservation impact, branch coverage

6.5 Damage, Fuel, EV Charge, and Return Exceptions

At return, inspection systems can submit evidence and exception values to DecisioQ to recommend auto-settlement, customer review, supervisor review, claim creation, or maintenance hold.

  • Use photo evidence completeness, pre-rental condition, telematics, fuel or charge variance, customer dispute status, and estimated cost.
  • Separate billing decisions from maintenance availability decisions so vehicles are not returned to service prematurely.
  • Attach the DecisioQ decision ID to damage claims, billing adjustments, and vehicle status changes.

6.6 Maintenance and Rentable Pool Decisions

Rental fleets operate under tight turnaround pressure. DecisioQ can help determine whether a vehicle should be rented again, cleaned, inspected, held for maintenance, moved to another branch, or retired from active rental service.

  • Feed mileage interval, open recalls, tire/brake condition, DTC alerts, cleaning status, customer-reported issues, and upcoming reservation demand into the criteria.
  • Return outcomes such as rentable, clean first, inspect first, maintenance hold, supervisor review, or remove from fleet.
  • Use template versions to change maintenance policies without redeploying branch applications.

7. Reference Data Model

Entity Important fields Where DecisioQ uses it
Reservation Reservation ID, dates, locations, class, rate plan, extras, channel, corporate account Vehicle assignment, branch fulfillment, upgrade decisions
Customer Loyalty tier, license status, payment status, rental history, incidents, risk score Qualification, deposits, manual review, upgrade priority
Vehicle VIN, class, branch, mileage, fuel/charge, cleanliness, damage, maintenance, recall, telematics Assignment, maintenance hold, rebalancing, returns
Branch Location, inventory, staffing, queue, demand forecast, transfer capacity, local events Fulfillment, rebalancing, pricing, branch transfers
RentalAgreement Contract ID, selected vehicle, selected products, charges, signatures, insurance options Audit, billing, customer disputes, return processing
ReturnInspection Photos, damage codes, fuel/charge, odometer, tolls, cleaning, customer signature Damage routing, billing, maintenance, claim review
DecisionAudit Decision ID, template, criteria, alternatives, scores, selected action, override reason Compliance, analytics, explainability, continuous improvement

8. Security, Privacy, and Compliance

  • Use OAuth2, JWT, or server-to-server credentials for backend API calls; never embed credentials in public booking apps, kiosks, or mobile clients.
  • Minimize personally identifiable information in DecisioQ requests. Use customer IDs, risk bands, policy outputs, and operational attributes instead of raw sensitive data where possible.
  • Limit template editing to authorized revenue, risk, fleet, and operations administrators.
  • Encrypt rental agreements, payment tokens, identity documents, inspection photos, and decision audit logs at rest and in transit.
  • Log branch ID, user ID, system source, correlation ID, customer segment, decision ID, template version, and override reason for every decision.
  • Design customer-facing explanations carefully; do not expose fraud indicators, internal risk scoring logic, or security rules.

9. Performance and Reliability

  • Precompute candidate vehicle pools and branch availability before real-time check-out flows to reduce latency.
  • Cache static reference data such as vehicle class mappings, branch configuration, policy thresholds, and template metadata.
  • Refresh high-volatility data such as vehicle status, queue length, telematics alerts, and payment authorization at decision time.
  • Use asynchronous batch evaluations for nightly rebalancing, maintenance prioritization, utilization review, and rate guardrail analysis.
  • Define fallback behavior for outages, such as using last known vehicle eligibility and requiring manual supervisor review for high-risk cases.
  • Monitor latency, timeout rate, decision volume, recommendation acceptance, override rate, vehicle utilization, unfulfilled reservations, and branch transfer outcomes.

10. Testing Strategy

Test type What to verify Example
Eligibility boundary Hard rules prevent invalid recommendations Vehicle with open recall is excluded before DecisioQ ranking
Assignment ranking Best candidate vehicle is selected Clean, fueled vehicle at pickup branch outranks distant alternative
Qualification routing Risk signals map to correct workflow Payment approved but ID mismatch routes to manual review
Overbooking handling Substitutions and upgrades follow policy Gold customer receives upgrade when reserved class unavailable
Return exception Damage and fuel discrepancies route correctly Missing before photo triggers supervisor review before billing
Auditability All decisions are traceable Rental agreement stores decision ID, criteria, alternatives, scores, and override reason

11. Implementation Checklist

  • Define initial templates: Vehicle Assignment, Branch Fulfillment, Customer Qualification, Upgrade/Substitution, Fleet Rebalancing, Maintenance Hold, Return Exception, and Dynamic Pricing Support.
  • Map reservation, customer, vehicle, branch, payment, identity, telematics, maintenance, and return inspection data to DecisioQ criteria.
  • Create backend services that filter hard constraints before submitting eligible alternatives to DecisioQ.
  • Persist decision IDs, template versions, ranked alternatives, explanations, selected outcomes, and override reasons on operational records.
  • Add UI elements for branch agents, fleet coordinators, supervisors, customer support, and mobile return teams.
  • Build admin governance for template ownership, effective dates, branch groups, market-specific settings, and approval workflow.
  • Implement regression tests for assignment, qualification, overbooking, return exceptions, rebalancing, pricing, and maintenance scenarios.
  • Monitor acceptance rates, override reasons, utilization impact, branch transfer value, customer wait time, damage dispute outcomes, and unfulfilled reservations.

12. Best Practices

  • Separate hard eligibility rules from weighted recommendation logic. DecisioQ should rank valid alternatives, not legal impossibilities.
  • Use different templates for airport, neighborhood, truck rental, corporate, replacement rental, peer-to-peer, and long-term rental operations when policies differ.
  • Keep branch managers able to explain recommendations with simple operational language: availability, readiness, customer priority, utilization, and revenue impact.
  • Version templates whenever policies, branch rules, customer tiers, risk handling, or rate strategies change.
  • Require reason codes when employees override vehicle assignment, qualification, upgrade, damage, or maintenance recommendations.
  • Use DecisioQ audit logs to improve forecasting, inventory utilization, branch staffing, transfer planning, and exception handling.

13. Sample UI Placement

Screen Recommended DecisioQ output User action
Booking search Best branch, vehicle class, substitute class, or rate action Show available options and controlled alternatives
Counter check-out Recommended specific vehicle and upgrade action Accept, override, or request supervisor approval
Customer qualification Approve, deposit, manual review, or decline recommendation Proceed, collect deposit, or route to review
Fleet dashboard Vehicles to transfer, hold, clean, inspect, or rent Execute operational task or update status
Return inspection Auto-settle, bill, review, claim, or maintenance hold Finalize return or escalate exception
Supervisor queue High-risk decisions and overrides Approve, reject, document reason, or adjust template

14. Developer Handoff Summary

A successful DecisioQ integration for Vehicle Rental systems gives developers a consistent pattern: normalize operational data, filter hard constraints, evaluate valid alternatives through DecisioQ, act on the recommendation, and persist an audit trail. The highest-value use cases are vehicle assignment, branch fulfillment, customer qualification, upgrades and substitutions, fleet rebalancing, maintenance holds, pricing support, and return exceptions.

The result is a rental platform where branch users and automated workflows can make faster, more consistent, explainable decisions while preserving governance, policy control, and historical traceability.