POST api/Vehicle/AddEditVehicleInfo

Request Information

URI Parameters

None.

Body Parameters

VehicleModel
NameDescriptionTypeAdditional information
ApplicantId

integer

None.

VehicleTypeId

byte

None.

RegisteredStateId

byte

None.

VINNumber

string

None.

VehicleYear

integer

None.

VehicleMake

string

None.

VehicleModel1

string

None.

VehicleColor

string

None.

LicensePlateNumber

string

None.

LastUpdatedBy

integer

None.

ApplicantVehicleId

integer

None.

ApplicantName

string

None.

VehicleType

string

None.

isActive

boolean

None.

inactivatedBy

integer

None.

inactivatedDate

date

None.

lastUpdatedDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "applicantId": 1,
  "vehicleTypeId": 64,
  "registeredStateId": 64,
  "vinNumber": "sample string 3",
  "vehicleYear": 1,
  "vehicleMake": "sample string 4",
  "vehicleModel1": "sample string 5",
  "vehicleColor": "sample string 6",
  "licensePlateNumber": "sample string 7",
  "lastUpdatedBy": 1,
  "applicantVehicleId": 1,
  "applicantName": "sample string 8",
  "vehicleType": "sample string 9",
  "isActive": true,
  "inactivatedBy": 1,
  "inactivatedDate": "2025-05-10T17:55:39.4311441-05:00",
  "lastUpdatedDate": "2025-05-10T17:55:39.4311441-05:00"
}

application/xml, text/xml

Sample:
<VehicleModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ApplicantId>1</ApplicantId>
  <VehicleTypeId>64</VehicleTypeId>
  <RegisteredStateId>64</RegisteredStateId>
  <VINNumber>sample string 3</VINNumber>
  <VehicleYear>1</VehicleYear>
  <VehicleMake>sample string 4</VehicleMake>
  <VehicleModel1>sample string 5</VehicleModel1>
  <VehicleColor>sample string 6</VehicleColor>
  <LicensePlateNumber>sample string 7</LicensePlateNumber>
  <LastUpdatedBy>1</LastUpdatedBy>
  <ApplicantVehicleId>1</ApplicantVehicleId>
  <ApplicantName>sample string 8</ApplicantName>
  <VehicleType>sample string 9</VehicleType>
  <isActive>true</isActive>
  <inactivatedBy>1</inactivatedBy>
  <inactivatedDate>2025-05-10T17:55:39.4311441-05:00</inactivatedDate>
  <lastUpdatedDate>2025-05-10T17:55:39.4311441-05:00</lastUpdatedDate>
</VehicleModel>

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 'VehicleModel'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.