record, or there is violation of law. No writ lies merely for directing one time settlement or for directing rescheduling of the loan or for fixing instalments in connection with the loan. It is only the bank or the financial institution which granted the loan which can reschedule it or fix one time settlement or grant instalments. The Court has no right under Article 226 of the Constitution to direct grant of one time settlement or for re-scheduling of the loan, or to fix instalments. No doubt Article 226 on its plain language states that a writ can be used by the High Court for enforcing a fundamental right or for 'any other purpose'. However, by judicial interpretation the words 'any other purpose' have been interpreted to mean the enforcement of any legal right or performance of any legal duty, vide Calcutta Gas Co. v. State of West Bengal, AIR 1963 SC 1044. In the present case, the writ petitioner has really prayed for a Mandamus to the Corporation to grant it a one time settlement, but no violation of any law has been pointed out. In our opinion, no such mandamus can be issued in this case, and hence the writ petition should not have been entertained. A mandamus is issued only when the petitioner can show that he has a legal right to the performance of a public duty by the party against whom the mandamus is sought. 16. A loan is granted in terms of the contract, and grant of one time settlement or re-scheduling of the loan amount is really a modification of the contract, which can only be done by mutual consent of the parties, vide Section 62 of the Contract Act, 1872. The Court cannot alter the terms of the contract.