POST api/Vehicle/InsertVehicle
Insert/update vehicle.
Request Information
URI Parameters
None.
Body Parameters
VehicleIntegrationModel properties
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": "4ccfaac8-7217-41b3-b441-ef0eceab34ae", "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": "9034f912-0abd-4f67-b8d6-54d3f546b0c4", "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": "66f11413-14b6-437c-b3f8-8537269a27b7", "vehicleLienHolders": [ { "certificateHolderDatabaseId": "789386be-3fdd-415e-b605-af11828ad70d", "natureOfInterest": 0 }, { "certificateHolderDatabaseId": "789386be-3fdd-415e-b605-af11828ad70d", "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>4ccfaac8-7217-41b3-b441-ef0eceab34ae</DatabaseId> <DeductibleCollision>1</DeductibleCollision> <DeductibleComprehensive>1</DeductibleComprehensive> <Description>sample string 6</Description> <InsuredCommercialName>sample string 13</InsuredCommercialName> <InsuredDatabaseId>9034f912-0abd-4f67-b8d6-54d3f546b0c4</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>66f11413-14b6-437c-b3f8-8537269a27b7</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>789386be-3fdd-415e-b605-af11828ad70d</CertificateHolderDatabaseId> <NatureOfInterest>A2</NatureOfInterest> </VehicleLienHolderDetails> <VehicleLienHolderDetails> <CertificateHolderDatabaseId>789386be-3fdd-415e-b605-af11828ad70d</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
NowCertsApiResultWithInsuredAndDatabaseIdName | Description | Type | Additional 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": "0da17cbe-8eec-4188-a0db-d2f9121e85af", "databaseId": "25439d47-ae0b-4713-afb9-5aa62d9f9022", "status": 0, "message": "sample string 3" }
application/xml, text/xml
Sample:
<NowCertsApiResultWithInsuredAndDatabaseId xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.NowCertsFulcrum"> <Message>sample string 3</Message> <Status>Error</Status> <DatabaseId>25439d47-ae0b-4713-afb9-5aa62d9f9022</DatabaseId> <InsuredDatabaseId>0da17cbe-8eec-4188-a0db-d2f9121e85af</InsuredDatabaseId> </NowCertsApiResultWithInsuredAndDatabaseId>