Parking Lot Management Integration Manual

Developer guidance for integrating DecisioQ parking decisions with access control, permits, reservations, EV charging, enforcement, customer service, equipment, pricing, and operations systems.
1Parking Lot Management Overview

The Parking Lot Management sector in the DecisioQ Decision Catalog is identified by AUTO-PARK. It covers access and permits, occupancy, reservations, EV charging, enforcement, customer service, asset lifecycle, automation, business continuity, equipment, and operational planning decisions.

DecisioQ integrations should load sector, category, decision, Decision Preparation Model, and scenario metadata from the Decision Catalog. Do not hard-code old template names, static decision lists, or legacy request models.

Recommended first deployment: start with a workflow where operators already review tradeoffs, such as entry authorization, visitor eligibility, EV charging queue priority, violation notice approval, customer complaint resolution, or gate equipment upgrade prioritization.

2Catalog Discovery Flow

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

  1. Load GET /decisioncatalog through the approved server-side Decision Catalog gateway.
  2. Populate Sector from catalog.sectors[] and select AUTO-PARK for Parking Lot Management.
  3. Populate Category from selectedSector.categories[]. Example categories include Access & Permit Management, EV Charging Management, Enforcement & Compliance, Customer Services, Asset Lifecycle & Equipment, Automation & Innovation, and Business Continuity.
  4. Populate Decision from selectedCategory.decisions[] when available, or call /decisioncatalog/sectors/{sectorCode}/categories/{categoryCode}/decisions.
  5. Display Decision Name only in the dropdown while keeping decisionId as the option value.
  6. Load full decision detail from /decisioncatalog/decisions/{decisionId} before rendering Guided Data Collection.

Decision detail is the source of truth for criterion names, data guidance, scale, direction, profile options, scenarios, and overview metadata.

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.

3Parking Use Cases
Use CasePrimary UsersTypical Inputs
Access and permit authorizationParking operations, access control teams, tenant managersCredential status, permit eligibility, occupancy, event schedule, risk, payment status, priority group.
Reservation and parking alternative recommendationReservation platforms, mobile apps, customer serviceFacility occupancy, walking distance, price, accessibility, customer preference, time window, availability.
EV charging allocation and queue priorityEV charging operators, facility managersState of charge, dwell time, charger availability, customer priority, energy price, queue age, operational impact.
Enforcement and incident escalationEnforcement supervisors, compliance teams, securityViolation severity, evidence quality, repeat history, location risk, customer status, policy exception, officer workload.
Customer service and complaint resolutionCustomer service, facility managers, valet teamsCustomer impact, accessibility need, service failure, remedy cost, loyalty value, policy constraints.
Equipment and asset lifecycle planningFacilities, operations, finance, ITFailure history, downtime impact, replacement cost, utilization, safety risk, revenue dependency, vendor support.
Automation and innovation prioritizationOperations leaders, product teams, technology teamsBusiness value, customer impact, data readiness, implementation complexity, integration risk, ROI.
Business continuity and severe weather responseOperations leaders, security, facility managersWeather severity, occupancy, staffing, system outage impact, emergency access need, customer communication urgency.
4Business Data Mapping

Parking integrations should map facility, zone, gate, credential, reservation, payment, LPR, enforcement, EV charging, and customer-service data into decision-specific Business Data. The selected decision detail defines which criteria are required and how each value should be measured.

Business Data SourceCommon UseIntegration Notes
Facility ID, zone ID, credential ID, reservation ID, citation ID, charger ID, or equipment IDoptionId and audit correlation.Keep stable source-system IDs so recommendations can be traced to parking, access, payment, enforcement, and maintenance systems.
Occupancy and availability dataSpace allocation, alternative recommendation, oversell, event operations.Include data freshness and distinguish reserved, occupied, blocked, accessible, EV, and premium spaces.
Access, permit, and credential dataEntry authorization, temporary permit approval, visitor eligibility, contractor access.Separate eligibility, payment status, access schedule, policy exceptions, and security risk.
Payment, reservation, and customer dataReservation decisions, pricing, customer service, complaint resolution.Protect customer and payment data; send only fields needed by the selected decision.
LPR, citation, and enforcement evidenceViolation notice, incident escalation, appeal review, patrol priority.Separate evidence quality, repeat history, violation severity, and policy constraints.
EV charging and energy dataCharging space allocation, queue priority, pricing, station maintenance.Keep charger availability, dwell time, energy price, state of charge, and customer need distinct.
Equipment, sensor, gate, and kiosk telemetryMaintenance priority, replacement, upgrade, outage response.Capture downtime impact, failure recurrence, safety risk, revenue impact, and parts/vendor availability separately.

Do not invent criterion IDs. Use the canonical criteria returned by /decisioncatalog/decisions/{decisionId}, including criterion overview metadata, unit, direction, scale, and data guidance.

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 spaces, facilities, permits, gates, citations, chargers, maintenance actions, customer remedies, or continuity plans.
  4. Call POST /api/v1/validate to validate and prepare the decision input 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 Parking Lot Management decision. The example below shows the integration style rather than a guaranteed schema for every decision.

{
  "decisionId": "AUTO-PARK-047",
  "decisionPreparationModelId": "AUTO-PARK-PROFILE-STANDARD",
  "scenarioId": "AUTO-PARK-SCENARIO-EV-CHARGING-ALLOCATION",
  "businessData": {
    "candidates": [
      {
        "optionId": "CHARGER-LEVEL2-A17",
        "name": "Level 2 charger near north entrance",
        "values": {
          "chargerAvailabilityScore": 92,
          "customerPriorityScore": 84,
          "dwellTimeFitScore": 78,
          "accessibilityScore": 72,
          "revenueImpactScore": 69,
          "queueReductionScore": 81
        }
      },
      {
        "optionId": "CHARGER-DCFC-C03",
        "name": "Fast charger near visitor parking",
        "values": {
          "chargerAvailabilityScore": 76,
          "customerPriorityScore": 89,
          "dwellTimeFitScore": 88,
          "accessibilityScore": 83,
          "revenueImpactScore": 91,
          "queueReductionScore": 74
        }
      }
    ]
  },
  "requestContext": {
    "correlationId": "parking-ev-20260717-001"
  }
}
7Backend Call Pattern

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

async function executeParkingDecision(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.Parking operators understand the decision before entering data.
Guided Data CollectionCriterion label, field, data type indicator, summary, and expandable "More about this criterion".Improves occupancy, access, enforcement, EV, and equipment data quality.
Candidate CasesTwo fields per row where practical, editable option ID, and visible units or data type indicators.Operators can compare spaces, chargers, permits, citations, or maintenance options quickly.
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, kiosks, gates, or mobile apps.
  • 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, facility ID, zone ID, credential ID, reservation ID, citation ID, charger 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 customer identifiers, payment details, vehicle plate data, citation evidence, and security-sensitive facility data in logs and diagnostics.
  • Monitor catalog load failures, token refresh failures, API latency, validation failures, account verification failures, and unusual exclusion rates.
  • Define fallback behavior so access, enforcement, payment, and customer-service workflows remain usable when DecisioQ is unavailable.
  • Review Decision Preparation Models and scenario assumptions with operations, security, finance, and customer-service owners when facility policies or event conditions 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 recommendation.Scale, units, direction, or values do not match catalog criterion guidance.Compare Business Data fields against criterion overview and validation metadata.
Occupancy or charger recommendation seems stale.Sensor, reservation, gate, or charging data changed after the decision input was prepared.Refresh operational data close to execution time and include data freshness where available.