finished foster assignment api