Adding exposures, exclusions, and conditions

Adding exposures

To add exposures, use the appropriate LOB-specific endpoint. For example, the Personal Auto line of business has a driver exposure. The endpoint for creating drivers is POST /jobs/{jobId}/lines/PersonalAutoLine/vehicles/{vehicleId}/drivers.

The following request payload is an example of creating a driver for the vehicle in the previous example. The driver is Bill Preston (pc:78) who drives the previously created Toyota Tercel (103) 100% of the time.

POST /job/v1/jobs/pc:4040/lines/PersonalAutoLine/vehicles/103/drivers

{
  "data": {
    "attributes": {
      "percentageDriven": 100,
      "policyDriver": {
        "id": "pc:78"
      }
    }
  }
}

Adding exclusions and conditions

To add exclusions or conditions, use the appropriate LOB-specific /coverages endpoint.

For example, a Commercial Liability line of business could have a GLUndergroundResources exclusion and a GLUseOfExplosives condition. The following request payload is an example of adding these to the policy.

POST /job/v1/jobs/pc:6788/lines/CommercialLiabilityLine/coverages/GLUndergroundResources
   
{
  "data": {
    "attributes": {
    }
  }
}
POST /job/v1/jobs/pc:6788/lines/CommercialLiabilityLine/coverages/GLUseOfExplosives
   
{
  "data": {
    "attributes": {
    }
  }
}