SubmitAsyncEx2

The SubmitAsyncEx2 job takes the same parameters as the SubmitEx2 job except the job is submitted asynchronously. As the job is submitted asynchronously, the call also needs the CorrelationID parameter and the ReturnPath parameter.

The job takes the following parameters:

  • Service

    This is the name of the Service the job is submitted to such as RunMdl.

  • Parameters

    The parameters for the job. They are passed as a string to the Web Services interface.

  • Key/value pairs

    Array of key/value pairs that are used for the function exchange_data.

  • Input files

    Input files to send files to KCM Core that you can collect with the ReceiveFile command. The content of the file as well as an ID are passed. KCM Core can use this ID to collect the file.

  • JobID

    The job runs on KCM Core with this ID. If no job ID is passed on, the Web Service API uses a unique ID, so you can track your job in the KCM Core logs.

  • SessionID

    The job runs on KCM Core within the context of the KCM session indicated by SessionID. If no valid SessionID is passed on, KCM Core executes the job.

  • CorrelationID

    This unique identifier is returned by the Web Services API as part of the returned SOAP message when a job is finished, so the calling application knows which task has finished.

  • ReturnPath

    The URL to which the SOAP message is sent after the Web Services API finishes its task.