POST api/Policy/PolicyVehicles

Policy vehicles and vehicle drivers list endpoint.

Request Information

URI Parameters

None.

Body Parameters

List of policies database Ids.

PolicyDataBaseIds
NameDescriptionTypeAdditional information
PolicyDataBaseId

Collection of globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "policyDataBaseId": [
    "cd6c3358-bdc5-4d50-b681-a66ef59f29ce",
    "27b4eeb1-3f94-4373-9895-4cf196437a19"
  ]
}

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>cd6c3358-bdc5-4d50-b681-a66ef59f29ce</d2p1:guid>
    <d2p1:guid>27b4eeb1-3f94-4373-9895-4cf196437a19</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.

PolicyVehicles
NameDescriptionTypeAdditional 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.

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": "2021-08-03T05:54:27.0763914-05:00",
      "maritalStatusCode": 0,
      "gender": 0,
      "databaseId": "5f57e039-db6e-46fe-b38f-1c8b22bfea40",
      "licenseNumber": "sample string 4",
      "licenseState": "sample string 5",
      "licenseYear": 1
    },
    {
      "firstName": "sample string 1",
      "lastName": "sample string 2",
      "birthday": "2021-08-03T05:54:27.0763914-05:00",
      "maritalStatusCode": 0,
      "gender": 0,
      "databaseId": "5f57e039-db6e-46fe-b38f-1c8b22bfea40",
      "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"
    },
    {
      "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"
    }
  ],
  "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"
    },
    {
      "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"
    }
  ],
  "databaseId": "f3fd7c44-d4a7-48c7-9a51-5847a4fc183b",
  "type": "sample string 7",
  "typeOfUseAsFlag": 1,
  "policyDatabaseId": "f861244f-499e-4522-aed9-47db4d3c01e4"
}

application/xml, text/xml

Sample:
<PolicyVehicles xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.NowCertsFulcrum">
  <DatabaseId>f3fd7c44-d4a7-48c7-9a51-5847a4fc183b</DatabaseId>
  <Drivers>
    <DriverBasic>
      <Birthday>2021-08-03T05:54:27.0763914-05:00</Birthday>
      <DatabaseId>5f57e039-db6e-46fe-b38f-1c8b22bfea40</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>2021-08-03T05:54:27.0763914-05:00</Birthday>
      <DatabaseId>5f57e039-db6e-46fe-b38f-1c8b22bfea40</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>
  <Make>sample string 3</Make>
  <Model>sample string 2</Model>
  <PolicyDatabaseId>f861244f-499e-4522-aed9-47db4d3c01e4</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: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: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: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:TypeCode>sample string 2</d2p1:TypeCode>
    </d2p1:CoverageBasic>
  </VehicleSpecificCoverages>
  <VehicleSpecificCoveragesXML>sample string 5</VehicleSpecificCoveragesXML>
  <Year>1</Year>
</PolicyVehicles>