> For the complete documentation index, see [llms.txt](https://docs-old.telematicssdk.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-old.telematicssdk.com/response-codes/archive/back-end-to-app-integration/get-the-data-to-the-ios-app/statistics/request-main-statistics-1.md).

# Request main statistics data for all possible statistic types

```
@param type Type of statistics you want to request.
 @param period Time interval for last period of statistics.
 @param callback Completion handler with statistics respone. Final type depends on type. It could be RPStatisticsDriving,
   RPStatisticsDrivingTime, RPStatisticsMileage, RPStatisticsPhone or RPStatisticsSpeed
- (void)getStatisticsDetailForType:(RPStatisticsType)type
                            period:(RPStatisticsPeriod)period
                        completion:(RPAPIEntryCallback)callback;
- (NSArray <RPTrack *>*)getOutcomingTracks;
```
