POST api/Policy/PolicyVehicles
Policy vehicles and respective vehicle drivers list endpoint.
Request Information
URI Parameters
None.
Body Parameters
List of policies database Ids.
PolicyDataBaseIdsName | Description | Type | Additional information |
---|---|---|---|
PolicyDataBaseId | Collection of globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "policyDataBaseId": [ "d1e6a404-c62c-4906-a3df-1f5f15e46fbe", "5077e5b5-e369-486e-961b-d93c6cac44bd" ] }
application/xml, text/xml
Sample:
<PolicyDataBaseIds xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.OData"> <PolicyDataBaseId xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:guid>d1e6a404-c62c-4906-a3df-1f5f15e46fbe</d2p1:guid> <d2p1:guid>5077e5b5-e369-486e-961b-d93c6cac44bd</d2p1:guid> </PolicyDataBaseId> </PolicyDataBaseIds>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
List of PolicyVehicles against given policies database Ids.
PolicyVehiclesName | Description | Type | Additional information |
---|---|---|---|
VIN | string |
None. |
|
Year | integer |
None. |
|
Model | string |
None. |
|
Make | string |
None. |
|
PolicyLevelCoveragesXML | string |
None. |
|
VehicleSpecificCoveragesXML | string |
None. |
|
Drivers | Collection of DriverBasic |
None. |
|
PolicyLevelCoverages | Collection of CoverageBasic |
None. |
|
VehicleSpecificCoverages | Collection of CoverageBasic |
None. |
|
DatabaseId | globally unique identifier |
None. |
|
Type | string |
None. |
|
TypeOfUseAsFlag | VehicleTypeOfUse |
None. |
|
PolicyDatabaseId | globally unique identifier |
None. |
|
LienHolders | Collection of VehicleLienHolder |
None. |
|
Visible | boolean |
None. |
|
Active | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "vin": "sample string 1", "year": 1, "model": "sample string 2", "make": "sample string 3", "policyLevelCoveragesXML": "sample string 4", "vehicleSpecificCoveragesXML": "sample string 5", "drivers": [ { "firstName": "sample string 1", "lastName": "sample string 2", "birthday": "2025-01-15T18:32:02.5351069-06:00", "maritalStatusCode": 0, "gender": 0, "databaseId": "bf959273-2e98-46eb-be35-2482a08dfbec", "licenseNumber": "sample string 4", "licenseState": "sample string 5", "licenseYear": 1 }, { "firstName": "sample string 1", "lastName": "sample string 2", "birthday": "2025-01-15T18:32:02.5351069-06:00", "maritalStatusCode": 0, "gender": 0, "databaseId": "bf959273-2e98-46eb-be35-2482a08dfbec", "licenseNumber": "sample string 4", "licenseState": "sample string 5", "licenseYear": 1 } ], "policyLevelCoverages": [ { "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 } ], "vehicleSpecificCoverages": [ { "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 } ], "databaseId": "7e202ddf-d941-4259-ab37-4e1cd0b11816", "type": "sample string 7", "typeOfUseAsFlag": 1, "policyDatabaseId": "2241e521-932d-4455-b34d-65ac28bc6e93", "lienHolders": [ { "vehicleId": "9a292ddc-e764-47c9-9be7-8f337d4d18b7", "certificateHolderId": "bece3a71-3251-48d7-85ae-0e0c17a1cbb9", "name": "sample string 3", "email": "sample string 4", "fax": "sample string 5", "addressLine1": "sample string 6", "city": "sample string 7", "state": "sample string 8", "natureOfInterestEnumValue": 1, "natureOfInterestDescriptionValue": "sample string 9", "additionalInterests": [ { "certificateHolderId": "6b3b41b4-0777-48a3-bc02-f138c86978b3", "truckingCompanyId": "64ba39d2-0eab-4521-8d50-5ee47d917ef7", "loanNumber": "sample string 3" }, { "certificateHolderId": "6b3b41b4-0777-48a3-bc02-f138c86978b3", "truckingCompanyId": "64ba39d2-0eab-4521-8d50-5ee47d917ef7", "loanNumber": "sample string 3" } ] }, { "vehicleId": "9a292ddc-e764-47c9-9be7-8f337d4d18b7", "certificateHolderId": "bece3a71-3251-48d7-85ae-0e0c17a1cbb9", "name": "sample string 3", "email": "sample string 4", "fax": "sample string 5", "addressLine1": "sample string 6", "city": "sample string 7", "state": "sample string 8", "natureOfInterestEnumValue": 1, "natureOfInterestDescriptionValue": "sample string 9", "additionalInterests": [ { "certificateHolderId": "6b3b41b4-0777-48a3-bc02-f138c86978b3", "truckingCompanyId": "64ba39d2-0eab-4521-8d50-5ee47d917ef7", "loanNumber": "sample string 3" }, { "certificateHolderId": "6b3b41b4-0777-48a3-bc02-f138c86978b3", "truckingCompanyId": "64ba39d2-0eab-4521-8d50-5ee47d917ef7", "loanNumber": "sample string 3" } ] } ], "visible": true, "active": true }
application/xml, text/xml
Sample:
<PolicyVehicles xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.NowCertsFulcrum"> <Active>true</Active> <DatabaseId>7e202ddf-d941-4259-ab37-4e1cd0b11816</DatabaseId> <Drivers> <DriverBasic> <Birthday>2025-01-15T18:32:02.5351069-06:00</Birthday> <DatabaseId>bf959273-2e98-46eb-be35-2482a08dfbec</DatabaseId> <FirstName>sample string 1</FirstName> <Gender>M</Gender> <LastName>sample string 2</LastName> <LicenseNumber>sample string 4</LicenseNumber> <LicenseState>sample string 5</LicenseState> <LicenseYear>1</LicenseYear> <MaritalStatusCode>S</MaritalStatusCode> </DriverBasic> <DriverBasic> <Birthday>2025-01-15T18:32:02.5351069-06:00</Birthday> <DatabaseId>bf959273-2e98-46eb-be35-2482a08dfbec</DatabaseId> <FirstName>sample string 1</FirstName> <Gender>M</Gender> <LastName>sample string 2</LastName> <LicenseNumber>sample string 4</LicenseNumber> <LicenseState>sample string 5</LicenseState> <LicenseYear>1</LicenseYear> <MaritalStatusCode>S</MaritalStatusCode> </DriverBasic> </Drivers> <LienHolders xmlns:d2p1="http://schemas.datacontract.org/2004/07/BusinessEntities.OData"> <d2p1:VehicleLienHolder> <d2p1:AdditionalInterests> <d2p1:AdditionalInterest> <d2p1:CertificateHolderId>6b3b41b4-0777-48a3-bc02-f138c86978b3</d2p1:CertificateHolderId> <d2p1:LoanNumber>sample string 3</d2p1:LoanNumber> <d2p1:TruckingCompanyId>64ba39d2-0eab-4521-8d50-5ee47d917ef7</d2p1:TruckingCompanyId> </d2p1:AdditionalInterest> <d2p1:AdditionalInterest> <d2p1:CertificateHolderId>6b3b41b4-0777-48a3-bc02-f138c86978b3</d2p1:CertificateHolderId> <d2p1:LoanNumber>sample string 3</d2p1:LoanNumber> <d2p1:TruckingCompanyId>64ba39d2-0eab-4521-8d50-5ee47d917ef7</d2p1:TruckingCompanyId> </d2p1:AdditionalInterest> </d2p1:AdditionalInterests> <d2p1:AddressLine1>sample string 6</d2p1:AddressLine1> <d2p1:CertificateHolderId>bece3a71-3251-48d7-85ae-0e0c17a1cbb9</d2p1:CertificateHolderId> <d2p1:City>sample string 7</d2p1:City> <d2p1:Email>sample string 4</d2p1:Email> <d2p1:Fax>sample string 5</d2p1:Fax> <d2p1:Name>sample string 3</d2p1:Name> <d2p1:NatureOfInterestDescriptionValue>sample string 9</d2p1:NatureOfInterestDescriptionValue> <d2p1:NatureOfInterestEnumValue>1</d2p1:NatureOfInterestEnumValue> <d2p1:State>sample string 8</d2p1:State> <d2p1:VehicleId>9a292ddc-e764-47c9-9be7-8f337d4d18b7</d2p1:VehicleId> </d2p1:VehicleLienHolder> <d2p1:VehicleLienHolder> <d2p1:AdditionalInterests> <d2p1:AdditionalInterest> <d2p1:CertificateHolderId>6b3b41b4-0777-48a3-bc02-f138c86978b3</d2p1:CertificateHolderId> <d2p1:LoanNumber>sample string 3</d2p1:LoanNumber> <d2p1:TruckingCompanyId>64ba39d2-0eab-4521-8d50-5ee47d917ef7</d2p1:TruckingCompanyId> </d2p1:AdditionalInterest> <d2p1:AdditionalInterest> <d2p1:CertificateHolderId>6b3b41b4-0777-48a3-bc02-f138c86978b3</d2p1:CertificateHolderId> <d2p1:LoanNumber>sample string 3</d2p1:LoanNumber> <d2p1:TruckingCompanyId>64ba39d2-0eab-4521-8d50-5ee47d917ef7</d2p1:TruckingCompanyId> </d2p1:AdditionalInterest> </d2p1:AdditionalInterests> <d2p1:AddressLine1>sample string 6</d2p1:AddressLine1> <d2p1:CertificateHolderId>bece3a71-3251-48d7-85ae-0e0c17a1cbb9</d2p1:CertificateHolderId> <d2p1:City>sample string 7</d2p1:City> <d2p1:Email>sample string 4</d2p1:Email> <d2p1:Fax>sample string 5</d2p1:Fax> <d2p1:Name>sample string 3</d2p1:Name> <d2p1:NatureOfInterestDescriptionValue>sample string 9</d2p1:NatureOfInterestDescriptionValue> <d2p1:NatureOfInterestEnumValue>1</d2p1:NatureOfInterestEnumValue> <d2p1:State>sample string 8</d2p1:State> <d2p1:VehicleId>9a292ddc-e764-47c9-9be7-8f337d4d18b7</d2p1:VehicleId> </d2p1:VehicleLienHolder> </LienHolders> <Make>sample string 3</Make> <Model>sample string 2</Model> <PolicyDatabaseId>2241e521-932d-4455-b34d-65ac28bc6e93</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 4</PolicyLevelCoveragesXML> <Type>sample string 7</Type> <TypeOfUseAsFlag>Commercial</TypeOfUseAsFlag> <VIN>sample string 1</VIN> <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 5</VehicleSpecificCoveragesXML> <Visible>true</Visible> <Year>1</Year> </PolicyVehicles>