Handles DrivingSummary related requests with IMS web services.
The SDK allows for the host application to retrieve driving summary data.
Required information
*Identity: In order to fetch driving summary data, the application must have a valid user (represented by the Identity). That user must be active.
Concrete example
To fetch driving summary data, one can use the following snippet
let service =DrivingSummaryService(identity)let startDate =Date()// customize this to your conveniencelet endDate =Date()// customize this to your convenienceservice.fetch(filters: [.date(start: startDate, end: endDate)], then: { result inguard!result.value.isEmptyelse {// failurereturn } completionHandler(.success(result.value))}