rest api call taddm and generate excel file