SubmitAsync

The job SubmitAsync takes the following parameters:

  • Service

    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.

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

  • SubmitResult

    Contains the answer of KCM Core to the Web Service request. It can contain output files to store files sent by KCM Core and a string returned by KCM Core, such as for error messages.

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

SubmitAsync responds with OK if execution of the job was scheduled successfully; otherwise, an error indication is returned. If the job is finished, the results are posted to the URL mentioned in the parameter ResultPath.