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": "7643dee4-a113-4314-aec5-9fa5b2cae441",
    "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": "7ba0a937-f4b9-4021-97b8-faa7cc9b336c",
    "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": "7643dee4-a113-4314-aec5-9fa5b2cae441",
    "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": "7ba0a937-f4b9-4021-97b8-faa7cc9b336c",
    "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>7643dee4-a113-4314-aec5-9fa5b2cae441</DatabaseId>
    <DeductibleCollision>1</DeductibleCollision>
    <DeductibleComprehensive>1</DeductibleComprehensive>
    <Description>sample string 6</Description>
    <InsuredCommercialName>sample string 13</InsuredCommercialName>
    <InsuredDatabaseId>7ba0a937-f4b9-4021-97b8-faa7cc9b336c</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>7643dee4-a113-4314-aec5-9fa5b2cae441</DatabaseId>
    <DeductibleCollision>1</DeductibleCollision>
    <DeductibleComprehensive>1</DeductibleComprehensive>
    <Description>sample string 6</Description>
    <InsuredCommercialName>sample string 13</InsuredCommercialName>
    <InsuredDatabaseId>7ba0a937-f4b9-4021-97b8-faa7cc9b336c</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 NowCertsApiResultWithInsuredId
NameDescriptionTypeAdditional information
InsuredDatabaseId

globally unique identifier

None.

Status

ApiStatus

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "insuredDatabaseId": "739472a6-0dae-41ca-9e00-896ef430d939",
    "status": 0,
    "message": "sample string 2"
  },
  {
    "insuredDatabaseId": "739472a6-0dae-41ca-9e00-896ef430d939",
    "status": 0,
    "message": "sample string 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfNowCertsApiResultWithInsuredId xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.NowCertsFulcrum">
  <NowCertsApiResultWithInsuredId>
    <Message>sample string 2</Message>
    <Status>Error</Status>
    <InsuredDatabaseId>739472a6-0dae-41ca-9e00-896ef430d939</InsuredDatabaseId>
  </NowCertsApiResultWithInsuredId>
  <NowCertsApiResultWithInsuredId>
    <Message>sample string 2</Message>
    <Status>Error</Status>
    <InsuredDatabaseId>739472a6-0dae-41ca-9e00-896ef430d939</InsuredDatabaseId>
  </NowCertsApiResultWithInsuredId>
</ArrayOfNowCertsApiResultWithInsuredId>