/
• form_PDF ( session, form )

• form_PDF ( session, form )

ü  form_PDF ( session, form )

Is a function to create a PDF from a form

Input

parameters:

session: is the session id obtained in the session_init call

form: is the ID of the form obtained by the URL or by the call form_list()

Output

parameters:

result: Is the base 64 encoded content PDF file. NOTE: It’s not compressed because PDF files are compressed by default

ErrorMsg: any fault in the call, either in the validation of input parameters, errors in the connection to the database or any other error, this parameter returns the error message produced

Request

sample:

form_PDF(‘LC000000000’, ‘99’);

Response

sample:

<?xml version="1.0" encoding="utf-8" standalone="yes"?>

<result>00011122223343444444….</result>

<ErrorMsg></ErrorMsg>

Notes: