time registration client en server api