This is an old revision of the document!
Use this function to retrieve the logs of a template file
Name | Mandatory | Default | Description |
---|---|---|---|
output_format | No | REST | JSON to retrieve response in JSON_Response_Format or REST to retrieve in REST_Response_Format |
Lead.type | Yes | Type of lead (2=Web or 4=Telephone) |
Code | Description |
---|---|
111 | One mandatory parameter is missing |
119 | Wrong parameter values |
<#get_wwwfile_logs filename="/templates/maintemplates/maintemplate.html" output_format="JSON">
will output
{"stat":"ok", "logentry":[{"revision":"8993", "author":"www.arkadia.com", "date":""}