﻿# DecisioQ AUTO-REPR-070 End-to-End Example

This companion package executes `AUTO-REPR-070`, Evaluate Mobile Service Feasibility.

## Supported request modes

The language clients share one HTTP/authentication implementation. The included `auto-repr-070-execute.json` file demonstrates **Prepared Criteria Mode**. The included `business-data-request.json` file provides the published illustrative payload for **Business Data Mode**. Choose one mode; never send both `businessData` and `options`.

## Flow

1. Request `jwtToken` from `https://identity.vinquery.com/connect/token`.
2. Load decision metadata from `https://dks.vinquery.com/decisioncatalog/decisions/AUTO-REPR-070`.
3. Execute the decision request at `https://dde.vinquery.com/api/v1/decide`.

## Environment

Set these variables before running the examples:

```text
DECISIOQ_CLIENT_ID
DECISIOQ_CLIENT_SECRET
DECISIOQ_AUDIENCE=vinquery:api:decisioq
```

Optional:

```text
DECISIOQ_IDENTITY_URL=https://identity.vinquery.com/connect/token
DECISIOQ_DKS_URL=https://dks.vinquery.com
DECISIOQ_DDE_URL=https://dde.vinquery.com
```

The execution payload uses only canonical criterion IDs in `options[].values`. The sample includes one excluded candidate: `option-3` has `operational_risk_score` of `50`, which violates the catalog hard constraint `operational_risk_score <= 40`.

## Generated artifact sources

- Mapping profile: `auto-repair-evaluate-mobile-service-feasib-auto-repr-070` version `1.0.0`
- Business Data: first valid case in the published certification suite
- Prepared Criteria: published expected canonical request
