Allotment of residential accommodation cannot be based purely on whims of the authorities, the Delhi High Court on Thursday ...