2022.2

Table Of Contents
l
FirstPage: Integer: first page of data to process.
l
LastPage: Integer: Last page of data to process.
Note: If both FirstPage and LastPage are set to 0, the entire data file is used.
SubmitJob
The SubmitJob method allows a user to remotely submit files to their PlanetPress Workflow from a
SOAP client. The SOAP client has the option to wait for a response file from PlanetPress Workflow
SOAP server.
Syntax
SubmitJob (File, SubmitJobInfStruc , ReturnJobFile, user name, Password) :
SubmitJobResult
Arguments
l
File base64Binary. This is an array of byte base64 encoded (see http://en.wiki-
pedia.org/wiki/Base64).
l
SubmitJobInfStruc Structure containing any required information to prepare the file for a valid
insertion into a PlanetPress Workflow process (see "SubmitJobInfStruc" on the facing page).
l
ReturnJobFile Boolean value. When true, PlanetPress Workflow SOAP server returns the job
file. When false, there no file is returned to the SOAP client. (For example: when submitting a job
for print, there is no need to return a file)
l
user name: String containing the user name.
l
Password: String containing the password. This is case sensitive.
Return Value
SubmitJobResult: Structure containing the following information:
l
Success: Integer indicating the Success/Error level of the operation. A result of 0 means the
operation was successful.
l
Message: String containing text information about the Success/Failure status.
l
SubmitJobInfStruc: Structure containing any required information to prepare the file for a valid
insertion into a PlanetPress Workflow process (see "SubmitJobInfStruc" on the facing page).
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
Page 128