POST api/Vehicle/BulkInsertVehicle

Bulk insert/update vehicles.

Request Information

URI Parameters

None.

Body Parameters

VehicleIntegrationModel properties

Collection of 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": "542ed1b8-d3f3-4afe-a897-7fc53b70717b",
    "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": "3a45a7b0-b1a3-4172-ba32-4fed9b8e45ec",
    "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": "d94e1c1f-4639-47cf-ab55-83c97a798da6",
    "vehicleLienHolders": [
      {
        "certificateHolderDatabaseId": "ea3a43ac-c25f-4756-93ca-99c53075a17d",
        "natureOfInterest": 0
      },
      {
        "certificateHolderDatabaseId": "ea3a43ac-c25f-4756-93ca-99c53075a17d",
        "natureOfInterest": 0
      }
    ]
  },
  {
    "database_id": "542ed1b8-d3f3-4afe-a897-7fc53b70717b",
    "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": "3a45a7b0-b1a3-4172-ba32-4fed9b8e45ec",
    "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": "d94e1c1f-4639-47cf-ab55-83c97a798da6",
    "vehicleLienHolders": [
      {
        "certificateHolderDatabaseId": "ea3a43ac-c25f-4756-93ca-99c53075a17d",
        "natureOfInterest": 0
      },
      {
        "certificateHolderDatabaseId": "ea3a43ac-c25f-4756-93ca-99c53075a17d",
        "natureOfInterest": 0
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfVehicleIntegrationModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.Integrations.Models">
  <VehicleIntegrationModel>
    <Active>true</Active>
    <DatabaseId>542ed1b8-d3f3-4afe-a897-7fc53b70717b</DatabaseId>
    <DeductibleCollision>1</DeductibleCollision>
    <DeductibleComprehensive>1</DeductibleComprehensive>
    <Description>sample string 6</Description>
    <InsuredCommercialName>sample string 13</InsuredCommercialName>
    <InsuredDatabaseId>3a45a7b0-b1a3-4172-ba32-4fed9b8e45ec</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>d94e1c1f-4639-47cf-ab55-83c97a798da6</PolicyDatabaseId>
    <PolicyLevelCoverages xmlns:d3p1="http://schemas.datacontract.org/2004/07/BusinessEntities.NowCertsFulcrum.Coverage">
      <d3p1:CoverageBasic>
        <d3p1:Deductibles xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:decimal>1</d5p1:decimal>
          <d5p1:decimal>2</d5p1:decimal>
        </d3p1:Deductibles>
        <d3p1:DeductiblesFormatted>sample string 4</d3p1:DeductiblesFormatted>
        <d3p1:LimitFormatted>sample string 3</d3p1:LimitFormatted>
        <d3p1:Limits xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:decimal>1</d5p1:decimal>
          <d5p1:decimal>2</d5p1:decimal>
        </d3p1:Limits>
        <d3p1:Name>sample string 1</d3p1:Name>
        <d3p1:Premium>5</d3p1:Premium>
        <d3p1:TypeCode>sample string 2</d3p1:TypeCode>
      </d3p1:CoverageBasic>
      <d3p1:CoverageBasic>
        <d3p1:Deductibles xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:decimal>1</d5p1:decimal>
          <d5p1:decimal>2</d5p1:decimal>
        </d3p1:Deductibles>
        <d3p1:DeductiblesFormatted>sample string 4</d3p1:DeductiblesFormatted>
        <d3p1:LimitFormatted>sample string 3</d3p1:LimitFormatted>
        <d3p1:Limits xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:decimal>1</d5p1:decimal>
          <d5p1:decimal>2</d5p1:decimal>
        </d3p1:Limits>
        <d3p1:Name>sample string 1</d3p1:Name>
        <d3p1:Premium>5</d3p1:Premium>
        <d3p1:TypeCode>sample string 2</d3p1:TypeCode>
      </d3p1:CoverageBasic>
    </PolicyLevelCoverages>
    <PolicyLevelCoveragesXML>sample string 15</PolicyLevelCoveragesXML>
    <PolicyNumbers xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1: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>ea3a43ac-c25f-4756-93ca-99c53075a17d</CertificateHolderDatabaseId>
        <NatureOfInterest>A2</NatureOfInterest>
      </VehicleLienHolderDetails>
      <VehicleLienHolderDetails>
        <CertificateHolderDatabaseId>ea3a43ac-c25f-4756-93ca-99c53075a17d</CertificateHolderDatabaseId>
        <NatureOfInterest>A2</NatureOfInterest>
      </VehicleLienHolderDetails>
    </VehicleLienHolders>
    <VehicleSpecificCoverages xmlns:d3p1="http://schemas.datacontract.org/2004/07/BusinessEntities.NowCertsFulcrum.Coverage">
      <d3p1:CoverageBasic>
        <d3p1:Deductibles xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:decimal>1</d5p1:decimal>
          <d5p1:decimal>2</d5p1:decimal>
        </d3p1:Deductibles>
        <d3p1:DeductiblesFormatted>sample string 4</d3p1:DeductiblesFormatted>
        <d3p1:LimitFormatted>sample string 3</d3p1:LimitFormatted>
        <d3p1:Limits xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:decimal>1</d5p1:decimal>
          <d5p1:decimal>2</d5p1:decimal>
        </d3p1:Limits>
        <d3p1:Name>sample string 1</d3p1:Name>
        <d3p1:Premium>5</d3p1:Premium>
        <d3p1:TypeCode>sample string 2</d3p1:TypeCode>
      </d3p1:CoverageBasic>
      <d3p1:CoverageBasic>
        <d3p1:Deductibles xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:decimal>1</d5p1:decimal>
          <d5p1:decimal>2</d5p1:decimal>
        </d3p1:Deductibles>
        <d3p1:DeductiblesFormatted>sample string 4</d3p1:DeductiblesFormatted>
        <d3p1:LimitFormatted>sample string 3</d3p1:LimitFormatted>
        <d3p1:Limits xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:decimal>1</d5p1:decimal>
          <d5p1:decimal>2</d5p1:decimal>
        </d3p1:Limits>
        <d3p1:Name>sample string 1</d3p1:Name>
        <d3p1:Premium>5</d3p1:Premium>
        <d3p1:TypeCode>sample string 2</d3p1:TypeCode>
      </d3p1:CoverageBasic>
    </VehicleSpecificCoverages>
    <VehicleSpecificCoveragesXML>sample string 17</VehicleSpecificCoveragesXML>
    <Visible>true</Visible>
    <Year>1</Year>
  </VehicleIntegrationModel>
  <VehicleIntegrationModel>
    <Active>true</Active>
    <DatabaseId>542ed1b8-d3f3-4afe-a897-7fc53b70717b</DatabaseId>
    <DeductibleCollision>1</DeductibleCollision>
    <DeductibleComprehensive>1</DeductibleComprehensive>
    <Description>sample string 6</Description>
    <InsuredCommercialName>sample string 13</InsuredCommercialName>
    <InsuredDatabaseId>3a45a7b0-b1a3-4172-ba32-4fed9b8e45ec</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>d94e1c1f-4639-47cf-ab55-83c97a798da6</PolicyDatabaseId>
    <PolicyLevelCoverages xmlns:d3p1="http://schemas.datacontract.org/2004/07/BusinessEntities.NowCertsFulcrum.Coverage">
      <d3p1:CoverageBasic>
        <d3p1:Deductibles xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:decimal>1</d5p1:decimal>
          <d5p1:decimal>2</d5p1:decimal>
        </d3p1:Deductibles>
        <d3p1:DeductiblesFormatted>sample string 4</d3p1:DeductiblesFormatted>
        <d3p1:LimitFormatted>sample string 3</d3p1:LimitFormatted>
        <d3p1:Limits xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:decimal>1</d5p1:decimal>
          <d5p1:decimal>2</d5p1:decimal>
        </d3p1:Limits>
        <d3p1:Name>sample string 1</d3p1:Name>
        <d3p1:Premium>5</d3p1:Premium>
        <d3p1:TypeCode>sample string 2</d3p1:TypeCode>
      </d3p1:CoverageBasic>
      <d3p1:CoverageBasic>
        <d3p1:Deductibles xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:decimal>1</d5p1:decimal>
          <d5p1:decimal>2</d5p1:decimal>
        </d3p1:Deductibles>
        <d3p1:DeductiblesFormatted>sample string 4</d3p1:DeductiblesFormatted>
        <d3p1:LimitFormatted>sample string 3</d3p1:LimitFormatted>
        <d3p1:Limits xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:decimal>1</d5p1:decimal>
          <d5p1:decimal>2</d5p1:decimal>
        </d3p1:Limits>
        <d3p1:Name>sample string 1</d3p1:Name>
        <d3p1:Premium>5</d3p1:Premium>
        <d3p1:TypeCode>sample string 2</d3p1:TypeCode>
      </d3p1:CoverageBasic>
    </PolicyLevelCoverages>
    <PolicyLevelCoveragesXML>sample string 15</PolicyLevelCoveragesXML>
    <PolicyNumbers xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1: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>ea3a43ac-c25f-4756-93ca-99c53075a17d</CertificateHolderDatabaseId>
        <NatureOfInterest>A2</NatureOfInterest>
      </VehicleLienHolderDetails>
      <VehicleLienHolderDetails>
        <CertificateHolderDatabaseId>ea3a43ac-c25f-4756-93ca-99c53075a17d</CertificateHolderDatabaseId>
        <NatureOfInterest>A2</NatureOfInterest>
      </VehicleLienHolderDetails>
    </VehicleLienHolders>
    <VehicleSpecificCoverages xmlns:d3p1="http://schemas.datacontract.org/2004/07/BusinessEntities.NowCertsFulcrum.Coverage">
      <d3p1:CoverageBasic>
        <d3p1:Deductibles xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:decimal>1</d5p1:decimal>
          <d5p1:decimal>2</d5p1:decimal>
        </d3p1:Deductibles>
        <d3p1:DeductiblesFormatted>sample string 4</d3p1:DeductiblesFormatted>
        <d3p1:LimitFormatted>sample string 3</d3p1:LimitFormatted>
        <d3p1:Limits xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:decimal>1</d5p1:decimal>
          <d5p1:decimal>2</d5p1:decimal>
        </d3p1:Limits>
        <d3p1:Name>sample string 1</d3p1:Name>
        <d3p1:Premium>5</d3p1:Premium>
        <d3p1:TypeCode>sample string 2</d3p1:TypeCode>
      </d3p1:CoverageBasic>
      <d3p1:CoverageBasic>
        <d3p1:Deductibles xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:decimal>1</d5p1:decimal>
          <d5p1:decimal>2</d5p1:decimal>
        </d3p1:Deductibles>
        <d3p1:DeductiblesFormatted>sample string 4</d3p1:DeductiblesFormatted>
        <d3p1:LimitFormatted>sample string 3</d3p1:LimitFormatted>
        <d3p1:Limits xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:decimal>1</d5p1:decimal>
          <d5p1:decimal>2</d5p1:decimal>
        </d3p1:Limits>
        <d3p1:Name>sample string 1</d3p1:Name>
        <d3p1:Premium>5</d3p1:Premium>
        <d3p1:TypeCode>sample string 2</d3p1:TypeCode>
      </d3p1:CoverageBasic>
    </VehicleSpecificCoverages>
    <VehicleSpecificCoveragesXML>sample string 17</VehicleSpecificCoveragesXML>
    <Visible>true</Visible>
    <Year>1</Year>
  </VehicleIntegrationModel>
</ArrayOfVehicleIntegrationModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of 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": "4e0ab19e-b0ec-4471-9dbb-8cc647cdf1eb",
    "databaseId": "9397acff-a54f-48d6-87ab-c1c02a2ffe4b",
    "status": 0,
    "message": "sample string 3"
  },
  {
    "insuredDatabaseId": "4e0ab19e-b0ec-4471-9dbb-8cc647cdf1eb",
    "databaseId": "9397acff-a54f-48d6-87ab-c1c02a2ffe4b",
    "status": 0,
    "message": "sample string 3"
  }
]

application/xml, text/xml

Sample:
<ArrayOfNowCertsApiResultWithInsuredAndDatabaseId xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.NowCertsFulcrum">
  <NowCertsApiResultWithInsuredAndDatabaseId>
    <Message>sample string 3</Message>
    <Status>Error</Status>
    <DatabaseId>9397acff-a54f-48d6-87ab-c1c02a2ffe4b</DatabaseId>
    <InsuredDatabaseId>4e0ab19e-b0ec-4471-9dbb-8cc647cdf1eb</InsuredDatabaseId>
  </NowCertsApiResultWithInsuredAndDatabaseId>
  <NowCertsApiResultWithInsuredAndDatabaseId>
    <Message>sample string 3</Message>
    <Status>Error</Status>
    <DatabaseId>9397acff-a54f-48d6-87ab-c1c02a2ffe4b</DatabaseId>
    <InsuredDatabaseId>4e0ab19e-b0ec-4471-9dbb-8cc647cdf1eb</InsuredDatabaseId>
  </NowCertsApiResultWithInsuredAndDatabaseId>
</ArrayOfNowCertsApiResultWithInsuredAndDatabaseId>