Is there any API for doing preservation of document for Inplace preservation in IPP? If so please redirect me to the API.
The Records Management module has a "hold" features as far as I know so you may need to use that if you have documents / records that you need to preserve. It might also provide other functionality you need (which I assume since you already need preservation / holds).
There is no such API in the default Alfresco product, but you can of course use a combination of permission and/or policies to prevent any end user from doing modifications / deletions.
If you provide more details about your use case you will get more suggestions. Option provided by Axel Faust is surly the best candidate if you have similar requirements. This kind of usecase are normally used by legal department when they are going through some litigation they "hold" all their electronic records which means no further modification can be done on top of those docs and then they can also serve as a proof of record in legal action.
Yes we need the API to preserve the document inorder to help legal department. Will try the policy API's and acheive.
Retrieving data ...