ResourceOwnerVehicle3V2

Creates a new vehicle

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

post/v1/resourceowner/vehicles3

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/vehicles3
  • 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
UserVehicleIdentificationNumberstring
FuelType0 | 1 | 2 | 3 | 4 | 5 | 6
DefaultTripType0 | 1 | 2 | 3
AllowAutomaticUpdatesboolean
DefaultPrivacyPolicyType1
Nicknamestring
Tagsstring
CategoryColorinteger
OrganizationNodeIdinteger

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.