POST api/Zapier/InsertVehicle

Request Information

URI Parameters

None.

Body Parameters

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": "dcd70f69-7962-4750-95d3-3cda735db7b5",
  "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": "615c0378-5b02-4a8c-a550-f4c63458ebed",
  "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:
<VehicleIntegrationModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.Integrations.Models">
  <DatabaseId>dcd70f69-7962-4750-95d3-3cda735db7b5</DatabaseId>
  <DeductibleCollision>1</DeductibleCollision>
  <DeductibleComprehensive>1</DeductibleComprehensive>
  <Description>sample string 6</Description>
  <InsuredCommercialName>sample string 13</InsuredCommercialName>
  <InsuredDatabaseId>615c0378-5b02-4a8c-a550-f4c63458ebed</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:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1: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>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

NowCertsApiResultWithDatabaseId
NameDescriptionTypeAdditional information
DatabaseId

globally unique identifier

None.

Status

ApiStatus

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "databaseId": "0d35133f-0ba4-4554-9009-b71458485a4d",
  "status": 0,
  "message": "sample string 2"
}

application/xml, text/xml

Sample:
<NowCertsApiResultWithDatabaseId xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.NowCertsFulcrum">
  <Message>sample string 2</Message>
  <Status>Error</Status>
  <DatabaseId>0d35133f-0ba4-4554-9009-b71458485a4d</DatabaseId>
</NowCertsApiResultWithDatabaseId>