Get all locations for a VIN.
The following endpoint will return locations based on the parameters passed.
In order for DRN to properly determine premium differentials, a valid rating table (by zipcode) needs to be provided to DRN before utilizing the GarageAware API. This will be part of your post-sales on-boarding process and will be loaded & updated by DRN.
URLs
https://platform.drndata.com/api/Insurance/Garage
http://staging.external.drndata.com/api/Insurance/Garage
PARAMETERS
| Param Name |
Types |
Required |
Options / Notes |
| vin |
String |
true |
MAX 17 character VINs |
| policy_id |
Int |
true |
|
| street |
String |
false |
|
| city |
String |
false |
|
| state |
String |
false |
|
| zip |
String |
true |
Please include leading zeros if necessary (I.E Highland Park, NJ = 08904) |
| latitude |
Float |
false |
Required if ZIP is not present |
| longitude |
Float |
false |
Required if ZIP is not present |
| start |
date |
false |
|
| end |
date |
false |
|
Sample Response
{
"code": 100, // integer
"message": null, // string
"data": {
"given": {
"location": {
"address": "", // string
"latitude": NULL, // float
"longitude": NULL, // float
"method": "", // string
"premium": 0 // float
},
"sightings": {
"total": 0, // integer
"night": 0 // integer
},
"visits": 0, // integer
"visits_area": "", // integer
"vehicle": {
"vin": "", // string
"plate": {
"number": "", // string
"state": "" // string
}
}
},
"sightings": "",
"distances": {
"1": 0, // integer
"5": 0, // integer
"10": 0, // integer
"25": 0, // integer
"50": 0, // integer
"150": 1 // integer
},
"score": {
"location": {
"state": "", // string
"zipcode": "", // string
"latitude": 0, // float
"longitude": 0, // float
"distance_from_given": 0, // integer
"premium": 0, // float
"premium_differential": 0, // float
"address": "" // string
},
"visits": 3, // integer
"sightings": {
"night": 1, // integer
"total": 1 // integer
},
"vehicle_popularity_percent": 33, // integer
"date_first_seen": "2017-03-16T02:04:40+00:00", // string
"date_last_seen": "2017-03-16T02:04:40+00:00", // string
"type": "residential", // string
"score": "Yellow" // string
},
"locations": {
"residential": {
"location": {
"state": "", // string
"zipcode": "", // string
"latitude": 0, // float
"longitude": 0, // float
"distance_from_given":0, // integer
"premium": 0, // float
"premium_differential": 0, // float
"address": ""
},
"visits": 3, // integer
"sightings": {
"night": 1, // integer
"total": 1 // integer
},
"vehicle_popularity_percent": 33, // integer
"date_first_seen": "2017-03-16T02:04:40+00:00",
"date_last_seen": "2017-03-16T02:04:40+00:00",
"type": "residential", // string
"score": "Yellow" // string
},
"workplace": {
"location": null,
"visits": 0, // integer
"sightings": {
"night": 0, // integer
"total": 0 // integer
},
"vehicle_popularity_percent": 0, // integer
"date_first_seen": null, // string
"date_last_seen": null, // string
"type": null, // string
"score": "White" // string
},
"public": {
"location": null,
"visits": 0, // integer
"sightings": {
"night": 0, // integer
"total": 0 // integer
},
"vehicle_popularity_percent": 0, // integer
"date_first_seen": null, // string
"date_last_seen": null, // string
"type": null, // string
"score": "White" // string
},
"other": {
"location": null,
"visits": 0, // integer
"sightings": {
"night": 0, // integer
"total": 0 // integer
},
"vehicle_popularity_percent": 0, // integer
"date_first_seen": null, // string
"date_last_seen": null, // string
"type": null, // string
"score": "White" // string
}
},
"scans": []
}
}