ResourceOwnerVehicleV2

Creates a new vehicle

This will create a new vehicle and make the association you set.

post/v1/resourceowner/vehicles

Request

  • Base URL
    https://api.automile.com (the document declares no server; this is the origin it was published from)
  • URL
    https://api.automile.com/v1/resourceowner/vehicles
  • Auth
    OAuth 2
    Implicit: https://api.automile.com/login/

Request body

NumberPlatestring
Makestring
Modelstring
ModelYearinteger
BodyStylestring
BodyType0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8
OwnerContactIdinteger
OwnerCompanyIdinteger
CreateRelationshipToIdinteger required
VehicleRelationshipType0 | 1 required

Response

A link in the header is returned to the newly created vehicle

Changes

No recorded changes to this operation across all 2 revisions of this API.