Added API functionality to create task and also added task id to getteam return object