VehiclePurchaseSearch
Version: v3.0.0
Supporting model
A request/response or nested model — not a stored DynamoDB entity.
Overview
Vehicle purchase search payload.
Fields
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
page_index | int | ❌ | 0 | — |
page_size | int | ❌ | 15 | — |
free_text_query | str | ❌ | — | — |
purchase_display_id | str | ❌ | — | — |
identification_number | str | ❌ | — | — |
pickup_date | str | ❌ | — | — |
purchase_date | str | ❌ | — | — |
veh_production_year | `int | List[int]` | ❌ | — |
veh_make | `str | List[str]` | ❌ | — |
veh_model | `str | List[str]` | ❌ | — |
vin | str | ❌ | — | — |
registration_id | str | ❌ | — | — |
has_plates_received | bool | ❌ | — | — |
payment_type | `str | List[str]` | ❌ | — |
stolen_check | bool | ❌ | — | — |
stolen_check_date | str | ❌ | — | — |
money_owed | bool | ❌ | — | — |
money_owed_check_date | str | ❌ | — | — |
vehicle_purchase_display_id | str | ❌ | — | — |
rego | str | ❌ | — | — |
money_owed_date | str | ❌ | — | — |
APIs / Triggers
| Trigger | Endpoint / Source | Detail | Handler |
|---|---|---|---|
| API | POST /newvehiclePurchase/ | — | src/purchase_search.py |
| API | POST /newvehiclePurchase/search | — | src/purchase_search.py |
| API | GET /newvehiclePurchase/filters | — | src/purchase_search_filters.py |
| API | POST /newvehiclePurchase/filters | — | src/purchase_search_filters.py |
Change history
v3.0.0 · 2026-04-21 · Clifford Usidamen · 543728ae6
feat(purchase): finalize vehicle purchase search/filter backend updates
- Removed field
recieved_plates(breaking). - Field
page_indexbecame optional. - Field
page_indexdefault changed: None → 0. - Field
page_sizebecame optional. - Field
page_sizedefault changed: None → 15.
v2.0.0 · 2026-04-20 · Clifford Usidamen · 2c295a5c0
filter update
- Field
payment_typetype changed: Optional[str] → Optional[Union[str, List[str]]] (breaking). - Field
veh_maketype changed: Optional[str] → Optional[Union[str, List[str]]] (breaking). - Field
veh_modeltype changed: Optional[str] → Optional[Union[str, List[str]]] (breaking). - Field
veh_production_yeartype changed: Optional[int] → Optional[Union[int, List[int]]] (breaking).
v1.0.0 · 2026-04-14 · Clifford Usidamen · 174dbf548
feat(purchase): move vehicle purchase search to /search and add filters, soft delete, money-owed, and filter-preferences APIs
- Initial version.
Generated from
dismantly-backend/Microservices/Purchase/dependencies/models.py. Do not edit by hand.