How to Print/get Module Book content along with Table of contents into the word document using rest API query
![](http://jazz.net/_images/myphoto/b9dee3d0441d50e9249daaad3736e299.jpg)
I am able to get the all list of artifacts within a module (in the same order shown in RDNG) using API query but when I try to export the content to word document using .net code, table of contents are not generated properly in it.
But in current RDNG flat-form there is an option "Generate the document style report" to print the module content into a word document along with the table of contents.
so I would like to get this functionality using REST API in order to generate the proper reports.
Thank you very much in advance.