POST api/Vehicle/BulkInsertVehicle
Bulk insert/update vehicles.
Request Information
URI Parameters
None.
Body Parameters
VehicleIntegrationModel properties
Collection of 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": "b624239b-3c40-4e60-823d-e9f23071496c", "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": "4ac6763a-d7c3-4dd0-ae55-4c263b63eda1", "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": "d8f425ca-a4a4-4798-96f5-f29fc7b689b5", "vehicleLienHolders": [ { "certificateHolderDatabaseId": "f52fec03-84c9-4b93-9d18-34fbd7d40bf2", "natureOfInterest": 0 }, { "certificateHolderDatabaseId": "f52fec03-84c9-4b93-9d18-34fbd7d40bf2", "natureOfInterest": 0 } ] }, { "database_id": "b624239b-3c40-4e60-823d-e9f23071496c", "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": "4ac6763a-d7c3-4dd0-ae55-4c263b63eda1", "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": "d8f425ca-a4a4-4798-96f5-f29fc7b689b5", "vehicleLienHolders": [ { "certificateHolderDatabaseId": "f52fec03-84c9-4b93-9d18-34fbd7d40bf2", "natureOfInterest": 0 }, { "certificateHolderDatabaseId": "f52fec03-84c9-4b93-9d18-34fbd7d40bf2", "natureOfInterest": 0 } ] } ]
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> <Active>true</Active> <DatabaseId>b624239b-3c40-4e60-823d-e9f23071496c</DatabaseId> <DeductibleCollision>1</DeductibleCollision> <DeductibleComprehensive>1</DeductibleComprehensive> <Description>sample string 6</Description> <InsuredCommercialName>sample string 13</InsuredCommercialName> <InsuredDatabaseId>4ac6763a-d7c3-4dd0-ae55-4c263b63eda1</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>d8f425ca-a4a4-4798-96f5-f29fc7b689b5</PolicyDatabaseId> <PolicyLevelCoverages xmlns:d3p1="http://schemas.datacontract.org/2004/07/BusinessEntities.NowCertsFulcrum.Coverage"> <d3p1:CoverageBasic> <d3p1:Deductibles xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:decimal>1</d5p1:decimal> <d5p1:decimal>2</d5p1:decimal> </d3p1:Deductibles> <d3p1:DeductiblesFormatted>sample string 4</d3p1:DeductiblesFormatted> <d3p1:LimitFormatted>sample string 3</d3p1:LimitFormatted> <d3p1:Limits xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:decimal>1</d5p1:decimal> <d5p1:decimal>2</d5p1:decimal> </d3p1:Limits> <d3p1:Name>sample string 1</d3p1:Name> <d3p1:Premium>5</d3p1:Premium> <d3p1:TypeCode>sample string 2</d3p1:TypeCode> </d3p1:CoverageBasic> <d3p1:CoverageBasic> <d3p1:Deductibles xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:decimal>1</d5p1:decimal> <d5p1:decimal>2</d5p1:decimal> </d3p1:Deductibles> <d3p1:DeductiblesFormatted>sample string 4</d3p1:DeductiblesFormatted> <d3p1:LimitFormatted>sample string 3</d3p1:LimitFormatted> <d3p1:Limits xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:decimal>1</d5p1:decimal> <d5p1:decimal>2</d5p1:decimal> </d3p1:Limits> <d3p1:Name>sample string 1</d3p1:Name> <d3p1:Premium>5</d3p1:Premium> <d3p1:TypeCode>sample string 2</d3p1:TypeCode> </d3p1:CoverageBasic> </PolicyLevelCoverages> <PolicyLevelCoveragesXML>sample string 15</PolicyLevelCoveragesXML> <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> <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>f52fec03-84c9-4b93-9d18-34fbd7d40bf2</CertificateHolderDatabaseId> <NatureOfInterest>A2</NatureOfInterest> </VehicleLienHolderDetails> <VehicleLienHolderDetails> <CertificateHolderDatabaseId>f52fec03-84c9-4b93-9d18-34fbd7d40bf2</CertificateHolderDatabaseId> <NatureOfInterest>A2</NatureOfInterest> </VehicleLienHolderDetails> </VehicleLienHolders> <VehicleSpecificCoverages xmlns:d3p1="http://schemas.datacontract.org/2004/07/BusinessEntities.NowCertsFulcrum.Coverage"> <d3p1:CoverageBasic> <d3p1:Deductibles xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:decimal>1</d5p1:decimal> <d5p1:decimal>2</d5p1:decimal> </d3p1:Deductibles> <d3p1:DeductiblesFormatted>sample string 4</d3p1:DeductiblesFormatted> <d3p1:LimitFormatted>sample string 3</d3p1:LimitFormatted> <d3p1:Limits xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:decimal>1</d5p1:decimal> <d5p1:decimal>2</d5p1:decimal> </d3p1:Limits> <d3p1:Name>sample string 1</d3p1:Name> <d3p1:Premium>5</d3p1:Premium> <d3p1:TypeCode>sample string 2</d3p1:TypeCode> </d3p1:CoverageBasic> <d3p1:CoverageBasic> <d3p1:Deductibles xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:decimal>1</d5p1:decimal> <d5p1:decimal>2</d5p1:decimal> </d3p1:Deductibles> <d3p1:DeductiblesFormatted>sample string 4</d3p1:DeductiblesFormatted> <d3p1:LimitFormatted>sample string 3</d3p1:LimitFormatted> <d3p1:Limits xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:decimal>1</d5p1:decimal> <d5p1:decimal>2</d5p1:decimal> </d3p1:Limits> <d3p1:Name>sample string 1</d3p1:Name> <d3p1:Premium>5</d3p1:Premium> <d3p1:TypeCode>sample string 2</d3p1:TypeCode> </d3p1:CoverageBasic> </VehicleSpecificCoverages> <VehicleSpecificCoveragesXML>sample string 17</VehicleSpecificCoveragesXML> <Visible>true</Visible> <Year>1</Year> </VehicleIntegrationModel> <VehicleIntegrationModel> <Active>true</Active> <DatabaseId>b624239b-3c40-4e60-823d-e9f23071496c</DatabaseId> <DeductibleCollision>1</DeductibleCollision> <DeductibleComprehensive>1</DeductibleComprehensive> <Description>sample string 6</Description> <InsuredCommercialName>sample string 13</InsuredCommercialName> <InsuredDatabaseId>4ac6763a-d7c3-4dd0-ae55-4c263b63eda1</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>d8f425ca-a4a4-4798-96f5-f29fc7b689b5</PolicyDatabaseId> <PolicyLevelCoverages xmlns:d3p1="http://schemas.datacontract.org/2004/07/BusinessEntities.NowCertsFulcrum.Coverage"> <d3p1:CoverageBasic> <d3p1:Deductibles xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:decimal>1</d5p1:decimal> <d5p1:decimal>2</d5p1:decimal> </d3p1:Deductibles> <d3p1:DeductiblesFormatted>sample string 4</d3p1:DeductiblesFormatted> <d3p1:LimitFormatted>sample string 3</d3p1:LimitFormatted> <d3p1:Limits xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:decimal>1</d5p1:decimal> <d5p1:decimal>2</d5p1:decimal> </d3p1:Limits> <d3p1:Name>sample string 1</d3p1:Name> <d3p1:Premium>5</d3p1:Premium> <d3p1:TypeCode>sample string 2</d3p1:TypeCode> </d3p1:CoverageBasic> <d3p1:CoverageBasic> <d3p1:Deductibles xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:decimal>1</d5p1:decimal> <d5p1:decimal>2</d5p1:decimal> </d3p1:Deductibles> <d3p1:DeductiblesFormatted>sample string 4</d3p1:DeductiblesFormatted> <d3p1:LimitFormatted>sample string 3</d3p1:LimitFormatted> <d3p1:Limits xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:decimal>1</d5p1:decimal> <d5p1:decimal>2</d5p1:decimal> </d3p1:Limits> <d3p1:Name>sample string 1</d3p1:Name> <d3p1:Premium>5</d3p1:Premium> <d3p1:TypeCode>sample string 2</d3p1:TypeCode> </d3p1:CoverageBasic> </PolicyLevelCoverages> <PolicyLevelCoveragesXML>sample string 15</PolicyLevelCoveragesXML> <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> <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>f52fec03-84c9-4b93-9d18-34fbd7d40bf2</CertificateHolderDatabaseId> <NatureOfInterest>A2</NatureOfInterest> </VehicleLienHolderDetails> <VehicleLienHolderDetails> <CertificateHolderDatabaseId>f52fec03-84c9-4b93-9d18-34fbd7d40bf2</CertificateHolderDatabaseId> <NatureOfInterest>A2</NatureOfInterest> </VehicleLienHolderDetails> </VehicleLienHolders> <VehicleSpecificCoverages xmlns:d3p1="http://schemas.datacontract.org/2004/07/BusinessEntities.NowCertsFulcrum.Coverage"> <d3p1:CoverageBasic> <d3p1:Deductibles xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:decimal>1</d5p1:decimal> <d5p1:decimal>2</d5p1:decimal> </d3p1:Deductibles> <d3p1:DeductiblesFormatted>sample string 4</d3p1:DeductiblesFormatted> <d3p1:LimitFormatted>sample string 3</d3p1:LimitFormatted> <d3p1:Limits xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:decimal>1</d5p1:decimal> <d5p1:decimal>2</d5p1:decimal> </d3p1:Limits> <d3p1:Name>sample string 1</d3p1:Name> <d3p1:Premium>5</d3p1:Premium> <d3p1:TypeCode>sample string 2</d3p1:TypeCode> </d3p1:CoverageBasic> <d3p1:CoverageBasic> <d3p1:Deductibles xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:decimal>1</d5p1:decimal> <d5p1:decimal>2</d5p1:decimal> </d3p1:Deductibles> <d3p1:DeductiblesFormatted>sample string 4</d3p1:DeductiblesFormatted> <d3p1:LimitFormatted>sample string 3</d3p1:LimitFormatted> <d3p1:Limits xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:decimal>1</d5p1:decimal> <d5p1:decimal>2</d5p1:decimal> </d3p1:Limits> <d3p1:Name>sample string 1</d3p1:Name> <d3p1:Premium>5</d3p1:Premium> <d3p1:TypeCode>sample string 2</d3p1:TypeCode> </d3p1:CoverageBasic> </VehicleSpecificCoverages> <VehicleSpecificCoveragesXML>sample string 17</VehicleSpecificCoveragesXML> <Visible>true</Visible> <Year>1</Year> </VehicleIntegrationModel> </ArrayOfVehicleIntegrationModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of 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": "e3a76a4e-829f-4009-a59e-5c7738b99a65", "databaseId": "ada4cb4d-256f-43c6-b4d5-4ff3561b5228", "status": 0, "message": "sample string 3" }, { "insuredDatabaseId": "e3a76a4e-829f-4009-a59e-5c7738b99a65", "databaseId": "ada4cb4d-256f-43c6-b4d5-4ff3561b5228", "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>ada4cb4d-256f-43c6-b4d5-4ff3561b5228</DatabaseId> <InsuredDatabaseId>e3a76a4e-829f-4009-a59e-5c7738b99a65</InsuredDatabaseId> </NowCertsApiResultWithInsuredAndDatabaseId> <NowCertsApiResultWithInsuredAndDatabaseId> <Message>sample string 3</Message> <Status>Error</Status> <DatabaseId>ada4cb4d-256f-43c6-b4d5-4ff3561b5228</DatabaseId> <InsuredDatabaseId>e3a76a4e-829f-4009-a59e-5c7738b99a65</InsuredDatabaseId> </NowCertsApiResultWithInsuredAndDatabaseId> </ArrayOfNowCertsApiResultWithInsuredAndDatabaseId>