public static async Task Run(GeotabDataOnlyPlanAPI api) { ConsoleUtility.LogExampleStarted(typeof(GetUnitOfMeasureAsyncExample).Name); try { string unitOfMeasureId = KnownId.UnitOfMeasureKilometersPerHourId.ToString(); UnitOfMeasure unitOfMeasure = await api.GetUnitOfMeasureAsync(unitOfMeasureId); } catch (Exception ex) { ConsoleUtility.LogError(ex); } ConsoleUtility.LogExampleFinished(typeof(GetUnitOfMeasureAsyncExample).Name); }