PATCH api/v{version}/customers/me/vehicles/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

version

string

None.

Body Parameters

CustomerPatchUpdateOwnedVehicleModel
NameDescriptionTypeAdditional information
Title

string

String length: inclusive between 0 and 128

Description

string

String length: inclusive between 0 and 512

Mileage

integer

Range: inclusive between 0 and 2147483647

VIN

string

String length: inclusive between 3 and 32

SuppliedProperties

Collection of JSONPatchItem

None.

Request Formats

application/json, text/json

Sample:
{
  "Title": "sample string 1",
  "Description": "sample string 2",
  "Mileage": 1,
  "VIN": "sample string 3",
  "SuppliedProperties": [
    {
      "Op": 1,
      "Name": "sample string 1",
      "Value": {}
    },
    {
      "Op": 1,
      "Name": "sample string 1",
      "Value": {}
    }
  ]
}

application/xml, text/xml

Sample:
<CustomerPatchUpdateOwnedVehicleModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FastFixCore.BindingModels">
  <Description>sample string 2</Description>
  <Mileage>1</Mileage>
  <SuppliedProperties xmlns:d2p1="http://schemas.datacontract.org/2004/07/FastFixCore.Common.UDTs">
    <d2p1:JSONPatchItem>
      <d2p1:Name>sample string 1</d2p1:Name>
      <d2p1:Op>Add</d2p1:Op>
      <d2p1:Value />
    </d2p1:JSONPatchItem>
    <d2p1:JSONPatchItem>
      <d2p1:Name>sample string 1</d2p1:Name>
      <d2p1:Op>Add</d2p1:Op>
      <d2p1:Value />
    </d2p1:JSONPatchItem>
  </SuppliedProperties>
  <Title>sample string 1</Title>
  <VIN>sample string 3</VIN>
</CustomerPatchUpdateOwnedVehicleModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'CustomerPatchUpdateOwnedVehicleModel'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.