Timemanagement and api