POST
/
purchasedVehicle_oncreate_v2
/
{purchasedVehicleId}
/
odometerReading
Assign odometer reading to a vehicle
curl --request POST \
  --url https://api.ekhodealer.com/purchasedVehicle_oncreate_v2/{purchasedVehicleId}/odometerReading \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "oemKey": "<string>",
  "odometerReading": "<string>"
}'
{
  "odometerReading": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

purchasedVehicleId
string
required

The ID of the purchased vehicle to which the odometer reading will be assigned.

Body

application/json
oemKey
string

Key to identify and authenticate the OEM admin.

odometerReading
string

The odometer reading to be assigned to the purchased vehicle.

Response

Odometer reading successfully assigned to the purchased vehicle.

odometerReading
string

The odometer reading that was assigned to the purchased vehicle.