POST api/Vehicle/BulkInsertVehicle

Request Information

URI Parameters

None.

Body Parameters

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.

Request Formats

application/json, text/json

Sample:
[
  {
    "database_id": "a0b45ee8-da59-4167-a4dd-cabc5ed680a3",
    "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": "72b54674-67eb-4132-b6d8-e71cac00b9b3",
    "insured_email": "sample string 10",
    "insured_first_name": "sample string 11",
    "insured_last_name": "sample string 12",
    "insured_commercial_name": "sample string 13"
  },
  {
    "database_id": "a0b45ee8-da59-4167-a4dd-cabc5ed680a3",
    "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": "72b54674-67eb-4132-b6d8-e71cac00b9b3",
    "insured_email": "sample string 10",
    "insured_first_name": "sample string 11",
    "insured_last_name": "sample string 12",
    "insured_commercial_name": "sample string 13"
  }
]

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>
    <DatabaseId>a0b45ee8-da59-4167-a4dd-cabc5ed680a3</DatabaseId>
    <DeductibleCollision>1</DeductibleCollision>
    <DeductibleComprehensive>1</DeductibleComprehensive>
    <Description>sample string 6</Description>
    <InsuredCommercialName>sample string 13</InsuredCommercialName>
    <InsuredDatabaseId>72b54674-67eb-4132-b6d8-e71cac00b9b3</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>
    <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>
    <Type>sample string 2</Type>
    <TypeOfUse>sample string 7</TypeOfUse>
    <TypeOfUseAsFlag>Commercial</TypeOfUseAsFlag>
    <VIN>sample string 5</VIN>
    <Value>sample string 8</Value>
    <Visible>true</Visible>
    <Year>1</Year>
  </VehicleIntegrationModel>
  <VehicleIntegrationModel>
    <DatabaseId>a0b45ee8-da59-4167-a4dd-cabc5ed680a3</DatabaseId>
    <DeductibleCollision>1</DeductibleCollision>
    <DeductibleComprehensive>1</DeductibleComprehensive>
    <Description>sample string 6</Description>
    <InsuredCommercialName>sample string 13</InsuredCommercialName>
    <InsuredDatabaseId>72b54674-67eb-4132-b6d8-e71cac00b9b3</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>
    <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>
    <Type>sample string 2</Type>
    <TypeOfUse>sample string 7</TypeOfUse>
    <TypeOfUseAsFlag>Commercial</TypeOfUseAsFlag>
    <VIN>sample string 5</VIN>
    <Value>sample string 8</Value>
    <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": "697015bf-2b81-4b19-b961-61d04e91f567",
    "databaseId": "0c577653-0b34-46b9-bcc8-44c002aa4250",
    "status": 0,
    "message": "sample string 3"
  },
  {
    "insuredDatabaseId": "697015bf-2b81-4b19-b961-61d04e91f567",
    "databaseId": "0c577653-0b34-46b9-bcc8-44c002aa4250",
    "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>0c577653-0b34-46b9-bcc8-44c002aa4250</DatabaseId>
    <InsuredDatabaseId>697015bf-2b81-4b19-b961-61d04e91f567</InsuredDatabaseId>
  </NowCertsApiResultWithInsuredAndDatabaseId>
  <NowCertsApiResultWithInsuredAndDatabaseId>
    <Message>sample string 3</Message>
    <Status>Error</Status>
    <DatabaseId>0c577653-0b34-46b9-bcc8-44c002aa4250</DatabaseId>
    <InsuredDatabaseId>697015bf-2b81-4b19-b961-61d04e91f567</InsuredDatabaseId>
  </NowCertsApiResultWithInsuredAndDatabaseId>
</ArrayOfNowCertsApiResultWithInsuredAndDatabaseId>