equitable in nature and thus, its issuance is governed by equitable principles. Refusal of relief must be for reasons which would lead to injustice. The prime consideration for the issuance of the said writ is, whether or not substantial justice will be promoted. Furthermore, while granting such a writ, the court must make every effort to ensure from the averments of the writ petition, whether there exist proper pleadings. In order to maintain the writ of mandamus, the first and foremost requirement is that the petition must not be frivolous, and must be filed in good faith . Additionally, the applicant must make a demand which is clear, plain and unambiguous. It must be made to an officer having the requisite authority to perform the act demanded. Furthermore, the authority against whom mandamus is issued, should have rejected the demand earlier. Therefore, a demand and its subsequent refusal, either by words, or by conduct, are necessary to satisfy the court that the opposite party is determined to ignore the demand of the applicant with respect to the enforcement of his legal right. However, a demand may not be necessary when the same is manifest from the facts of the case, that is, when it is an empty formality, or when it is obvious that the opposite party would not consider the demand.