Return task id on ApiModel.sync