This page illustrates how to achieve common EDocGen use cases by leveraging the API. This guide assumes you are already familiar with the basics of EDocGen and the API.
Populating a Certificate with dynamic text, table & Image
Marker Format
{"markers":{"entry":[{"key":"university","value":"Put value for university here."},{"key":"photoimg","value":"Put value for photoimg here."},{"key":"name","value":"Put value for name here."},{"key":"marksdata","value":"Put value for marksdata here."},{"key":"exam","value":"Put value for exam here."}]},"templateId":"54a24c6fe4b048a7e255b590"}
Marker Example
{"markers":{"entry":[{"key":"university","value":"University of Florida"},{"key":"photoimg","value":"54a24cdfe4b048a7e255b592"},{"key":"name ","value":"Steve"},{"key":"marksdata","value":"[['Physics','45'],['Astronomy','65'],['Maths','75']] "},{"key":"exam","value":"Diploma in Astro Physics"}]},"templateId":"54a24c6fe4b048a7e255b590"}
Before generation, templates & all associated images should be uploaded and ids generated.
In this example, uploaded template id: 54a24c6fe4b048a7e255b590 and the image uploaded returned the id: 54a24cdfe4b048a7e255b592