> For the complete documentation index, see [llms.txt](https://docs.drivequant.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.drivequant.com/backend/stolen-vehicle/get-a-theft-reports-locations.md).

# Get a theft report's locations

This service can be used to retrieve the details of a theft report. It includes all beacon locations recorded since the report was created.

{% hint style="info" %}
If you have your **admin API key**, you can try the API via this [**link**](https://drivequant.stoplight.io/docs/drivequant-public/af66b6261aab1-get-a-specific-theft-report).
{% endhint %}

{% hint style="warning" %}
This service is rate-limited to **1 request per second** per admin API key. If you go over this limit, the API returns an HTTP `429 Too Many Requests` error. Wait at least one second before sending the request again.
{% endhint %}

## GET /drivekit/admin/beacon/reports/{reportId}

> Get a theft report's locations

```json
{"openapi":"3.0.3","info":{"title":"DKAdminStolenVehicleServiceV3","version":"1.0"},"servers":[{"url":"https://service.drivequant.com/v3","description":"Prod"}],"security":[{"api-key":[]}],"components":{"securitySchemes":{"api-key":{"name":"DriveKit-Admin-API-Key","type":"apiKey","in":"header"}},"schemas":{"StolenVehicleReportWithLocationResponse":{"title":"StolenVehicleReportWithLocationResponse","allOf":[{"$ref":"#/components/schemas/StolenVehicleReportResponse"},{"type":"object","properties":{"locations":{"type":"array","items":{"$ref":"#/components/schemas/LocationResponse"}}}}]},"StolenVehicleReportResponse":{"title":"StolenVehicleReportResponse","type":"object","properties":{"id":{"type":"string","description":"The unique identifier of the stolen vehicle report"},"requestDate":{"type":"string","format":"date-time","description":"The date and time when the report was created, in ISO 8601 format"},"theftReportDate":{"type":"string","format":"date-time","description":"The date and time when the vehicle was reported as stolen, in ISO 8601 format"},"theftReportClosingDate":{"type":"string","format":"date-time","description":"The date and time when the theft report was closed, in ISO 8601 format"},"theftReportClosingReason":{"type":"string","nullable":true,"description":"The reason for closing the theft report","enum":["VEHICLE_RECOVERED","VEHICLE_DESTROYED","OTHER"]},"theftReportClosingComment":{"type":"string","nullable":true,"description":"Additional comments regarding the closure of the theft report"},"status":{"type":"string","description":"The status of the theft report","enum":["ACTIVE","EXPIRED","CANCELED","CLOSED"]},"beacon":{"type":"object","properties":{"uuid":{"type":"string","format":"uuid","description":"The unique identifier of the beacon"},"major":{"type":"integer","minimum":0,"maximum":65535,"description":"The major value of the iBeacon"},"minor":{"type":"integer","minimum":0,"maximum":65535,"description":"The minor value of the iBeacon"}}}}},"LocationResponse":{"title":"LocationResponse","type":"object","properties":{"date":{"type":"string","format":"date-time","description":"The date and time when the beacon was detected, in ISO 8601 format"},"locationDate":{"type":"string","format":"date-time","description":"The date and time when the location was recorded, in ISO 8601 format"},"latitude":{"type":"number","format":"float","description":"The latitude of the location"},"longitude":{"type":"number","format":"float","description":"The longitude of the location"},"accuracy":{"type":"number","format":"float","description":"The accuracy of the location data in meters"}}},"ErrorResponse":{"title":"ErrorResponse","type":"object","properties":{"message":{"type":"string"},"code":{"type":"integer"},"messageKey":{"type":"string"}}}}},"paths":{"/drivekit/admin/beacon/reports/{reportId}":{"get":{"summary":"Get a theft report's locations","tags":[],"operationId":"get-drivekit-admin-beacon-report","parameters":[{"schema":{"type":"string"},"in":"header","name":"DriveKit-Admin-API-Key","description":"Drivekit Admin API key","required":true},{"schema":{"type":"string"},"in":"path","name":"reportId","description":"The unique identifier of the theft report to be retrieved","required":true}],"responses":{"200":{"description":"Successful response with the details of the requested theft report","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StolenVehicleReportWithLocationResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}}}}
```

## Response body

The table below summarizes the content of the response body.

<table><thead><tr><th width="242.6484375">Field</th><th width="99.515625">Format</th><th>Description</th></tr></thead><tbody><tr><td>id</td><td><code>string</code></td><td>Unique identifier of the theft report</td></tr><tr><td>beacon</td><td><code>object</code></td><td><p>Beacon information.</p><p><em>See</em> <a data-mention href="#beacon">#beacon</a></p></td></tr><tr><td>requestDate</td><td><code>string</code></td><td>Date at which the theft was reported on DriveQuant platform.<br><em>Date format: <code>yyyy-MM-dd'T'HH:mm:ss.SSSZ</code></em></td></tr><tr><td>theftReportDate</td><td><code>string</code></td><td><p>Date at which the theft was reported to the authorities.</p><p><em>Date format: <code>yyyy-MM-dd'T'HH:mm:ss.SSSZ</code></em></p></td></tr><tr><td>theftReportClosingDate</td><td><code>string</code></td><td><p>Date at which the theft report expires or has been closed.</p><p><em>Date format: <code>yyyy-MM-dd'T'HH:mm:ss.SSSZ</code></em></p></td></tr><tr><td>theftReportClosingReason</td><td><code>string</code></td><td>Reason for closing the report.<br><em>Nullable. Allowed values: <code>VEHICLE_RECOVERED</code>, <code>VEHICLE_DESTROYED</code>, <code>OTHER</code></em></td></tr><tr><td>theftReportClosingComment</td><td><code>string</code></td><td>Free comment when closing the report.<br><em>Nullable</em></td></tr><tr><td>status</td><td><code>string</code></td><td>Status of the report.<br><em>Allowed values: <code>ACTIVE</code>, <code>CLOSED</code>, <code>CANCELED</code>, <code>EXPIRED</code></em></td></tr><tr><td>locations</td><td><code>array</code></td><td><p>List of all the locations recorded when the report was active.</p><p><em>See</em> <a data-mention href="#location">#location</a></p></td></tr></tbody></table>

### Beacon

The table below summarizes the content of the `Beacon` object.

<table><thead><tr><th width="150.00390625">Field</th><th width="149.6484375">Format</th><th>Description</th></tr></thead><tbody><tr><td>uuid</td><td><code>string</code></td><td>iBeacon UUID</td></tr><tr><td>major</td><td><code>integer</code></td><td>iBeacon major identifier</td></tr><tr><td>minor</td><td><code>integer</code></td><td>iBeacon minor identifier</td></tr></tbody></table>

### Location

The table below summarizes the content of the `Location` object.

<table><thead><tr><th width="150.00390625">Field</th><th width="149.6484375">Format</th><th>Description</th></tr></thead><tbody><tr><td>date</td><td><code>string</code></td><td>Date at which the beacon was detected.<br><em>Date format: <code>yyyy-MM-dd'T'HH:mm:ss.SSSZ</code></em></td></tr><tr><td>locationDate</td><td><code>string</code></td><td>Date at which the location of the phone was obtained.<br><em>Date format: <code>yyyy-MM-dd'T'HH:mm:ss.SSSZ</code></em></td></tr><tr><td>latitude</td><td><code>double</code></td><td>Location latitude (in degrees)</td></tr><tr><td>longitude</td><td><code>double</code></td><td>Location longitude (in degrees)</td></tr><tr><td>accuracy</td><td><code>double</code></td><td>Accuracy of the location (in m)</td></tr></tbody></table>
