Implemented New Assignment API Logic