PUT v1/Policies/Details/PersonalAuto/Vehicles/VehicleCreate

Create or Update for Persona Auto Vehicle Details for Public API

Request Information

URI Parameters

None.

Body Parameters

vehicledto

InsertPersonalAutoVehicleRequest
NameDescriptionTypeAdditional information
VehicleID

integer

None.

PolicyDetailsID

integer

None.

Year

integer

None.

Make

string

None.

Model

string

None.

VIN

string

None.

Color

string

None.

VehicleType

string

None.

Symbol

string

None.

AnnualMiles

integer

None.

CommuteMiles

integer

None.

ActualCashValue

decimal number

None.

MSRP

decimal number

None.

GarageAddressLine1

string

None.

GarageAddressLine2

string

None.

GarageAddressCity

string

None.

GarageAddressState

string

None.

GarageAddressZip

string

None.

PassiveSeatBelt

boolean

None.

AntiLockBrakes

string

None.

AirBag

string

None.

AntitheftPassive

string

None.

AntitheftActive

string

None.

AntitheftNone

string

None.

VehicleUseID

byte

None.

Request Formats

application/json, text/json

Sample:
{
  "VehicleID": 1,
  "PolicyDetailsID": 2,
  "Year": 3,
  "Make": "sample string 4",
  "Model": "sample string 5",
  "VIN": "sample string 6",
  "Color": "sample string 7",
  "VehicleType": "sample string 8",
  "Symbol": "sample string 9",
  "AnnualMiles": 1,
  "CommuteMiles": 1,
  "ActualCashValue": 1.0,
  "MSRP": 1.0,
  "GarageAddressLine1": "sample string 10",
  "GarageAddressLine2": "sample string 11",
  "GarageAddressCity": "sample string 12",
  "GarageAddressState": "sample string 13",
  "GarageAddressZip": "sample string 14",
  "PassiveSeatBelt": true,
  "AntiLockBrakes": "sample string 15",
  "AirBag": "sample string 16",
  "AntitheftPassive": "sample string 17",
  "AntitheftActive": "sample string 18",
  "AntitheftNone": "sample string 19",
  "VehicleUseID": 64
}

application/xml, text/xml

Sample:
<InsertPersonalAutoVehicleRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Policies.PolicyDetail.PersonalAuto">
  <ActualCashValue>1</ActualCashValue>
  <AirBag>sample string 16</AirBag>
  <AnnualMiles>1</AnnualMiles>
  <AntiLockBrakes>sample string 15</AntiLockBrakes>
  <AntitheftActive>sample string 18</AntitheftActive>
  <AntitheftNone>sample string 19</AntitheftNone>
  <AntitheftPassive>sample string 17</AntitheftPassive>
  <Color>sample string 7</Color>
  <CommuteMiles>1</CommuteMiles>
  <GarageAddressCity>sample string 12</GarageAddressCity>
  <GarageAddressLine1>sample string 10</GarageAddressLine1>
  <GarageAddressLine2>sample string 11</GarageAddressLine2>
  <GarageAddressState>sample string 13</GarageAddressState>
  <GarageAddressZip>sample string 14</GarageAddressZip>
  <MSRP>1</MSRP>
  <Make>sample string 4</Make>
  <Model>sample string 5</Model>
  <PassiveSeatBelt>true</PassiveSeatBelt>
  <PolicyDetailsID>2</PolicyDetailsID>
  <Symbol>sample string 9</Symbol>
  <VIN>sample string 6</VIN>
  <VehicleID>1</VehicleID>
  <VehicleType>sample string 8</VehicleType>
  <VehicleUseID>64</VehicleUseID>
  <Year>3</Year>
</InsertPersonalAutoVehicleRequest>

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

Response Information

Resource Description

ActionResultDTOOfString
NameDescriptionTypeAdditional information
Result

string

None.

CreatedBy

string

None.

EntityID

integer

None.

RowSource

string

None.

PolicyID

integer

None.

IsSuccess

boolean

None.

ErrorCode

string

None.

ErrorMessage

string

None.

InfoMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Result": "sample string 1",
  "CreatedBy": "sample string 2",
  "EntityID": 3,
  "RowSource": "sample string 4",
  "PolicyID": 5,
  "IsSuccess": true,
  "ErrorCode": "sample string 7",
  "ErrorMessage": "sample string 8",
  "InfoMessage": "sample string 9"
}

application/xml, text/xml

Sample:
<ActionResultOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects">
  <ErrorCode>sample string 7</ErrorCode>
  <ErrorMessage>sample string 8</ErrorMessage>
  <InfoMessage>sample string 9</InfoMessage>
  <IsSuccess>true</IsSuccess>
  <CreatedBy>sample string 2</CreatedBy>
  <EntityID>3</EntityID>
  <PolicyID>5</PolicyID>
  <Result>sample string 1</Result>
  <RowSource>sample string 4</RowSource>
</ActionResultOfstring>