XMLRPC: jobs.finish

« index

 Finish a job by uploading the result

 jobs.finish(factory_name, job, format, document)
 - factory_name (string): The name of the factory that processed the job.
 - job (string): The job ID that was returned by jobs.poll().
 - format (string): 3-letter code specifying the format of the result (pdf, png or odf).
 - document (string): Base64-encoded contents of the result document.

 Return value
 - result (string): The ID of the result

 Example request
 POST /xmlrpc HTTP/1.0
 Host: example.org
 Content-Type: text/xml
 Content-Length: 10162

 <?xml version='1.0'?>
     <param><value><string>My factory</string></value></param>
     <params><value><string>UEsDBBQA ... AAAAAA==</string></value></params>

 Example response
 HTTP/1.1 200 OK
 Content-Type: application/xml
 Content-Length: 195
 Connection: close

 <?xml version="1.0" encoding="iso-8859-1"?>