7.4

Table Of Contents
l ResultFile base64Binary. If Success is different than 0 or the ReturnJobFile was set to False in the initial call, no
file is returned. Otherwise, ResultFile contains the job file, as it existed at the completion of the PlanetPress Suite
process (for instance, if the process creates a PDF and sets it as the current job file, the PDF is the file that gets
returned to the calling SOAP client).
Notes
l The SubmitJob method only returns a file if the PlanetPress Suite process contains a SOAP Input task.
l If ReturnJobFile is set to true, the schedule options of the process should be set to a pooling lower than four sec-
onds, so the client application gets a timely response.
l To return the file, the process must be completed before the timeout of the server occurs. The Timeout option can be
set in your PlanetPress Suite Workflow Tools preferences.
SOAP API - PostJob
Syntax
PostJob (File, PostJobInfStruc , Username, Password) : PostJobResult
Description
The PostJob method allows users to remotely submit files to PlanetPress Suite Workflow Tools by using the Resubmit from
here feature. The main advantage of this feature is that it allows a user to specify a starting task index from which the File is
to be processed.
Parameters
l File base64Binary. This is an array of byte base64 encoded (see http://en.wikipedia.org/wiki/Base64).
l PostJobInfStruc Structure containing any required information to prepare the file for resubmission into a Plan-
etPress Suite process.
l Username String containing the username.
l Password String containing the password. This value is case sensitive.
Return Value
l PostjobResult - Structure containing the following information:
l Success Integer indicating the Success/Error level of the operation. A result of 0 means that the operation was suc-
cessful.
l Message String containing text information about the Success status.
l PostjobInfStruc See point PostJobInfoStruct for details.
Notes
l The task index can be retrieved by using the GetProcessTaskList method. See point GetProcessTaskList for details.
l The PostJob method can never return a file to the calling application.
SOAP API - GetProcessList
Syntax
Using Scripts