update type for LocalDateTime and add initialize to endpointRequestClass