PostJob

Syntax
PostJob (File, PostJobInfStruc , user name, Password) : PostJobResult
Description

The PostJob method allows users 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.

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).

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.