POST api/Zapier/InsertVehicle
Insert/update vehicle.
Request Information
URI Parameters
None.
Body Parameters
VehicleIntegrationModelName | Description | Type | Additional 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": "e1fe0a7c-0d12-44ab-a936-81f4211a0576", "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": "31df51ce-d291-49fd-a0e8-ef4708aae71b", "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": "df76c837-a69f-4bb4-9968-1857150aec13", "vehicleLienHolders": [ { "certificateHolderDatabaseId": "725fc22a-595a-428c-adf5-9fa1e25a9d35", "natureOfInterest": 0 }, { "certificateHolderDatabaseId": "725fc22a-595a-428c-adf5-9fa1e25a9d35", "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>e1fe0a7c-0d12-44ab-a936-81f4211a0576</DatabaseId> <DeductibleCollision>1</DeductibleCollision> <DeductibleComprehensive>1</DeductibleComprehensive> <Description>sample string 6</Description> <InsuredCommercialName>sample string 13</InsuredCommercialName> <InsuredDatabaseId>31df51ce-d291-49fd-a0e8-ef4708aae71b</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>df76c837-a69f-4bb4-9968-1857150aec13</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>725fc22a-595a-428c-adf5-9fa1e25a9d35</CertificateHolderDatabaseId> <NatureOfInterest>A2</NatureOfInterest> </VehicleLienHolderDetails> <VehicleLienHolderDetails> <CertificateHolderDatabaseId>725fc22a-595a-428c-adf5-9fa1e25a9d35</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
NowCertsApiResultWithDatabaseIdName | Description | Type | Additional information |
---|---|---|---|
DatabaseId | globally unique identifier |
None. |
|
Status | ApiStatus |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "databaseId": "30cce01f-32ae-426f-a19e-97ed77047e5b", "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>30cce01f-32ae-426f-a19e-97ed77047e5b</DatabaseId> </NowCertsApiResultWithDatabaseId>