private Map<String, Object> createRequestItem(
      Object item, int id, String url) throws Exception {
    TransformResult<LinkedHashMap> result = transformerService.transform(LinkedHashMap.class, item);
    if (result.getProblems() != null && !result.getProblems().isEmpty()) {
      throw new IOException("Problem transforming request: " + result.getProblems().get(0));
    }
    LinkedHashMap contact = result.getTransformed();
    return createRequest(id, url, contact);
  }
Imports Outlook calendar information using the Microsoft Graph API.
extensions/data-transfer/portability-data-transfer-microsoft/src/main/java/org/datatransferproject/transfer/microsoft/calendar/MicrosoftCalendarImporter.java