External API (1.0.0)
Download OpenAPI specification:Download
The External API services endpoints that are not directly connected to the OpenAPI platform. These endpoints are predominantly used for third-party integrators and are billed on a usage-based subscription. If you would like to leverage the External API, please contact us (developers@hailtrace.com).
Order Hail History Report
Allows the client to generate a hail history report PDF for a specific location. You must provide latitude and longitude or a valid street_address. Latitude and longitude will supercede street_address and bypass the reverse geocoding process, if provided. Providing a street_address is strongly encouraged as it will show up on the final report.
Authorizations:
Request Body schema: application/json
street_address | string The address to order (reverse-geocoded if no lat/lng are provided) |
latitude | string The latitude for the report. |
longitude | string The longitude for the report. |
min_convective_date required | string <date> The min convective date for the hail history table in the report. |
max_convective_date required | string <date> The max convective date for the hail history table in the report. |
contractor_variant | boolean Default: false Provides a specific version of the report for contractors. This excludes SDOL (Suggested date of loss) calculation variants. |
object (Profile) |
Responses
Request samples
- Payload
{- "street_address": "1600 Burlwood Rd, Norman, OK 73026",
- "latitude": "36.70133871536629",
- "longitude": "-117.21559539277622",
- "min_convective_date": "2011-01-01",
- "max_convective_date": "2022-06-16",
- "contractor_variant": false,
- "profile": {
- "roof_material": "T_LOCK_SHINGLE",
- "insured_date": "2020-03-12",
- "reference_id": "CLAIM1872947",
- "reference_name": "John Doe",
- "roof_last_replaced": "2019-08-19"
}
}
Response samples
- 200
- 404
{- "status": 200,
- "message": "Order Placed",
- "result": {
- "report_id": "0NPM9PRM3",
- "status": "PENDING",
}
}
Response samples
- 200
- 404
{- "_id": "62e7f70a470ceef4fa1d11bd",
- "report_id": "0NPM9PRM3",
- "street_address": "string",
- "min_convective_date": "2019-08-24",
- "max_convective_date": "2019-08-24",
- "status": "COMPLETE",
- "latitude": 36.70133871536629,
- "longitude": -117.21559539277622,
- "sdol_lookahead_days": 45,
- "diameter_in_threshold": 0.75,
- "damage_probability_threshold": 0,
- "search_radius_mi": 0,
- "created_at": "2022-08-01T15:53:46.505Z",
- "contractor_variant": false,
- "profile": {
- "roof_material": "T_LOCK_SHINGLE",
- "insured_date": "2020-03-12",
- "reference_id": "CLAIM1872947",
- "reference_name": "John Doe",
- "roof_last_replaced": "2019-08-19"
}, - "location": {
- "geometry": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}
}, - "type": "RDOL_IS_SDOL"
}