Generate (merge) documents from multiple templates
post
{BASE_URL}/v2/client/template/multi_templates/generate_doc_and_merge
Generate (merge) documents from multiple templates
REQUEST
QUERY-STRING PARAMETERS
REQUEST BODY
application/json
[
{
"template_key": "Template ID value from digio dashboard ",
"template_values": {
"sub_end_dt": "31/12/1899",
"sys_year": "2018",
"sys_month": "9",
"sys_date": "20/9/2018",
"sc_ltla": "NA",
"subv_flag": "N"
},
"images": {
"customer_photo": {
"content": "BASE64 of input image",
"length": 100000,
"width": 100000,
"type": "JPEG/PNG"
}
}
},
{
"template_key": "Template ID value from digio dashboard",
"template_values": {
"user_name": "test 2",
"user_add": "2 M.G. Road, Bangalore 560001"
}
}
]
-
template_table_values
object
-
[any-key]
array of object
type
*
enum
➔ type
Allowed: jpeg┃jpg┃png┃svg
template_key
*
string
Template ID value from digio dashboard
API Server
https://api.digio.in
Authentication
Required (None Applied)
curl -X POST "https://api.digio.in/v2/client/template/multi_templates/generate_doc_and_merge" \
-H 'accept: */*'
RESPONSE
Successfully downloaded the merged template