Finding policy locations within geographic bounding boxes

The PolicyLocationSearchAPI web service has a single method.

function findPolicyLocationByEffDateAndProductsWithinBoundingBox(effDate : Date,
        productCodes : String[], topLeftLat : BigDecimal, topLeftLong : BigDecimal,
        bottomRightLat : BigDecimal, bottomRightLong : BigDecimal) : PolicyLocationInfo[] {

The method accepts the following required parameters.

  • The effective date for policies to find
  • A non-empty String array of product codes for policies to find
  • The bounding box coordinates for policy locations to find on policies that match the effective date and product codes. The coordinates are listed below.
    • Top left latitude
    • Top left longitude
    • Bottom right latitude
    • Bottom right longitude

    The bounding box parameters are of the type BigDecimal with five decimal points of precision.

The method returns an array of PolicyLocationInfo objects.