POST api/Vehicle/InsertVehicle

Insert/update vehicle.

Request Information

URI Parameters

None.

Body Parameters

VehicleIntegrationModel properties

VehicleIntegrationModel
NameDescriptionTypeAdditional information
database_id

globally unique identifier

None.

type

string

None.

year

integer

None.

make

string

None.

model

string

None.

vin

string

None.

description

string

None.

type_of_use

string

None.

TypeOfUseAsFlag

VehicleTypeOfUse

None.

value

string

None.

deductible_comprehensive

integer

None.

deductible_collision

integer

None.

visible

boolean

None.

policy_numbers

Collection of string

None.

insured_database_id

globally unique identifier

None.

insured_email

string

None.

insured_first_name

string

None.

insured_last_name

string

None.

insured_commercial_name

string

None.

policy_level_coverages_XML

string

None.

vehicle_specific_coveragesXML

string

None.

policy_level_coverages

Collection of CoverageBasic

None.

vehicle_specific_coverages

Collection of CoverageBasic

None.

active

boolean

None.

policy_database_id

globally unique identifier

None.

VehicleLienHolders

Collection of VehicleLienHolderDetails

None.

Request Formats

application/json, text/json

Sample:
{
  "database_id": "48967fb1-9566-4260-8db8-03fc7b276323",
  "type": "sample string 2",
  "year": 1,
  "make": "sample string 3",
  "model": "sample string 4",
  "vin": "sample string 5",
  "description": "sample string 6",
  "type_of_use": "sample string 7",
  "typeOfUseAsFlag": 1,
  "value": "sample string 8",
  "deductible_comprehensive": 1,
  "deductible_collision": 1,
  "visible": true,
  "policy_numbers": [
    "sample string 1",
    "sample string 2"
  ],
  "insured_database_id": "ba738e11-391d-4a47-ae8f-97e2bacd3b23",
  "insured_email": "sample string 10",
  "insured_first_name": "sample string 11",
  "insured_last_name": "sample string 12",
  "insured_commercial_name": "sample string 13",
  "policy_level_coverages_XML": "sample string 15",
  "vehicle_specific_coveragesXML": "sample string 17",
  "policy_level_coverages": [
    {
      "name": "sample string 1",
      "typeCode": "sample string 2",
      "limits": [
        1.0,
        2.0
      ],
      "limitFormatted": "sample string 3",
      "deductibles": [
        1.0,
        2.0
      ],
      "deductiblesFormatted": "sample string 4",
      "premium": 5.0
    },
    {
      "name": "sample string 1",
      "typeCode": "sample string 2",
      "limits": [
        1.0,
        2.0
      ],
      "limitFormatted": "sample string 3",
      "deductibles": [
        1.0,
        2.0
      ],
      "deductiblesFormatted": "sample string 4",
      "premium": 5.0
    }
  ],
  "vehicle_specific_coverages": [
    {
      "name": "sample string 1",
      "typeCode": "sample string 2",
      "limits": [
        1.0,
        2.0
      ],
      "limitFormatted": "sample string 3",
      "deductibles": [
        1.0,
        2.0
      ],
      "deductiblesFormatted": "sample string 4",
      "premium": 5.0
    },
    {
      "name": "sample string 1",
      "typeCode": "sample string 2",
      "limits": [
        1.0,
        2.0
      ],
      "limitFormatted": "sample string 3",
      "deductibles": [
        1.0,
        2.0
      ],
      "deductiblesFormatted": "sample string 4",
      "premium": 5.0
    }
  ],
  "active": true,
  "policy_database_id": "7b410dab-7d3f-457d-aee7-10eacf2ecb46",
  "vehicleLienHolders": [
    {
      "certificateHolderDatabaseId": "f0248bff-4afe-40f7-9281-385ed83410ab",
      "natureOfInterest": 0
    },
    {
      "certificateHolderDatabaseId": "f0248bff-4afe-40f7-9281-385ed83410ab",
      "natureOfInterest": 0
    }
  ]
}

application/xml, text/xml

