PostJob
The PostJob method allows a user (a SOAP client) to remotely submit files to PlanetPress Workflow 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.
Syntax
PostJob (File, PostJobInfStruc , user name, Password) : PostJobResult
Description
Parameters
- File: base64Binary. This is an array of byte base64 encoded (see http://en.wikipedia.org/wiki/Base64).
- PostJobInfStruc: Structure containing any required information to prepare the file for resubmission into a PlanetPress Workflow process (see PostJobInfoStruc).
- User name: String containing the user name.
- Password: String containing the password. This is case sensitive.
Return Value
PostjobResult: Structure containing the following information:
- Success: Integer indicating the system-defined Success/Error level of the operation. A result of 0 means that the operation was successful.
- Message: String containing text information about the Success status.
- PostjobInfStruc: Structure containing any required information to prepare the file for resubmission into a PlanetPress Workflow process (see PostJobInfoStruc).
Note:
- The task index can be retrieved by using the GetProcessTaskList method. See point GetProcessTaskList for details.
- The PostJob method can never return a file to the calling application.