Added TaskRequest to ApiRequest