Sample:
<VehicleIntegrationModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.Integrations.Models">
  <Active>true</Active>
  <DatabaseId>48967fb1-9566-4260-8db8-03fc7b276323</DatabaseId>
  <DeductibleCollision>1</DeductibleCollision>
  <DeductibleComprehensive>1</DeductibleComprehensive>
  <Description>sample string 6</Description>
  <InsuredCommercialName>sample string 13</InsuredCommercialName>
  <InsuredDatabaseId>ba738e11-391d-4a47-ae8f-97e2bacd3b23</InsuredDatabaseId>
  <InsuredEmail>sample string 10</InsuredEmail>
  <InsuredFirstName>sample string 11</InsuredFirstName>
  <InsuredLastName>sample string 12</InsuredLastName>
  <Make>sample string 3</Make>
  <Model>sample string 4</Model>
  <PolicyDatabaseId>7b410dab-7d3f-457d-aee7-10eacf2ecb46</PolicyDatabaseId>
  <PolicyLevelCoverages xmlns:d2p1="http://schemas.datacontract.org/2004/07/BusinessEntities.NowCertsFulcrum.Coverage">
    <d2p1:CoverageBasic>
      <d2p1:Deductibles xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:decimal>1</d4p1:decimal>
        <d4p1:decimal>2</d4p1:decimal>
      </d2p1:Deductibles>
      <d2p1:DeductiblesFormatted>sample string 4</d2p1:DeductiblesFormatted>
      <d2p1:LimitFormatted>sample string 3</d2p1:LimitFormatted>
      <d2p1:Limits xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:decimal>1</d4p1:decimal>
        <d4p1:decimal>2</d4p1:decimal>
      </d2p1:Limits>
      <d2p1:Name>sample string 1</d2p1:Name>
      <d2p1:Premium>5</d2p1:Premium>
      <d2p1:TypeCode>sample string 2</d2p1:TypeCode>
    </d2p1:CoverageBasic>
    <d2p1:CoverageBasic>
      <d2p1:Deductibles xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:decimal>1</d4p1:decimal>
        <d4p1:decimal>2</d4p1:decimal>
      </d2p1:Deductibles>
      <d2p1:DeductiblesFormatted>sample string 4</d2p1:DeductiblesFormatted>
      <d2p1:LimitFormatted>sample string 3</d2p1:LimitFormatted>
      <d2p1:Limits xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:decimal>1</d4p1:decimal>
        <d4p1:decimal>2</d4p1:decimal>
      </d2p1:Limits>
      <d2p1:Name>sample string 1</d2p1:Name>
      <d2p1:Premium>5</d2p1:Premium>
      <d2p1:TypeCode>sample string 2</d2p1:TypeCode>
    </d2p1:CoverageBasic>
  </PolicyLevelCoverages>
  <PolicyLevelCoveragesXML>sample string 15</PolicyLevelCoveragesXML>
  <PolicyNumbers xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </PolicyNumbers>
  <SerializePolicyLevelCoveragesXML>true</SerializePolicyLevelCoveragesXML>
  <SerializeVehicleSpecificCoveragesXML>true</SerializeVehicleSpecificCoveragesXML>
  <Type>sample string 2</Type>
  <TypeOfUse>sample string 7</TypeOfUse>
  <TypeOfUseAsFlag>Commercial</TypeOfUseAsFlag>
  <VIN>sample string 5</VIN>
  <Value>sample string 8</Value>
  <VehicleLienHolders>
    <VehicleLienHolderDetails>
      <CertificateHolderDatabaseId>f0248bff-4afe-40f7-9281-385ed83410ab</CertificateHolderDatabaseId>
      <NatureOfInterest>A2</NatureOfInterest>
    </VehicleLienHolderDetails>
    <VehicleLienHolderDetails>
      <CertificateHolderDatabaseId>f0248bff-4afe-40f7-9281-385ed83410ab</CertificateHolderDatabaseId>
      <NatureOfInterest>A2</NatureOfInterest>
    </VehicleLienHolderDetails>
  </VehicleLienHolders>
  <VehicleSpecificCoverages xmlns:d2p1="http://schemas.datacontract.org/2004/07/BusinessEntities.NowCertsFulcrum.Coverage">
    <d2p1:CoverageBasic>
      <d2p1:Deductibles xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:decimal>1</d4p1:decimal>
        <d4p1:decimal>2</d4p1:decimal>
      </d2p1:Deductibles>
      <d2p1:DeductiblesFormatted>sample string 4</d2p1:DeductiblesFormatted>
      <d2p1:LimitFormatted>sample string 3</d2p1:LimitFormatted>
      <d2p1:Limits xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:decimal>1</d4p1:decimal>
        <d4p1:decimal>2</d4p1:decimal>
      </d2p1:Limits>
      <d2p1:Name>sample string 1</d2p1:Name>
      <d2p1:Premium>5</d2p1:Premium>
      <d2p1:TypeCode>sample string 2</d2p1:TypeCode>
    </d2p1:CoverageBasic>
    <d2p1:CoverageBasic>
      <d2p1:Deductibles xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:decimal>1</d4p1:decimal>
        <d4p1:decimal>2</d4p1:decimal>
      </d2p1:Deductibles>
      <d2p1:DeductiblesFormatted>sample string 4</d2p1:DeductiblesFormatted>
      <d2p1:LimitFormatted>sample string 3</d2p1:LimitFormatted>
      <d2p1:Limits xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:decimal>1</d4p1:decimal>
        <d4p1:decimal>2</d4p1:decimal>
      </d2p1:Limits>
      <d2p1:Name>sample string 1</d2p1:Name>
      <d2p1:Premium>5</d2p1:Premium>
      <d2p1:TypeCode>sample string 2</d2p1:TypeCode>
    </d2p1:CoverageBasic>
  </VehicleSpecificCoverages>
  <VehicleSpecificCoveragesXML>sample string 17</VehicleSpecificCoveragesXML>
  <Visible>true</Visible>
  <Year>1</Year>
</VehicleIntegrationModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

NowCertsApiResultWithInsuredAndDatabaseId
NameDescriptionTypeAdditional information
InsuredDatabaseId

globally unique identifier

None.

DatabaseId

globally unique identifier

None.

Status

ApiStatus

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "insuredDatabaseId": "ead09ca4-3e51-4813-a4b3-243e29d03ed3",
  "databaseId": "3d4e48d7-da52-4ae1-b069-f2b900c7628e",
  "status": 0,
  "message": "sample string 3"
}

application/xml, text/xml

Sample:
<NowCertsApiResultWithInsuredAndDatabaseId xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.NowCertsFulcrum">
  <Message>sample string 3</Message>
  <Status>Error</Status>
  <DatabaseId>3d4e48d7-da52-4ae1-b069-f2b900c7628e</DatabaseId>
  <InsuredDatabaseId>ead09ca4-3e51-4813-a4b3-243e29d03ed3</InsuredDatabaseId>
</NowCertsApiResultWithInsuredAndDatabaseId>