PUT v1/Policies/Details/CommercialAuto/Vehicles/Create

Request Information

URI Parameters

None.

Body Parameters

InsertCommercialAutoVehicleRequest
NameDescriptionTypeAdditional information
VehicleNumber

integer

None.

PolicyDetailsID

integer

None.

Year

integer

None.

Make

string

None.

Model

string

None.

VIN

string

None.

BodyType

string

None.

StatedAmount

integer

None.

LocationID

integer

None.

GVW

integer

None.

CostNew

integer

None.

Radius

integer

None.

CompOtcDed

integer

None.

VehicleUse

string

None.

CollisionDed

integer

None.

SpeCausesOfLossDed

integer

None.

CarrierVehicleNumber

integer

None.

AgencyVehicleCode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "VehicleNumber": 1,
  "PolicyDetailsID": 2,
  "Year": 3,
  "Make": "sample string 4",
  "Model": "sample string 5",
  "VIN": "sample string 6",
  "BodyType": "sample string 7",
  "StatedAmount": 1,
  "LocationID": 1,
  "GVW": 1,
  "CostNew": 1,
  "Radius": 1,
  "CompOtcDed": 1,
  "VehicleUse": "sample string 8",
  "CollisionDed": 1,
  "SpeCausesOfLossDed": 1,
  "CarrierVehicleNumber": 1,
  "AgencyVehicleCode": "sample string 9"
}

application/xml, text/xml

Sample:
<InsertCommercialAutoVehicleRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Policies">
  <AgencyVehicleCode>sample string 9</AgencyVehicleCode>
  <BodyType>sample string 7</BodyType>
  <CarrierVehicleNumber>1</CarrierVehicleNumber>
  <CollisionDed>1</CollisionDed>
  <CompOtcDed>1</CompOtcDed>
  <CostNew>1</CostNew>
  <GVW>1</GVW>
  <LocationID>1</LocationID>
  <Make>sample string 4</Make>
  <Model>sample string 5</Model>
  <PolicyDetailsID>2</PolicyDetailsID>
  <Radius>1</Radius>
  <SpeCausesOfLossDed>1</SpeCausesOfLossDed>
  <StatedAmount>1</StatedAmount>
  <VIN>sample string 6</VIN>
  <VehicleNumber>1</VehicleNumber>
  <VehicleUse>sample string 8</VehicleUse>
  <Year>3</Year>
</InsertCommercialAutoVehicleRequest>

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

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>