POST
/
purchasedVehicle_oncreate_v2
/
{purchasedVehicleId}
/
motorcycleEngineNumber
Assign motorcycle engine number to a vehicle
curl --request POST \
  --url https://api.ekhodealer.com/purchasedVehicle_oncreate_v2/{purchasedVehicleId}/motorcycleEngineNumber \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "oemKey": "<string>",
  "motorcycleEngineNumber": "<string>"
}'
{
  "motorcycleEngineNumber": "<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 motorcycle engine number will be assigned.

Body

application/json
oemKey
string

Key to identify and authenticate the OEM admin.

motorcycleEngineNumber
string

The Motorcycle Enginer Number associated with the purchased vehicle.

Response

Motorcycle engine number successfully assigned to the purchased vehicle.

motorcycleEngineNumber
string

The motorcycle engine number that was assigned to the purchased vehicle.