Skip to content

Commit

Permalink
Merge pull request #74 from highmobility/valuation-api-to-financeline
Browse files Browse the repository at this point in the history
updated static data valuation endpoint.
  • Loading branch information
kevinvaldek authored Jun 19, 2024
2 parents 95ad27e + 6134aa1 commit 7c0204f
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions hm-vehicle-static-data-api-v1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,8 @@ paths:
source: odometer
- detail: has invalid format
source: registration_date
- detail: can't be blank
source: country_code
request_id: 89c6b29a-caca-449d-9a60-e2ca21a60fe3
description: Unprocessable Content
'504':
Expand Down Expand Up @@ -287,12 +289,6 @@ components:
description: "Dat Key: BasePrice3 | Base value as determined by DAT, net, based on regular taxation (incl. equipment)"
example: "15089.91"

VehicleStaticDataValuationRegistration:
properties:
obsolete:
type: boolean
description: "Dat Key: Obsolete | Registration. true: obsolete, false: up to date"
example: true
VehicleStaticDataValuationCondition:
properties:
correction_factor_percentage:
Expand Down Expand Up @@ -359,10 +355,6 @@ components:
format: decimal
example: "1686.52"
description: "Dat key: MileageCorr | Mileage adjustment (net)"
unit:
type: string
example: "kilometers"
description: "Dat key: SignMilageUnit | Unit of mileage"
VehicleStaticDataValuationMeta:
properties:
last_valuation_date:
Expand Down Expand Up @@ -402,8 +394,6 @@ components:
properties:
price:
$ref: '#/components/schemas/VehicleStaticDataValuationPrice'
registration:
$ref: "#/components/schemas/VehicleStaticDataValuationRegistration"
condition:
$ref: "#/components/schemas/VehicleStaticDataValuationCondition"
odometer:
Expand Down Expand Up @@ -487,6 +477,10 @@ components:
registration_date:
type: string
example: 2004-01-01
country_code:
type: string
example: DE
description: "The target market for the valuation. A two-letter country code as defined in the ISO 3166-1 standard."
VehicleStaticValuationDataResponse:
properties:
valuation:
Expand Down

0 comments on commit 7c0204f

Please sign in to comment.