GetJobResult Method of WebService Object (Web Services API)

This method allows you to get the xml-result of successfully completed or failed job that was started before in asynchronous mode via method StartProcessFile or StartProcessTicket.

Note. This method deletes the job and the files from the server. Consequently, if a value other than null is returned, you will not be able to call the method again for the same job.  

To get the result of processed job with the ability to set up the behavior of the method, use GetJobResultEx.

C# Syntax

XmlResult GetJobResult(
 string serverLocation,
 string jobId,
 string resultLocation
);

Parameters

serverLocation

This parameter contains the DNS name of the server or its IP address.

jobId

This parameter contains the unique ID (GUID) the job that was previously created in asynchronous mode

resultLocation *

This parameter contains the complete path to the folder where the output files will be saved.

*  Optional parameter.

Return Value

An XmlResult variable that receives the XmlResult object or null if he job has not yet been processed or has not been found.

See also

WebService

26.03.2024 13:49:49

Please leave your feedback about this article

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.